The Semantic Desktop, SPARQL and You! - FOSDEM 2010
-
Upload
codethink-limited -
Category
Technology
-
view
667 -
download
0
description
Transcript of The Semantic Desktop, SPARQL and You! - FOSDEM 2010
![Page 1: The Semantic Desktop, SPARQL and You! - FOSDEM 2010](https://reader033.fdocuments.in/reader033/viewer/2022061205/548047ecb479594b578b4640/html5/thumbnails/1.jpg)
RDF
"Bubble web"© CC BY-NC-SA Paul Hocksenar / Verbin inc
ProvidingGenius.
![Page 2: The Semantic Desktop, SPARQL and You! - FOSDEM 2010](https://reader033.fdocuments.in/reader033/viewer/2022061205/548047ecb479594b578b4640/html5/thumbnails/2.jpg)
ProvidingGenius.
johnownerOf
rover
- an RDF statement
![Page 3: The Semantic Desktop, SPARQL and You! - FOSDEM 2010](https://reader033.fdocuments.in/reader033/viewer/2022061205/548047ecb479594b578b4640/html5/thumbnails/3.jpg)
ProvidingGenius.
johnownerOf
rover
Subject Predicate Object
![Page 4: The Semantic Desktop, SPARQL and You! - FOSDEM 2010](https://reader033.fdocuments.in/reader033/viewer/2022061205/548047ecb479594b578b4640/html5/thumbnails/4.jpg)
ProvidingGenius.
<john> <ownerOf> <rover>.
![Page 5: The Semantic Desktop, SPARQL and You! - FOSDEM 2010](https://reader033.fdocuments.in/reader033/viewer/2022061205/548047ecb479594b578b4640/html5/thumbnails/5.jpg)
ProvidingGenius.
<john> <ownerOf> <rover>.
Reference
![Page 6: The Semantic Desktop, SPARQL and You! - FOSDEM 2010](https://reader033.fdocuments.in/reader033/viewer/2022061205/548047ecb479594b578b4640/html5/thumbnails/6.jpg)
ProvidingGenius.
<john> <type> <Person>.<rover> <type> <Dog>.<john> <hasName> "John Doe".<rover> <hasName> "Rover".<john> <ownerOf> <rover>.
![Page 7: The Semantic Desktop, SPARQL and You! - FOSDEM 2010](https://reader033.fdocuments.in/reader033/viewer/2022061205/548047ecb479594b578b4640/html5/thumbnails/7.jpg)
ProvidingGenius.
<john> <type> <Person>.<rover> <type> <Dog>.<john> <hasName> "John Doe".<rover> <hasName> "Rover".<john> <ownerOf> <rover>.
ClassLiteral
Instance
![Page 8: The Semantic Desktop, SPARQL and You! - FOSDEM 2010](https://reader033.fdocuments.in/reader033/viewer/2022061205/548047ecb479594b578b4640/html5/thumbnails/8.jpg)
ProvidingGenius.
"John Doe" <Person>
<john>
<type>
<ownerOf><rover>
<hasName> <type>
"Rover" <Dog>
<hasName>
![Page 9: The Semantic Desktop, SPARQL and You! - FOSDEM 2010](https://reader033.fdocuments.in/reader033/viewer/2022061205/548047ecb479594b578b4640/html5/thumbnails/9.jpg)
ProvidingGenius.
<http://example.org/example#john> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/example#Person>.
![Page 10: The Semantic Desktop, SPARQL and You! - FOSDEM 2010](https://reader033.fdocuments.in/reader033/viewer/2022061205/548047ecb479594b578b4640/html5/thumbnails/10.jpg)
ProvidingGenius.
@prefix example: <http://example.org/example#>.@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
example:john rdf:type example:Person .
<http://example.org/example#john> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/example#Person>.
Or:
![Page 11: The Semantic Desktop, SPARQL and You! - FOSDEM 2010](https://reader033.fdocuments.in/reader033/viewer/2022061205/548047ecb479594b578b4640/html5/thumbnails/11.jpg)
ProvidingGenius.
@prefix example: <http://example.org/example#>.@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
example:john rdf:type example:Person .
<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#>.
example:john a example:Person .
Or:
![Page 12: The Semantic Desktop, SPARQL and You! - FOSDEM 2010](https://reader033.fdocuments.in/reader033/viewer/2022061205/548047ecb479594b578b4640/html5/thumbnails/12.jpg)
ProvidingGenius.
@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" .
![Page 13: The Semantic Desktop, SPARQL and You! - FOSDEM 2010](https://reader033.fdocuments.in/reader033/viewer/2022061205/548047ecb479594b578b4640/html5/thumbnails/13.jpg)
ProvidingGenius.ProvidingGenius.
"Shards" © 2009 CC BY-SA Martin Latter
![Page 14: The Semantic Desktop, SPARQL and You! - FOSDEM 2010](https://reader033.fdocuments.in/reader033/viewer/2022061205/548047ecb479594b578b4640/html5/thumbnails/14.jpg)
ProvidingGenius.
People have namesPeople can own some kinds of thingsPets can be ownedA dog is an petDogs can have names
Ontology!
![Page 15: The Semantic Desktop, SPARQL and You! - FOSDEM 2010](https://reader033.fdocuments.in/reader033/viewer/2022061205/548047ecb479594b578b4640/html5/thumbnails/15.jpg)
ProvidingGenius.
People have namesPeople can own some kinds of thingsPets can be ownedA dog is an petDogs can have names
Ontology!
![Page 16: The Semantic Desktop, SPARQL and You! - FOSDEM 2010](https://reader033.fdocuments.in/reader033/viewer/2022061205/548047ecb479594b578b4640/html5/thumbnails/16.jpg)
ProvidingGenius.
example:Nameable a rdfs:Class.
example:hasName a rdf:Property; rdfs:domain example:Nameable; range string .
Ontology! - Names
![Page 17: The Semantic Desktop, SPARQL and You! - FOSDEM 2010](https://reader033.fdocuments.in/reader033/viewer/2022061205/548047ecb479594b578b4640/html5/thumbnails/17.jpg)
ProvidingGenius.
People have namesPeople can own some kinds of thingsPets can be ownedA dog is an petDogs can have names
Ontology!
![Page 18: The Semantic Desktop, SPARQL and You! - FOSDEM 2010](https://reader033.fdocuments.in/reader033/viewer/2022061205/548047ecb479594b578b4640/html5/thumbnails/18.jpg)
ProvidingGenius.
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 .
Ontology! - Ownership
![Page 19: The Semantic Desktop, SPARQL and You! - FOSDEM 2010](https://reader033.fdocuments.in/reader033/viewer/2022061205/548047ecb479594b578b4640/html5/thumbnails/19.jpg)
ProvidingGenius.
example:Dog a rdfs:Class ; rdfs:subClassOf example:Pet .
example:Person a rdfs:Class ; rdfs:subClassOf example:Nameable .
Ontology! - Dogs and People
![Page 20: The Semantic Desktop, SPARQL and You! - FOSDEM 2010](https://reader033.fdocuments.in/reader033/viewer/2022061205/548047ecb479594b578b4640/html5/thumbnails/20.jpg)
"sparkling colored star" © CC BY christmasstockimages.com
ProvidingGenius.
![Page 21: The Semantic Desktop, SPARQL and You! - FOSDEM 2010](https://reader033.fdocuments.in/reader033/viewer/2022061205/548047ecb479594b578b4640/html5/thumbnails/21.jpg)
ProvidingGenius.
"John Doe" example:Person
example:john>
a
example:ownerOf
example:rover
example:hasName a
"Rover" example:Dog
example:hasName
![Page 22: The Semantic Desktop, SPARQL and You! - FOSDEM 2010](https://reader033.fdocuments.in/reader033/viewer/2022061205/548047ecb479594b578b4640/html5/thumbnails/22.jpg)
ProvidingGenius.
"John Doe" example:Person
example:john>
a
example:ownerOf
example:rover
example:hasName a
"Rover" example:Dog
example:hasName
![Page 23: The Semantic Desktop, SPARQL and You! - FOSDEM 2010](https://reader033.fdocuments.in/reader033/viewer/2022061205/548047ecb479594b578b4640/html5/thumbnails/23.jpg)
ProvidingGenius.
?name example:Person
?person
a
example:ownerOf
?pet
a
example:Dog
example:hasName
![Page 24: The Semantic Desktop, SPARQL and You! - FOSDEM 2010](https://reader033.fdocuments.in/reader033/viewer/2022061205/548047ecb479594b578b4640/html5/thumbnails/24.jpg)
ProvidingGenius.
?person a example:Person ; example:hasName ?name ; example:ownerOf ?pet .
?pet a example:Dog .
![Page 25: The Semantic Desktop, SPARQL and You! - FOSDEM 2010](https://reader033.fdocuments.in/reader033/viewer/2022061205/548047ecb479594b578b4640/html5/thumbnails/25.jpg)
ProvidingGenius.
?person a example:Person ; example:hasName ?name ; example:ownerOf ?pet .
?pet a example:Dog .
SELECT ?nameWHERE {
}
![Page 26: The Semantic Desktop, SPARQL and You! - FOSDEM 2010](https://reader033.fdocuments.in/reader033/viewer/2022061205/548047ecb479594b578b4640/html5/thumbnails/26.jpg)
ProvidingGenius.
?person a example:Person ; example:hasName ?name ; example:ownerOf ?pet .
?pet a example:Dog .
SELECT ?nameWHERE {
}
-> "John Doe"
![Page 27: The Semantic Desktop, SPARQL and You! - FOSDEM 2010](https://reader033.fdocuments.in/reader033/viewer/2022061205/548047ecb479594b578b4640/html5/thumbnails/27.jpg)
ProvidingGenius.
All things RDF and SPARQL:
http://www.w3.org/RDF