Providing
Genius.




    RDF
            "Bubble web"© CC BY-NC-SA Paul Hocksenar / Verbin inc
Providing
Genius.




            ownerOf
john                      rover




             - an RDF statement
Providing
    Genius.




                ownerOf
   john                     rover



Subject         Predicate    Object
Providing
   Genius.




<john> <ownerOf> <rover>.
Providing
   Genius.




<john> <ownerOf> <rover>.


        Reference
Providing
     Genius.




<john> <type> <Person>.
<rover> <type> <Dog>.
<john> <hasName> "John Doe".
<rover> <hasName> "Rover".
<john> <ownerOf> <rover>.
Providing
     Genius.

                 Class
                         Literal

<john> <type> <Person>.
<rover> <type> <Dog>.
<john> <hasName> "John Doe".
<rover> <hasName> "Rover".
<john> <ownerOf> <rover>.


        Instance
Providing
        Genius.




 "John Doe"                   <Person>




<hasName>                     <type>

                             <ownerOf>
                    <john>               <rover>



                             <hasName>             <type>




                               "Rover"               <Dog>
Providing
            Genius.


<http://example.org/example#john>
  <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
  <http://example.org/example#Person>.
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 .
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 .
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" .
Providing
Genius.




            "Shards" © 2009 CC BY-SA Martin Latter
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
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
Providing
 Genius.




             Ontology! - Names

example:Nameable a rdfs:Class.

example:hasName a rdf:Property;
                rdfs:domain example:Nameable;
                range string .
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
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 .
Providing
    Genius.




      Ontology! - Dogs and People

example:Dog a rdfs:Class ;
            rdfs:subClassOf example:Pet .

example:Person a rdfs:Class ;
            rdfs:subClassOf example:Nameable .
Providing
Genius.




            "sparkling colored star" © CC BY christmasstockimages.com
Providing
                Genius.




"John Doe"                      example:Person

       example:hasName

                               a

                              example:ownerOf
             example:john>
                                                 example:rover



                             example:hasName             a




                                      "Rover"            example:Dog
Providing
                Genius.




"John Doe"                      example:Person

       example:hasName

                               a

                              example:ownerOf
             example:john>
                                                 example:rover



                             example:hasName             a




                                      "Rover"            example:Dog
Providing
             Genius.




?name                      example:Person

        example:hasName

                          a

                          example:ownerOf
            ?person
                                            ?pet



                                               a




                                                   example:Dog
Providing
Genius.




 ?person a example:Person ;
         example:hasName ?name ;
         example:ownerOf ?pet .

 ?pet a example:Dog .
Providing
       Genius.




SELECT ?name
WHERE {

        ?person a example:Person ;
                example:hasName ?name ;
                example:ownerOf ?pet .

        ?pet a example:Dog .

}
Providing
       Genius.




SELECT ?name
WHERE {
        ?person a example:Person ;
                example:hasName ?name ;
                example:ownerOf ?pet .

        ?pet a example:Dog .
}

-> "John Doe"
Providing
       Genius.




All things RDF and SPARQL:

http://www.w3.org/RDF

More Related Content

PDF
imageSource Cloud Computing: An IT Essential
PDF
Top Strategies For Launching A New Alliance
PPT
Australia: Santiago
PDF
Sales Training Meetings
PPT
Russia: Sergio and Noelia
ODP
Why I #loveparkrun
ODP
Energy use and behaviour change
PPT
Fever In The Neutropenic Patient
imageSource Cloud Computing: An IT Essential
Top Strategies For Launching A New Alliance
Australia: Santiago
Sales Training Meetings
Russia: Sergio and Noelia
Why I #loveparkrun
Energy use and behaviour change
Fever In The Neutropenic Patient

Recently uploaded (20)

PDF
A review of recent deep learning applications in wood surface defect identifi...
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PPT
Module 1.ppt Iot fundamentals and Architecture
PDF
Five Habits of High-Impact Board Members
PPTX
Modernising the Digital Integration Hub
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
DP Operators-handbook-extract for the Mautical Institute
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
A comparative study of natural language inference in Swahili using monolingua...
PPTX
Tartificialntelligence_presentation.pptx
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PDF
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
PPTX
O2C Customer Invoices to Receipt V15A.pptx
PDF
Architecture types and enterprise applications.pdf
PPTX
observCloud-Native Containerability and monitoring.pptx
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
A review of recent deep learning applications in wood surface defect identifi...
NewMind AI Weekly Chronicles – August ’25 Week III
Module 1.ppt Iot fundamentals and Architecture
Five Habits of High-Impact Board Members
Modernising the Digital Integration Hub
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
DP Operators-handbook-extract for the Mautical Institute
Group 1 Presentation -Planning and Decision Making .pptx
Univ-Connecticut-ChatGPT-Presentaion.pdf
A comparative study of natural language inference in Swahili using monolingua...
Tartificialntelligence_presentation.pptx
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
Zenith AI: Advanced Artificial Intelligence
A contest of sentiment analysis: k-nearest neighbor versus neural network
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
O2C Customer Invoices to Receipt V15A.pptx
Architecture types and enterprise applications.pdf
observCloud-Native Containerability and monitoring.pptx
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
Ad
Ad

The Semantic Desktop, SPARQL and You! - FOSDEM 2010

  • 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