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/
n15http://vos.openlinksw.com/dataspace/services/wiki/
oplhttp://www.openlinksw.com/schema/attribution#
n4http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/
dchttp://purl.org/dc/elements/1.1/
n16http://vos.openlinksw.com/dataspace/dav#
rdfshttp://www.w3.org/2000/01/rdf-schema#
n14http://rdfs.org/sioc/services#
siocthttp://rdfs.org/sioc/types#
n12http://vos.openlinksw.com/dataspace/person/dav#
n6http://vos.openlinksw.com/dataspace/owiki/wiki/
rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#
n2http://vos.openlinksw.com/dataspace/owiki#
xsdhhttp://www.w3.org/2001/XMLSchema#
n10http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtJenaSPARQLExample2/sioc.
n18http://vos.openlinksw.com/dataspace/person/owiki#
siochttp://rdfs.org/sioc/ns#
Subject Item
n12:this
foaf:made
n4:VirtJenaSPARQLExample2
Subject Item
n16:this
sioc:creator_of
n4:VirtJenaSPARQLExample2
Subject Item
n15:item
n14:services_of
n4:VirtJenaSPARQLExample2
Subject Item
n2:this
sioc:creator_of
n4:VirtJenaSPARQLExample2
Subject Item
n6:VOS
sioc:container_of
n4:VirtJenaSPARQLExample2
atom:entry
n4:VirtJenaSPARQLExample2
atom:contains
n4:VirtJenaSPARQLExample2
Subject Item
n4:VirtJenaSPARQLExample2
rdf:type
atom:Entry sioct:Comment
dcterms:created
2017-06-13T05:45:20.596469
dcterms:modified
2017-06-13T05:45:20.596469
rdfs:label
VirtJenaSPARQLExample2
foaf:maker
n12:this n18:this
dc:title
VirtJenaSPARQLExample2
opl:isDescribedUsing
n10:rdf
sioc:has_creator
n2:this n16:this
sioc:content
%META:TOPICPARENT{name="VirtJenaProvider"}% %VOSWARNING% ---+ Virtuoso Jena Provider - SPARQL Example 2 <verbatim> import com.hp.hpl.jena.query.*; import com.hp.hpl.jena.rdf.model.RDFNode; import virtuoso.jena.driver.*; public class VirtuosoSPARQLExample2 { /** * 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 */ VirtGraph graph = new VirtGraph ("Example2", url, "dba", "dba"); /* STEP 2 */ /* Load data to Virtuoso */ graph.clear (); System.out.print ("Begin read from 'http://www.w3.org/People/Berners-Lee/card#i' "); graph.read("http://www.w3.org/People/Berners-Lee/card#i", "RDF/XML"); System.out.println ("\t\t\t Done."); System.out.print ("Begin read from 'http://demo.openlinksw.com/dataspace/person/demo#this' "); graph.read("http://demo.openlinksw.com/dataspace/person/demo#this", "RDF/XML"); System.out.println ("\t Done."); System.out.print ("Begin read from 'http://kidehen.idehen.net/dataspace/person/kidehen#this' "); graph.read("http://kidehen.idehen.net/dataspace/person/kidehen#this", "RDF/XML"); System.out.println ("\t Done."); /* STEP 3 */ /* Select only from VirtGraph */ Query sparql = QueryFactory.create("SELECT ?s ?p ?o WHERE { ?s ?p ?o }"); /* STEP 4 */ VirtuosoQueryExecution vqe = VirtuosoQueryExecutionFactory.create (sparql, graph); ResultSet results = vqe.execSelect(); while (results.hasNext()) { QuerySolution result = results.nextSolution(); RDFNode graph_name = result.get("graph"); RDFNode s = result.get("s"); RDFNode p = result.get("p"); RDFNode o = result.get("o"); System.out.println(graph_name + " { " + s + " " + p + " " + o + " . }"); } System.out.println("graph.getCount() = " + graph.getCount()); } } </verbatim>
sioc:id
2852f31c14aaf3f48b0d53a3f67d551d
sioc:link
n4:VirtJenaSPARQLExample2
sioc:has_container
n6:VOS
n14:has_services
n15:item
atom:title
VirtJenaSPARQLExample2
atom:source
n6:VOS
atom:author
n12:this
atom:published
2017-06-13T05:45:20Z
atom:updated
2017-06-13T05:45:20Z
sioc:topic
n6:VOS