• Like
  • Save
Sparql service-description
Upcoming SlideShare
Loading in...5
×
 

Sparql service-description

on

  • 654 views

 

Statistics

Views

Total Views
654
Views on SlideShare
654
Embed Views
0

Actions

Likes
0
Downloads
5
Comments
0

0 Embeds 0

No embeds

Accessibility

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 service-description Sparql service-description Presentation Transcript

    • SPARQL Service Description An Introduction©www.sti-innsbruck.at INNSBRUCK www.sti-innsbruck.at Copyright 2008 STI
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • SPARQL Service Description Instances •  sd:SPARQL10Query •  sd:SPARQL11Query •  sd:SPARQL11Update •  sd:DereferencedURIs •  sd:UnionDefaultGraph •  sd:RequiresDataset •  sd:EmptyGraphs •  sd:BasicFederatedQuerywww.sti-innsbruck.at 8
    • 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
    • Thank you for your attention!www.sti-innsbruck.at 10