The Semantic Desktop, SPARQL and You! - FOSDEM 2010
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

The Semantic Desktop, SPARQL and You! - FOSDEM 2010

  • 656 views
Uploaded on

A brief introduction to RDF and sparql for desktop hackers. Orginally given at FOSDEM 2010

A brief introduction to RDF and sparql for desktop hackers. Orginally given at FOSDEM 2010

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
No Downloads

Views

Total Views
656
On Slideshare
655
From Embeds
1
Number of Embeds
1

Actions

Shares
Downloads
12
Comments
0
Likes
1

Embeds 1

http://www.slideshare.net 1

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. Providing Genius. RDF "Bubble web"© CC BY-NC-SA Paul Hocksenar / Verbin inc
  • 2. Providing Genius. ownerOf john rover - an RDF statement
  • 3. Providing Genius. ownerOf john rover Subject Predicate Object
  • 4. Providing Genius. <john> <ownerOf> <rover>.
  • 5. Providing Genius. <john> <ownerOf> <rover>. Reference
  • 6. Providing Genius. <john> <type> <Person>. <rover> <type> <Dog>. <john> <hasName> "John Doe". <rover> <hasName> "Rover". <john> <ownerOf> <rover>.
  • 7. Providing Genius. Class Literal <john> <type> <Person>. <rover> <type> <Dog>. <john> <hasName> "John Doe". <rover> <hasName> "Rover". <john> <ownerOf> <rover>. Instance
  • 8. Providing Genius. "John Doe" <Person> <hasName> <type> <ownerOf> <john> <rover> <hasName> <type> "Rover" <Dog>
  • 9. Providing Genius. <http://example.org/example#john> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/example#Person>.
  • 10. Providing Genius. <http://example.org/example#john> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/example#Person>. Or: @prefix example: <http://example.org/example#>. @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> example:john rdf:type example:Person .
  • 11. Providing Genius. <http://example.org/example#john> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/example#Person>. Or: @prefix example: <http://example.org/example#>. @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> example:john rdf:type example:Person . Or: @prefix example: <http://example.org/example#>. example:john a example:Person .
  • 12. Providing Genius. @prefix example: <http://example.org/example#>. example:john a example:Person ; example:hasName "John Doe" ; example:ownerOf example:rover> . example:rover a example:Dog ; example:hasName "Rover" .
  • 13. Providing Genius. "Shards" © 2009 CC BY-SA Martin Latter
  • 14. Providing Genius. Ontology! People have names People can own some kinds of things Pets can be owned A dog is an pet Dogs can have names
  • 15. Providing Genius. Ontology! People have names People can own some kinds of things Pets can be owned A dog is an pet Dogs can have names
  • 16. Providing Genius. Ontology! - Names example:Nameable a rdfs:Class. example:hasName a rdf:Property; rdfs:domain example:Nameable; range string .
  • 17. Providing Genius. Ontology! People have names People can own some kinds of things Pets can be owned A dog is an pet Dogs can have names
  • 18. Providing Genius. Ontology! - Ownership example:Ownable a rdfs:Class . example:ownerOf a rdf:Property; rdfs:domain example:Person; range example:Ownable . example:Pet a rfds:Class ; rdfs:subClassOf example:Ownable ; rdfs:subClassOf example:Nameable .
  • 19. Providing Genius. Ontology! - Dogs and People example:Dog a rdfs:Class ; rdfs:subClassOf example:Pet . example:Person a rdfs:Class ; rdfs:subClassOf example:Nameable .
  • 20. Providing Genius. "sparkling colored star" © CC BY christmasstockimages.com
  • 21. Providing Genius. "John Doe" example:Person example:hasName a example:ownerOf example:john> example:rover example:hasName a "Rover" example:Dog
  • 22. Providing Genius. "John Doe" example:Person example:hasName a example:ownerOf example:john> example:rover example:hasName a "Rover" example:Dog
  • 23. Providing Genius. ?name example:Person example:hasName a example:ownerOf ?person ?pet a example:Dog
  • 24. Providing Genius. ?person a example:Person ; example:hasName ?name ; example:ownerOf ?pet . ?pet a example:Dog .
  • 25. Providing Genius. SELECT ?name WHERE { ?person a example:Person ; example:hasName ?name ; example:ownerOf ?pet . ?pet a example:Dog . }
  • 26. Providing Genius. SELECT ?name WHERE { ?person a example:Person ; example:hasName ?name ; example:ownerOf ?pet . ?pet a example:Dog . } -> "John Doe"
  • 27. Providing Genius. All things RDF and SPARQL: http://www.w3.org/RDF