• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Sparql update
 

Sparql update

on

  • 696 views

 

Statistics

Views

Total Views
696
Views on SlideShare
696
Embed Views
0

Actions

Likes
0
Downloads
9
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Sparql update Sparql update Presentation Transcript

    • SPARQL Update OC Working Group, 2012-02-16©www.sti-innsbruck.at INNSBRUCK www.sti-innsbruck.at Copyright 2008 STI
    • The Big SPARQL picture • SPARQL 1.0 (2008 Recommendation) – SELECT – ASK – DESCRIBE – CONSTRUCTwww.sti-innsbruck.at 2
    • 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
    • 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
    • WITH and USING • WITH uri • USING uriwww.sti-innsbruck.at 5
    • 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
    • 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
    • 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