Package org.ontoware.rdf2go.impl.jena26

Examples of org.ontoware.rdf2go.impl.jena26.ModelImplJena26.addStatement()


     * example
     */
    // _:blankNodeWerner
    // <http://xmlns.com/foaf/0.1/homepage>
    // <http://www.blue-agents.com> .
    model.addStatement(werner, foafHomepage, model.createURI("http://www.blue-agents.com"));
    // _:blankNodeWerner
    // <http://xmlns.com/foaf/0.1/title>
    // "Mr" .
    model.addStatement(werner, foafTitle, "Mr");
    // _:blankNodeWerner
View Full Code Here


    // <http://www.blue-agents.com> .
    model.addStatement(werner, foafHomepage, model.createURI("http://www.blue-agents.com"));
    // _:blankNodeWerner
    // <http://xmlns.com/foaf/0.1/title>
    // "Mr" .
    model.addStatement(werner, foafTitle, "Mr");
    // _:blankNodeWerner
    // <http://xmlns.com/foaf/0.1/name>
    // "Werner Thiemann" .
    model.addStatement(werner, foafName, "Werner Thiemann");
   
View Full Code Here

    // "Mr" .
    model.addStatement(werner, foafTitle, "Mr");
    // _:blankNodeWerner
    // <http://xmlns.com/foaf/0.1/name>
    // "Werner Thiemann" .
    model.addStatement(werner, foafName, "Werner Thiemann");
   
    // _:blankNodeWerner
    // <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
    // <http://xmlns.com/foaf/0.1/Person> .
    model.addStatement(werner, RDF.type, foafPerson);
View Full Code Here

    model.addStatement(werner, foafName, "Werner Thiemann");
   
    // _:blankNodeWerner
    // <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
    // <http://xmlns.com/foaf/0.1/Person> .
    model.addStatement(werner, RDF.type, foafPerson);
   
    BlankNode max = model.createBlankNode();
    // _:blankNodeMax
    // <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
    // <http://xmlns.com/foaf/0.1/Person> .
View Full Code Here

   
    BlankNode max = model.createBlankNode();
    // _:blankNodeMax
    // <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
    // <http://xmlns.com/foaf/0.1/Person> .
    model.addStatement(max, RDF.type, foafPerson);
    // _:blankNodeMax
    // <http://xmlns.com/foaf/0.1/name>
    // "Max Voelkel" .
    model.addStatement(max, foafName, "Max V�lkel");
    // _:blankNodeMax
View Full Code Here

    // <http://xmlns.com/foaf/0.1/Person> .
    model.addStatement(max, RDF.type, foafPerson);
    // _:blankNodeMax
    // <http://xmlns.com/foaf/0.1/name>
    // "Max Voelkel" .
    model.addStatement(max, foafName, "Max V�lkel");
    // _:blankNodeMax
    // <http://www.w3.org/2000/01/rdf-schema#seeAlso>
    // <http://www.aifb.uni-karlsruhe.de/WBS/mvo/foaf.rdf.xml> .
    model.addStatement(max, RDFS.seeAlso, model.createURI("http://www.xam.de/foaf.rdf.xml"));
   
View Full Code Here

    // "Max Voelkel" .
    model.addStatement(max, foafName, "Max V�lkel");
    // _:blankNodeMax
    // <http://www.w3.org/2000/01/rdf-schema#seeAlso>
    // <http://www.aifb.uni-karlsruhe.de/WBS/mvo/foaf.rdf.xml> .
    model.addStatement(max, RDFS.seeAlso, model.createURI("http://www.xam.de/foaf.rdf.xml"));
   
    // link via foaf:knows
    // _:blankNodeWerner
    // <http://xmlns.com/foaf/0.1/knows>
    // _:blankNodeMax.
View Full Code Here

   
    // link via foaf:knows
    // _:blankNodeWerner
    // <http://xmlns.com/foaf/0.1/knows>
    // _:blankNodeMax.
    model.addStatement(werner, foafKnows, max);
   
    // default dump
    DumpUtils.dump(model, null);
   
    // queries
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.