Examples of rdfType()


Examples of de.fuberlin.wiwiss.d2rq.sql.types.DataType.rdfType()

    if (generateDefinitionLabels) {
      this.out.println("\td2rq:propertyDefinitionLabel \"" + toLabel(column) + "\";");
    }
    this.out.println("\td2rq:column \"" + column.qualifiedName() + "\";");
    DataType colType = this.schema.columnType(column);
    String xsd = colType.rdfType();
    if (xsd != null && !"xsd:string".equals(xsd)) {
      // We use plain literals instead of xsd:strings, so skip
      // this if it's an xsd:string
      this.out.println("\td2rq:datatype " + xsd + ";");
    }
View Full Code Here

Examples of org.wikier.trioo.jtrioo.annotations.RdfResource.rdftype()

    } catch (IllegalArgumentException e) {
      logger.error("Invalid URI definition for " + resourceClass.getCanonicalName() + ", so resources of this class will be blank nodes: " + e);
    }
   
    //rdf:type
    resource.setRdfType(classResource.rdftype());
   
    //properties on fields
    for (Field field : resourceClass.getDeclaredFields()) {
      AnnotatedElement annotatedElement = (AnnotatedElement) field;
      RdfProperty propertyResource = annotatedElement.getAnnotation(RdfProperty.class);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.