- From: Kingsley Idehen <kidehen@openlinksw.com>
- Date: Fri, 29 Mar 2013 10:33:52 -0400
- To: public-rww@w3.org
- Message-ID: <5155A650.10005@openlinksw.com>
On 3/29/13 10:18 AM, Kingsley Idehen wrote: > On 3/29/13 9:59 AM, Melvin Carvalho wrote: >> The SPARQL Working Group has completed development of its >> full-featured system for querying and managing data using the >> flexible RDF data model. It has now published eleven Recommendations >> for SPARQL 1.1, detailed in SPARQL 1.1 Overview. SPARQL 1.1 extends >> the 2008 Recommendation for SPARQL 1.0 by adding features to the >> query language such as aggregates, subqueries, negation, property >> paths, and an expanded set of functions and operators. Beyond the >> query language, SPARQL 1.1 adds other features that were widely >> requested, including update, service description, a JSON results >> format, and support for entailment reasoning. >> >> http://www.w3.org/blog/SW/2013/03/21/eleven-sparql-1-1-specifications-are-w3c-recommendations/ >> > > SPARQL Update is very important to this community group. It basically > means you can perform the following sequences of commands against a > SPARQL endpoint (subject to endpoint ACLs): > > # copy graph <urn:sparql:11:qa:tests:data> to graph > <urn:sparql:11:qa:tests2:data> > # move graph <urn:sparql:11:qa:tests:data> to graph > <urn:sparql:11:qa:tests3:data> > # Verify using: > # select * from <urn:sparql:11:qa:tests:data> where {?s ?p ?o} > # no records == verified > # select * from <urn:sparql:11:qa:tests3:data> where {?s ?p ?o} > # one or more records == verified. > # Add new records to the empty graph <urn:sparql:11:qa:tests:data> using: > # insert into graph <urn:sparql:11:qa:tests:data> {<#kidehen> > owl:sameAs<http://kingsley.idehen.net/dataspace/person/kidehen#this>} > # add data from graph <urn:sparql:11:qa:tests:data> to graph > <urn:sparql:11:qa:tests3:data> using: > # add graph <urn:sparql:11:qa:tests:data> to graph > <urn:sparql:11:qa:tests3:data> > # select * from <urn:sparql:11:qa:tests3:data> where {?s ?p ?o} > # two or more records == verified. > > Revision as I left out the very beginning of the sequence: # Cleanup by Dropping an existing named graph in your data space using: # drop graph <urn:sparql:11:qa:tests:data> # Create a named graph for holding your data using: # create graph <urn:sparql:11:qa:tests:data> # Add some data (in triple statement form) using: # insert {graph <urn:sparql:11:qa:tests:data> {<#doc> a foaf:Document; foaf:primaryTopic <http://kingsley.idehen.net/dataspace/person/kidehen#this> }} # Copy the data to another named graph in the same data space using: # copy graph <urn:sparql:11:qa:tests:data> to graph <urn:sparql:11:qa:tests2:data> # Move data between named graphs in the same data space using: # move graph <urn:sparql:11:qa:tests:data> to graph <urn:sparql:11:qa:tests3:data> # Verify using: # select * from <urn:sparql:11:qa:tests:data> where {?s ?p ?o} # no records == verified # select * from <urn:sparql:11:qa:tests3:data> where {?s ?p ?o} # one or more records == verified. # Add new records to the empty graph <urn:sparql:11:qa:tests:data> using: # insert into graph <urn:sparql:11:qa:tests:data> {<#kidehen> owl:sameAs<http://kingsley.idehen.net/dataspace/person/kidehen#this>} # Add data from graph <urn:sparql:11:qa:tests:data> to graph <urn:sparql:11:qa:tests3:data> using: # add graph <urn:sparql:11:qa:tests:data> to graph <urn:sparql:11:qa:tests3:data> # select * from <urn:sparql:11:qa:tests3:data> where {?s ?p ?o} # two or more records == verified. -- Regards, Kingsley Idehen Founder & CEO OpenLink Software Company Web: http://www.openlinksw.com Personal Weblog: http://www.openlinksw.com/blog/~kidehen Twitter/Identi.ca handle: @kidehen Google+ Profile: https://plus.google.com/112399767740508618350/about LinkedIn Profile: http://www.linkedin.com/in/kidehen
Attachments
- application/pkcs7-signature attachment: S/MIME Cryptographic Signature
Received on Friday, 29 March 2013 14:34:14 UTC