Examples of TripleImpl


Examples of org.wymiwyg.rdf.graphs.impl.TripleImpl

    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();
    result.notifyAllFinalized();
View Full Code Here

Examples of org.wymiwyg.rdf.graphs.impl.TripleImpl

    }
    Node object = origTriple.getObject();
    if (object instanceof GroundedNode) {
      object = functionalyze((GroundedNode)object);
    }
    Triple newTriple = new TripleImpl(subject, origTriple.getPredicate(), object);
    result.add(newTriple);
    return result;
  }
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.