This HTML5 document contains 29 embedded RDF statements represented using HTML+Microdata notation.

The embedded RDF content will be recognized by any processor of HTML5 Microdata.

PrefixNamespace IRI
dctermshttp://purl.org/dc/terms/
atomhttp://atomowl.org/ontologies/atomrdf#
foafhttp://xmlns.com/foaf/0.1/
n9http://vos.openlinksw.com/dataspace/services/wiki/
oplhttp://www.openlinksw.com/schema/attribution#
n2http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/
dchttp://purl.org/dc/elements/1.1/
n18http://vos.openlinksw.com/dataspace/dav#
rdfshttp://www.w3.org/2000/01/rdf-schema#
n14http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtJenaSPARQLExample3/sioc.
n8http://rdfs.org/sioc/services#
n7http://vos.openlinksw.com/dataspace/person/dav#
siocthttp://rdfs.org/sioc/types#
n4http://vos.openlinksw.com/dataspace/owiki/wiki/
rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#
n11http://vos.openlinksw.com/dataspace/owiki#
xsdhhttp://www.w3.org/2001/XMLSchema#
n16http://vos.openlinksw.com/dataspace/person/owiki#
siochttp://rdfs.org/sioc/ns#
Subject Item
n7:this
foaf:made
n2:VirtJenaSPARQLExample3
Subject Item
n18:this
sioc:creator_of
n2:VirtJenaSPARQLExample3
Subject Item
n9:item
n8:services_of
n2:VirtJenaSPARQLExample3
Subject Item
n11:this
sioc:creator_of
n2:VirtJenaSPARQLExample3
Subject Item
n4:VOS
sioc:container_of
n2:VirtJenaSPARQLExample3
atom:entry
n2:VirtJenaSPARQLExample3
atom:contains
n2:VirtJenaSPARQLExample3
Subject Item
n2:VirtJenaSPARQLExample3
rdf:type
sioct:Comment atom:Entry
dcterms:created
2017-06-13T05:42:17.381975
dcterms:modified
2017-06-13T05:42:17.381975
rdfs:label
VirtJenaSPARQLExample3
foaf:maker
n7:this n16:this
dc:title
VirtJenaSPARQLExample3
opl:isDescribedUsing
n14:rdf
sioc:has_creator
n11:this n18:this
sioc:content
%META:TOPICPARENT{name="VirtJenaProvider"}% %VOSWARNING% ---+ Virtuoso Jena Provider - SPARQL Example 3 <verbatim> import java.util.*; import com.hp.hpl.jena.query.*; import com.hp.hpl.jena.rdf.model.RDFNode; import com.hp.hpl.jena.graph.Node; import com.hp.hpl.jena.graph.Triple; import virtuoso.jena.driver.*; public class VirtuosoSPARQLExample3 { public static void main(String[] args) { String url; if(args.length == 0) url = "jdbc:virtuoso://localhost:1111"; else url = args[0]; Node foo1 = Node.createURI("http://example.org/#foo1"); Node bar1 = Node.createURI("http://example.org/#bar1"); Node baz1 = Node.createURI("http://example.org/#baz1"); Node foo2 = Node.createURI("http://example.org/#foo2"); Node bar2 = Node.createURI("http://example.org/#bar2"); Node baz2 = Node.createURI("http://example.org/#baz2"); Node foo3 = Node.createURI("http://example.org/#foo3"); Node bar3 = Node.createURI("http://example.org/#bar3"); Node baz3 = Node.createURI("http://example.org/#baz3"); List <Triple> triples = new ArrayList <Triple> (); VirtGraph graph = new VirtGraph ("Example3", url, "dba", "dba"); graph.clear (); System.out.println("graph.isEmpty() = " + graph.isEmpty()); System.out.println("Add 3 triples to graph <Example3>."); graph.add(new Triple(foo1, bar1, baz1)); graph.add(new Triple(foo2, bar2, baz2)); graph.add(new Triple(foo3, bar3, baz3)); System.out.println("graph.isEmpty() = " + graph.isEmpty()); System.out.println("graph.getCount() = " + graph.getCount()); triples.add(new Triple(foo1, bar1, baz1)); triples.add(new Triple(foo2, bar2, baz2)); graph.isEmpty(); System.out.println("Remove 2 triples from graph <Example3>"); graph.remove(triples); System.out.println("graph.getCount() = " + graph.getCount()); System.out.println("Please check result with isql tool."); /* EXPECTED RESULT: SQL> sparql select ?s ?p ?o from <Example3> where {?s ?p ?o}; s p o VARCHAR VARCHAR VARCHAR _______________________________________________________________________________ http://example.org/#foo3 http://example.org/#bar3 http://example.org/#baz3 1 Rows. -- 26 msec. SQL> */ } } </verbatim>
sioc:id
2831c7a3581a85fd0781947547dd0bca
sioc:link
n2:VirtJenaSPARQLExample3
sioc:has_container
n4:VOS
n8:has_services
n9:item
atom:title
VirtJenaSPARQLExample3
atom:source
n4:VOS
atom:author
n7:this
atom:published
2017-06-13T05:42:17Z
atom:updated
2017-06-13T05:42:17Z
sioc:topic
n4:VOS