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/
n12http://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#
n13http://rdfs.org/sioc/services#
siocthttp://rdfs.org/sioc/types#
n11http://vos.openlinksw.com/dataspace/person/dav#
n4http://vos.openlinksw.com/dataspace/owiki/wiki/
rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#
n5http://vos.openlinksw.com/dataspace/owiki#
n8http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtJenaSPARQLExample11/sioc.
xsdhhttp://www.w3.org/2001/XMLSchema#
n10http://vos.openlinksw.com/dataspace/person/owiki#
siochttp://rdfs.org/sioc/ns#
Subject Item
n11:this
foaf:made
n2:VirtJenaSPARQLExample11
Subject Item
n18:this
sioc:creator_of
n2:VirtJenaSPARQLExample11
Subject Item
n12:item
n13:services_of
n2:VirtJenaSPARQLExample11
Subject Item
n5:this
sioc:creator_of
n2:VirtJenaSPARQLExample11
Subject Item
n4:VOS
sioc:container_of
n2:VirtJenaSPARQLExample11
atom:entry
n2:VirtJenaSPARQLExample11
atom:contains
n2:VirtJenaSPARQLExample11
Subject Item
n2:VirtJenaSPARQLExample11
rdf:type
sioct:Comment atom:Entry
dcterms:created
2017-06-13T05:36:28.287845
dcterms:modified
2017-06-13T05:36:28.287845
rdfs:label
VirtJenaSPARQLExample11
foaf:maker
n10:this n11:this
dc:title
VirtJenaSPARQLExample11
opl:isDescribedUsing
n8:rdf
sioc:has_creator
n5:this n18:this
sioc:content
%VOSWARNING% %META:TOPICPARENT{name="VirtJenaProvider"}% ---+ Virtuoso Jena Provider - SPARQL Example 11 <verbatim> import com.hp.hpl.jena.query.*; import com.hp.hpl.jena.rdf.model.*; import com.hp.hpl.jena.query.DataSource; import com.hp.hpl.jena.util.iterator.*; import com.hp.hpl.jena.graph.*; import com.hp.hpl.jena.graph.test.*; import java.util.*; import virtuoso.jena.driver.*; public class VirtuosoSPARQLExample11 { /** * Executes a SPARQL query against a virtuoso url and prints results. */ public static void main(String[] args) { String url; if(args.length == 0) url = "jdbc:virtuoso://localhost:1111"; else url = args[0]; /* STEP 1 */ VirtDataSource ds = new VirtDataSource(url, "dba", "dba"); Model md = ds.getNamedModel("gr"); Statement st; st = statement( md, "D E F" ); md.add(st); st = statement( md, "A B C" ); md.add(st); StmtIterator it = md.listStatements(); while(it.hasNext()) { st = it.nextStatement(); System.out.println(st); } } public static Statement statement( Model m, String fact ) { StringTokenizer st = new StringTokenizer( fact ); Resource sub = resource( m, st.nextToken() ); Property pred = property( m, st.nextToken() ); RDFNode obj = rdfNode( m, st.nextToken() ); return m.createStatement( sub, pred, obj ); } public static Resource resource( Model m, String s ) { return (Resource) rdfNode( m, s ); } public static Property property( Model m, String s ) { return (Property) rdfNode( m, s ).as( Property.class ); } public static RDFNode rdfNode( Model m, String s ) { return m.asRDFNode( NodeCreateUtils.create( m, s ) ); } } </verbatim>
sioc:id
a3f28eade0190893151b72d8b1231f9c
sioc:link
n2:VirtJenaSPARQLExample11
sioc:has_container
n4:VOS
n13:has_services
n12:item
atom:title
VirtJenaSPARQLExample11
atom:source
n4:VOS
atom:author
n11:this
atom:published
2017-06-13T05:36:28Z
atom:updated
2017-06-13T05:36:28Z
sioc:topic
n4:VOS