• Like
Sparql update
Upcoming SlideShare
Loading in...5
×
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
430
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
9
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. SPARQL Update OC Working Group, 2012-02-16©www.sti-innsbruck.at INNSBRUCK www.sti-innsbruck.at Copyright 2008 STI
  • 2. The Big SPARQL picture • SPARQL 1.0 (2008 Recommendation) – SELECT – ASK – DESCRIBE – CONSTRUCTwww.sti-innsbruck.at 2
  • 3. The Big SPARQL 1.1 Picture • SPARQL 1.1 (2012 Draft) – UPDATE • Triple management (Load, Clear, Insert, Delete) • Graph management (Create, Drop, Copy, Move, Add ) – Graph Store HTTP Protocol – Service descriptions – Entailments – Basic federated querywww.sti-innsbruck.at 3
  • 4. Load – Clear – Insert - Delete • LOAD uri [ INTO GRAPH uri ] • CLEAR GRAPH uri • INSERT DATA { quads } • DELETE DATA { quads } • UPDATE: WITH uri1 DELETE {quad_pattern} INSERT {quad_pattern} USING uri1 WHERE {group_graph_pattern}www.sti-innsbruck.at 4
  • 5. WITH and USING • WITH uri • USING uriwww.sti-innsbruck.at 5
  • 6. Update - Example PREFIX foaf: <http://xmlns.com/foaf/0.1/> WITH <http://example/addresses> DELETE { ?person foaf:firstName Bill } INSERT { ?person foaf:firstName William } USING <http://example/addresses> WHERE { ?person a foaf:Person . ?person foaf:firstName Bill }www.sti-innsbruck.at 6
  • 7. Drop, Create, Copy, Move, Add• CREATE [ SILENT ] GRAPH uri• DROP [ SILENT ] GRAPH uri• COPY [ SILENT ] GRAPH uri1 TO GRAPH uri2• MOVE [ SILENT ] GRAPH uri1 TO GRAPH uri2• ADD [ SILENT ] GRAPH uri1 TO GRAPH uri2www.sti-innsbruck.at 7
  • 8. Additional Material • W3C SPARQL, http://www.w3.org/TR/rdf-sparql-query/ • W3C SPARQL 1.1 http://www.w3.org/TR/sparql11-query/ • W3C SPARQL Update http://www.w3.org/TR/sparql11-update/ • SPARQL by example http://www.cambridgesemantics.com/2008/09/sparql-by-example/ • SPARQL Cheatsheet http://www.slideshare.net/LeeFeigenbaum/sparql- cheat-sheetwww.sti-innsbruck.at 8