Package org.wikier.trioo.jtrioo.rdf

Examples of org.wikier.trioo.jtrioo.rdf.Literal


      //FIXME: cascade
    } else {
      if (obj.toString().startsWith("http://") || obj.toString().startsWith("mailto:")) {
        this.query.addTriplePattern(new TriplePattern(subject, arc.getProperty(), new URIRef(obj.toString())));
      } else {
        this.query.addTriplePattern(new TriplePattern(subject, arc.getProperty(), new Literal(obj, arc.getLang(), arc.getDatatype())));
      }
    }
  }
View Full Code Here


    if (term instanceof Property) {
      Property property = (Property)term;
      curie = property.getType();
    }
    if (term instanceof Literal) {
      Literal literal = (Literal)term;
      curie = literal.getDatatype();
    }
    //FIXME: more?
   
    if (curie != null) {
      String label = curie.getPrefix();
View Full Code Here

TOP

Related Classes of org.wikier.trioo.jtrioo.rdf.Literal

Copyright © 2018 www.massapicom. 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.