0
SPARQL Service Description                                                       An Introduction©www.sti-innsbruck.at INNS...
What is SPARQL?                       SPARQL Protocol and RDF Query Language •  RDF Query language based on RDQL •  Used t...
Example SPARQL Query    Return the full names of all people in the graph PREFIX vCard: <http://www.w3.org/2001/vcard-rdf/3...
What is a SPARQL Service Description?     SPARQL Service Description is ...•      Method for discovering and•      Vocabul...
SPARQL Service Description Properties •  sd:endpoint           –  a SPARQL endpoint •  sd:feature           –  a supported...
SPARQL Service Description Properties •  sd:resultFormat           –  a format for serializing query results •  sd:default...
SPARQL Service Description Classes •  sd:Service           –  an instance of sd:Service represents a SPARQL service •     ...
SPARQL Service Description Instances •       sd:SPARQL10Query •       sd:SPARQL11Query •       sd:SPARQL11Update •       s...
Example (Informative)                                                      +"&85*"")(@95)$                                ...
Thank you for your attention!www.sti-innsbruck.at                                   10
Upcoming SlideShare
Loading in...5
×

Sparql service-description

367

Published on

Published in: Technology, Health & Medicine
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
367
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Sparql service-description"

  1. 1. SPARQL Service Description An Introduction©www.sti-innsbruck.at INNSBRUCK www.sti-innsbruck.at Copyright 2008 STI
  2. 2. What is SPARQL? SPARQL Protocol and RDF Query Language •  RDF Query language based on RDQL •  Used to retrieve and manipulate data stored in RDF format •  Uses SQL-like syntaxwww.sti-innsbruck.at 2
  3. 3. Example SPARQL Query Return the full names of all people in the graph PREFIX vCard: <http://www.w3.org/2001/vcard-rdf/3.0#> SELECT ?fullName WHERE {?x vCard:FN ?fullName} result: @prefix ex: <http://example.org/#> . @prefix vcard: <http://www.w3.org/2001/vcard-rdf/3.0#> . ex:john vcard:FN "John Smith" ; fullName vcard:N [ vcard:Given "John" ; ================= vcard:Family "Smith" ] ; ex:hasAge 32 ; "John Smith" ex:marriedTo :mary . ex:mary "Mary Smith" vcard:FN "Mary Smith" ; vcard:N [ vcard:Given "Mary" ; vcard:Family "Smith" ] ; ex:hasAge 29 .www.sti-innsbruck.at
  4. 4. What is a SPARQL Service Description? SPARQL Service Description is ...•  Method for discovering and•  Vocabulary for describing SPARQL Services•  Commonly referred to as a „SPARQL endpoint“•  Provides mechanism by which informations can be discovered such as –  Supported extension functions –  Details about the available dataset•  Returns a service description when dereferenced using HTTP GETwww.sti-innsbruck.at 4
  5. 5. SPARQL Service Description Properties •  sd:endpoint –  a SPARQL endpoint •  sd:feature –  a supported feature •  sd:defaultEntailmentRegime –  entailment regime used for basic graph pattern matching •  sd:extensionFunction –  a function that may be used in a SPARQL SELECT expression, or clauses like FILTER, HAVING, GROUP BY, ... •  sd:defaultDataset –  a description of the default dataset available when no explicit dataset is specifiedwww.sti-innsbruck.at 5
  6. 6. SPARQL Service Description Properties •  sd:resultFormat –  a format for serializing query results •  sd:defaultGraph –  relates an instance of sd:Dataset to the description of its default graph •  sd:supportedLanguage –  relates an instance of sd:Service to a SPARQL language that it implementswww.sti-innsbruck.at 6
  7. 7. SPARQL Service Description Classes •  sd:Service –  an instance of sd:Service represents a SPARQL service •  sd:Feature •  sd:Language •  sd:EntailmentRegime •  sd:EntailmentProfile •  sd:GraphCollection •  sd:Dataset –  represents an RDF dataset comprised of a default graph and zero or more named graphs •  sd:Graph –  represents the desription of an RDF graphwww.sti-innsbruck.at 7
  8. 8. SPARQL Service Description Instances •  sd:SPARQL10Query •  sd:SPARQL11Query •  sd:SPARQL11Update •  sd:DereferencedURIs •  sd:UnionDefaultGraph •  sd:RequiresDataset •  sd:EmptyGraphs •  sd:BasicFederatedQuerywww.sti-innsbruck.at 8
  9. 9. Example (Informative) +"&85*"")(@95)$ 5H@0"H")$"(:LM-N< 0#)2%#2" &"+%0$+"&5#05O#19)!9&H#$+ !"#$%&"("&"!"&")*"+,-.+#)( %+"+$/"&"+%01)2-345)$/" ("!#%0$2&#@/B5$/CDD !%)*19)%+"(5):;<;=> (#$#+"$(%&5)26%"&7"8#0%#19) $&5@0"+ "?@&"++59)9&"A2A4.<>;-*0#%+" EF<G-34")$#50H")$&"25H" %+"(5)I#+5*2&#@/@#J"&)H#$*/5)2 +%@@9&$"(@&9K0"9!$/"")$#50H")$&"25H"www.sti-innsbruck.at 9
  10. 10. Thank you for your attention!www.sti-innsbruck.at 10
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×