resource.addProperty(arc);
}
private static void extractLiteral(RDFMetaResource resource, String name, Class<?> type, Literal literal) {
logger.debug("Extracted literal '" + literal.type() + "' for the attribute '" + type + " " + name + "'");
Arc arc = new Arc(new Property(literal.type()), name, type);
//arc.setMultivalued(literal.multivalued());
arc.setOptional(literal.optional());
arc.setLang(literal.lang());
arc.setDatatype(literal.datatype());
resource.addProperty(arc);