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

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

PrefixNamespace IRI
n20http://bit.ly/
dctermshttp://purl.org/dc/terms/
atomhttp://atomowl.org/ontologies/atomrdf#
foafhttp://xmlns.com/foaf/0.1/
n11http://vos.openlinksw.com/dataspace/services/wiki/
oplhttp://www.openlinksw.com/schema/attribution#
n2http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/
n15http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtTipsAndTricksSPARQL11Add/sioc.
n6http://virtuoso.openlinksw.com/tutorials/sparql/SPARQL_Tutorials_Part_9/SPARQL_Tutorials_Part_9.
n21http://docs.openlinksw.com/virtuoso/rdfsparql.
dchttp://purl.org/dc/elements/1.1/
n5http://www.w3.org/TR/rdf-sparql-protocol/
n9http://vos.openlinksw.com/dataspace/dav#
rdfshttp://www.w3.org/2000/01/rdf-schema#
n10http://rdfs.org/sioc/services#
siocthttp://rdfs.org/sioc/types#
n18http://vos.openlinksw.com/dataspace/person/dav#
n7http://vos.openlinksw.com/dataspace/owiki/wiki/
rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#
n4http://vos.openlinksw.com/dataspace/owiki#
xsdhhttp://www.w3.org/2001/XMLSchema#
n19http://www.w3.org/TR/2012/PR-sparql11-update-20121108/#
n17http://vos.openlinksw.com/dataspace/person/owiki#
siochttp://rdfs.org/sioc/ns#
Subject Item
n18:this
foaf:made
n2:VirtTipsAndTricksSPARQL11Add
Subject Item
n9:this
sioc:creator_of
n2:VirtTipsAndTricksSPARQL11Add
Subject Item
n11:item
n10:services_of
n2:VirtTipsAndTricksSPARQL11Add
Subject Item
n4:this
sioc:creator_of
n2:VirtTipsAndTricksSPARQL11Add
Subject Item
n7:VOS
sioc:container_of
n2:VirtTipsAndTricksSPARQL11Add
atom:entry
n2:VirtTipsAndTricksSPARQL11Add
atom:contains
n2:VirtTipsAndTricksSPARQL11Add
Subject Item
n2:VirtTipsAndTricksSPARQL11Add
rdf:type
atom:Entry sioct:Comment
dcterms:created
2017-06-13T05:37:44.016849
dcterms:modified
2017-06-29T07:41:43.379130
rdfs:label
VirtTipsAndTricksSPARQL11Add
foaf:maker
n17:this n18:this
dc:title
VirtTipsAndTricksSPARQL11Add
opl:isDescribedUsing
n15:rdf
sioc:has_creator
n4:this n9:this
sioc:content
%META:TOPICPARENT{name="VirtTipsAndTricksSPARQL11FeaturesExamplesCollection"}% ---+Virtuoso SPARQL 1.1. ADD Usage Examples %TOC% ---++What? This guide contains Virtuoso SPARQL 1.1. ADD Usage examples queries which you can run against any SPARQL endpoint that supports SPARQL 1.1 and the ability to allow a verified user perform INSERT operations. ---++Why? Use as shortcut for inserting all data from an input graph into a destination graph. <b>Note</b> that the original content in the destination graph if any, is kept intact. ---++How? Here are some examples showcasing Virtuoso's support for this functionality: ---+++ADD Example This example adds all triples from a named graph identified by the IRI &lt;urn:sparql:tests:add:data&gt; to a named graph identified by the IRI &lt;urn:sparql:tests:add2:data&gt; 1 Assume the following Raw Data Representation in Turtle: <verbatim> <http://example/william> a <http://xmlns.com/foaf/0.1/Person> ; <http://xmlns.com/foaf/0.1/givenName> "William" ; <http://xmlns.com/foaf/0.1/mbox> <mailto:bill@example> . </verbatim> 1 Load the sample data into &lt;urn:sparql:tests:add:data&gt;: <verbatim> INSERT DATA { GRAPH <urn:sparql:tests:add:data> { <http://example/william> a <http://xmlns.com/foaf/0.1/Person> ; <http://xmlns.com/foaf/0.1/givenName> "William" ; <http://xmlns.com/foaf/0.1/mbox> <mailto:bill@example> . } } </verbatim> 1 Query graph &lt;urn:sparql:tests:add:data&gt; data: <verbatim> SELECT * FROM <urn:sparql:tests:add:data> WHERE { ?s ?p ?o } </verbatim> * [[http://bit.ly/13LBF5y][View the SPARQL Query Definition via SPARQL Protocol URL]]; * [[http://bit.ly/XmhkRB][View the SPARQL Query Results via SPARQL Protocol URL]] 1 Assume the following Raw Data Representation in Turtle: <verbatim> <http://example/fred> a <http://xmlns.com/foaf/0.1/Person> . </verbatim> 1 Load the sample data into &lt;urn:sparql:tests:add2:data&gt;: <verbatim> INSERT DATA { GRAPH <urn:sparql:tests:add2:data> { <http://example/fred> a <http://xmlns.com/foaf/0.1/Person> . } } </verbatim> 1 Query graph &lt;urn:sparql:tests:add2:data&gt; data: <verbatim> SELECT * FROM <urn:sparql:tests:add2:data> WHERE { ?s ?p ?o } </verbatim> * [[http://bit.ly/14IFvfr][View the SPARQL Query Definition via SPARQL Protocol URL]]; * [[http://bit.ly/14AahH9][View the SPARQL Query Results via SPARQL Protocol URL]] 1 Add all triples from &lt;urn:sparql:tests:add:data&gt; to &lt;urn:sparql:tests:add2:data&gt; <verbatim> ADD GRAPH <urn:sparql:tests:add:data> TO <urn:sparql:tests:add2:data>; </verbatim> 1 Equivalent variant is: <verbatim> INSERT { GRAPH <urn:sparql:tests:add2:data> { ?s ?p ?o } } WHERE { GRAPH <urn:sparql:tests:add:data> { ?s ?p ?o } } </verbatim> 1 Query graph &lt;urn:sparql:tests:add2:data&gt; data: <b>Note</b> that the original content in &lt;urn:sparql:tests:add2:data&gt; is kept intact by the <code>ADD</code> operation: <verbatim> SELECT * FROM <urn:sparql:tests:add2:data> WHERE { ?s ?p ?o } </verbatim> * [[http://bit.ly/14IFvfr][View the SPARQL Query Definition via SPARQL Protocol URL]]; * [[http://bit.ly/14AahH9][View the SPARQL Query Results via SPARQL Protocol URL]] ---++Related * [[http://www.w3.org/TR/2012/PR-sparql11-update-20121108/#add][SPARQL 1.1 ADD]] * [[VirtTipsAndTricksGuideRenameGraph][Rename RDF Graph Example]] * [[http://www.w3.org/TR/rdf-sparql-protocol/][SPARQL Protocol (HTTP based Query Service)]] * [[VirtTipsAndTricksGuide][Virtuoso Tips and Tricks Collection]] * [[VirtTipsAndTricksSPARQL11FeaturesExamplesCollection][Virtuoso SPARQL 1.1 Usage Examples Collection]] * [[http://virtuoso.openlinksw.com/tutorials/sparql/SPARQL_Tutorials_Part_9/SPARQL_Tutorials_Part_9.html][Virtuoso SPARQL 1.1 Syntax Tutorial]] * [[http://docs.openlinksw.com/virtuoso/rdfsparql.html][Virtuoso Documentation]]
sioc:id
6402de54cdb4e33211decf816de0fbfb
sioc:link
n2:VirtTipsAndTricksSPARQL11Add
sioc:has_container
n7:VOS
n10:has_services
n11:item
atom:title
VirtTipsAndTricksSPARQL11Add
sioc:links_to
n5: n6:html n2:VirtTipsAndTricksSPARQL11FeaturesExamplesCollection n19:add n20:14IFvfr n20:14AahH9 n21:html n20:13LBF5y n20:XmhkRB n2:VirtTipsAndTricksGuideRenameGraph
atom:source
n7:VOS
atom:author
n18:this
atom:published
2017-06-13T05:37:44Z
atom:updated
2017-06-29T07:41:43Z
sioc:topic
n7:VOS