Package org.wymiwyg.rdf.graphs

Examples of org.wymiwyg.rdf.graphs.LiteralNode


  private FunctionallyGroundedNode functionalyze(NamedNode node) {
    FunctionallyGroundedNodeImpl result = new FunctionallyGroundedNodeImpl();
    Node afgn = new NodeImpl();
    SimpleNonTerminalMolecule molecule = new SimpleNonTerminalMolecule(afgn);
    String uriString = node.getURIRef();
    LiteralNode uriLit = new TypedLiteralNodeImpl(uriString, anyURIDataType);
    Triple triple = new TripleImpl(afgn, nameProp, uriLit);
    molecule.add(triple);
    molecule.markFinalized();
    result.addMolecule(molecule);
    result.markFinalized();
View Full Code Here


   * @param replaceMap2
   */
  private void addNameStmts() {
    for (Entry<NamedNode, Node> entry : replaceMap.entrySet()) {
      String uriString = entry.getKey().getURIRef();
      LiteralNode uriLit = new TypedLiteralNodeImpl(uriString, anyURIDataType);
      triples.add(new TripleImpl(entry.getValue(), nameProp, uriLit));
    }
   
  }
View Full Code Here

TOP

Related Classes of org.wymiwyg.rdf.graphs.LiteralNode

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.