SlideShare una empresa de Scribd logo
1 de 41
Descargar para leer sin conexión
ICWE 2012 Tutorial

An Introduction to SPARQL and
   Queries over Linked Data
                    ●●●




Chapter 1: Linked Data and RDF
                                          Olaf Hartig
                          http://olafhartig.de/foaf.rdf#olaf
                                                @olafhartig

      Database and Information Systems Research Group
                          Humboldt-Universität zu Berlin
Outline

        Chapter 1:
          Linked Data and RDF

        Chapter 2:
          The SPARQL Query Language

        Chapter 3:
          Querying Linked Data on the Web



                                    http://olafhartig.de/icwe.html
Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF   2
Chapter 1

           Motivation
           Technical Foundations
           The Web of Linked Data




                                    http://olafhartig.de/icwe.html
Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF   3
The Traditional Web

     Traditional Web = Internet + Docs + Links




Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF   4
The Traditional Web

                            So what is the problem?




Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF   5
The Traditional Web

                            So what is the problem?
 ●   Web content is only loosely structured
 ●   Difficult for applications to do smart things




Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF   6
The Traditional Web

                            So what is the problem?
 ●   Web content is only loosely structured
 ●   Difficult for applications to do smart things



 Solution:
     ●   Increase the structure of Web content
     ●   Publish data




Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF   7
The Traditional Web

                            So what is the problem?
 ●   Web content is only loosely structured
 ●   Difficult for applications to do smart things



 Solution:
     ●   Increase the structure of Web content
     ●   Publish data
                                  But wait…
                           don't we do that already?
Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF   8
The Traditional Web
 ●   Content providers offer access via Web APIs
 ●   Mashups combine this data




                                                                      Web API
           Web API                        Web API
                                                                                                  Web API




Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF   9
The Traditional Web
 ●   Content providers offer access via Web APIs
 ●   Mashups combine this data



 Shortcomings:
 ●   APIs are proprietary
 ●   Mashups are based on a fixed set of data sources
                                                                     Web API
 ●   YouWeb API
         can not set hyperlinks between data object
                       Web API
                                                                                                 Web API




Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 10
Chapter 1

           Motivation
           Technical Foundations
           The Web of Linked Data




                                    http://olafhartig.de/icwe.html
Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 11
Technical Foundations
     There is no magic – Linked Data is based
                on well-established
          (Semantic) Web technologies.
 ●   RDF as shared data model
 ●   HTTP to access data on the Web
 ●   URIs
     ●   Globally unique identifiers for entities
     ●   Pointers to data
 ●   Hyperlinks

Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 12
RDF in General
 ●   Resource Description Framework (RDF)
 ●   A resource is basically everything
     ●   E.g. persons, places, Web documents, abstract concepts
 ●   Descriptions of resources
     ●   Attributes
     ●   Relations
 ●   The framework contains:
     ●   A data model, and
     ●   Languages and syntaxes



Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 13
RDF Data Model
 ●   Data comes as a set of triples (subject, predicate, object)


 ●   Subject: resources
 ●   Predicate: properties
 ●   Object: literals or resources


 ●   Examples:
     ●   ( Mount Baker , last eruption , 1880 )
     ●   ( Mount Baker , location , Washington )


Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 14
RDF Data Model
 ●   RDF is also a graph model
     ●   Triples as directed edges
     ●   Subjects and objects as vertices
     ●   Edges labeled by predicate

 ●   Example:
     ●   ( Mount Baker , last eruption , 1880 )
     ●   ( Mount Baker , location , Washington )

                                                               location
                Mount Baker                                                                  Washington
                             last eruption
                                                                                      1880
Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 15
Uniform Resource Identifier (URI)
 ●   URIs extend the concept of URLs
     ●   Globally unique identifier for resources
     ●   URL of a Web document usually used as its URI
     ●   Attention: URIs identify not only Web documents
 ●   Example:
     ●   Me:
     http://olafhartig.de/~hartig/foaf.rdf#olaf
     ●   RDF document about me:
     http://olafhartig.de/~hartig/foaf.rdf
     ●   HTML document about me:
     http://olafhartig.de/~hartig/index.html

Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 16
Example (revisited)
   ●   (http://dbpedia.org/resource/Mount_Baker,
        http://dbpedia.org/property/lastEruption, 1880)
   ●   (http://dbpedia.org/resource/Mount_Baker,
        http://dbpedia.org/property/location,
        http://dbpedia.org/resource/Washington)

                                      http://dbpedia.org/resource/Washington

                     http://dbpedia.org/property/location

         http://dbpedia.org/resource/Mount_Baker

        http://dbpedia.org/property/lastEruption

                                                                                         1880
Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 17
Compact URIs (CURIE)
 ●   Abbreviated Notation for URIs
 ●   Syntax:
     ●   Prefix name (references the prefix of the URI)
     ●   Colon character (“:”)
     ●   Reference part
 ●   URI by concatenating the prefix and the reference part
 ●   Examples:
     ●   dbpedia:Mount_Baker for
            http://dbpedia.org/resource/Mount_Baker
     ●   myfoaf:olaf for
            http://olafhartig.de/~hartig/foaf.rdf#olaf
Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 18
Example with CURIEs
 ●   Using
     ●   dbpedia for prefix http://dbpedia.org/resource/
     ●   p for prefix http://dbpedia.org/property/
 ●   we have
     ●   (dbpedia:Mount_Baker, p:lastEruption, 1880)
     ●   (dbpedia:Mount_Baker, p:location, dbpedia:Washington)

                                                     p:location
     dbpedia:Mount_Baker                                                       dbpedia:Washington
                      p:lastEruption
                                                                                      1880


Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 19
Literals
 ●   Literals may occur in the object position of triples
 ●   Represented by strings
 ●   Literal strings interpreted by datatypes
     ●   Datatype identified by a URI
     ●   Common to use the XML Schema datatypes
     ●   No datatype: interpreted as xsd:string
 ●   Untyped literals may have language tags (e.g. @de)


                                                     p:name
     dbpedia:Mount_Baker                                                   "Mount Baker"@en
                      p:lastEruption
                                                                          "1880"^^xsd:integer
Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 20
Turtle – A Readable Syntax for RDF
 ●   Simple, human-readable notation to list RDF triples:
     ●   Triples separated by a period (“.”) character
     ●   Example:
 <http://dbpedia.org/resource/Mount_Baker>
 <http://dbpedia.org/resource/Mount_Baker>
        <http://dbpedia.org/property/lastEruption>
        <http://dbpedia.org/property/lastEruption>
               "1880"^^xsd:integer .
               "1880"^^xsd:integer .
 <http://dbpedia.org/resource/Mount_Baker>
 <http://dbpedia.org/resource/Mount_Baker>
                <http://dbpedia.org/property/location>
                <http://dbpedia.org/property/location>
                       <http://dbpedia.org/resource/Washington> .
                       <http://dbpedia.org/resource/Washington> .




Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 21
Turtle – A Readable Syntax for RDF
 ●   Turtle supports the use of CURIEs:
     ●   @prefix directive binds a prefix to a namespace URI


 @prefix
 @prefix          dbpedia : <http://dbpedia.org/resource/> .
                  dbpedia : <http://dbpedia.org/resource/> .
 @prefix
 @prefix          p : <http://dbpedia.org/property/> .
                  p : <http://dbpedia.org/property/> .
 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

 dbpedia:Mount_Baker
 dbpedia:Mount_Baker                        p:lastEruption
                                            p:lastEruption                  "1880"^^xsd:integer .
                                                                            "1880"^^xsd:integer .
 dbpedia:Mount_Baker
 dbpedia:Mount_Baker                        p:location
                                            p:location                      dbpedia:Washington .
                                                                            dbpedia:Washington .

 dbpedia:Washington
 dbpedia:Washington                       p:borderingstates
                                          p:borderingstates                      dbpedia:Oregon .
                                                                                 dbpedia:Oregon .
 dbpedia:Washington
 dbpedia:Washington                       p:borderingstates
                                          p:borderingstates                      dbpedia:Idaho .
                                                                                 dbpedia:Idaho .

Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 22
Turtle – A Readable Syntax for RDF
 ●   Turtle provides some syntactic sugar:
     ●   Property lists separated by a semicolon (“;”) character
     ●   Object lists separated by a comma (“,”) character
 @prefix
 @prefix          dbpedia : <http://dbpedia.org/resource/> .
                  dbpedia : <http://dbpedia.org/resource/> .
 @prefix
 @prefix          p : <http://dbpedia.org/property/> .
                  p : <http://dbpedia.org/property/> .
 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

 dbpedia:Mount_Baker p:lastEruption "1880"^^xsd:integer ;
 dbpedia:Mount_Baker p:lastEruption "1880"^^xsd:integer ;
                     p:location
                     p:location     dbpedia:Washington .
                                    dbpedia:Washington .

 dbpedia:Washington p:borderingstates dbpedia:Oregon ,
 dbpedia:Washington p:borderingstates dbpedia:Oregon ,
                                      dbpedia:Idaho .
                                      dbpedia:Idaho .

Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 23
Turtle – A Readable Syntax for RDF
 ●   More syntactic sugar:
     ●   Shortcuts for number literals

 dbpedia:Mount_Baker p:lastEruption "1880"^^xsd:integer ;
 dbpedia:Mount_Baker p:lastEruption "1880"^^xsd:integer ;
                     geo:lat "48.777222"^^xsd:float ;
                     geo:lat "48.777222"^^xsd:float ;
                                            geo:long "-121.813332"^^xsd:float .
                                            geo:long "-121.813332"^^xsd:float .


 Equivalent:

 dbpedia:Mount_Baker p:lastEruption 1880 ;
 dbpedia:Mount_Baker p:lastEruption 1880 ;
                     geo:lat 48.777222 ;
                     geo:lat 48.777222 ;
                                            geo:long -121.813332 .
                                            geo:long -121.813332 .


Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 24
RDF/XML – An XML syntax for RDF
 @prefix dbpedia : <http://dbpedia.org/resource/> .
  @prefix dbpedia : <http://dbpedia.org/resource/> .                                                              Turtle
 @prefix p : <http://dbpedia.org/property/> .
  @prefix p : <http://dbpedia.org/property/> .
 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
  @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

 dbpedia:Mount_Baker p:lastEruption "1880"^^xsd:integer .
  dbpedia:Mount_Baker p:lastEruption "1880"^^xsd:integer .
 dbpedia:Mount_Baker p:location
  dbpedia:Mount_Baker p:location    dbpedia:Washington .
                                     dbpedia:Washington .

 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
          xmlns:p="http://dbpedia.org/property/">
           xmlns:p="http://dbpedia.org/property/">
   <rdf:Description rdf:about="http://dbpedia.org/resource/Mount_Baker">
    <rdf:Description rdf:about="http://dbpedia.org/resource/Mount_Baker">
     <p:lastEruption ‣
      <p:lastEruption ‣
             rdf:datatype="http://www.w3.org/2001/XMLSchema#integer" ‣
              rdf:datatype="http://www.w3.org/2001/XMLSchema#integer" ‣
             >1880</p:lastEruption>
              >1880</p:lastEruption>
     <p:location rdf:resource="http://dbpedia.org/resource/Washington"/>
      <p:location rdf:resource="http://dbpedia.org/resource/Washington"/>
   </rdf:Description>
    </rdf:Description>
 </rdf:RDF>
  </rdf:RDF>                                                                                               RDF/XML
Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 25
Blank Nodes
                                                                               myfoaf:olaf
 ●   Blank nodes represent unnamed,
     anonymous resources                                                               wot:hasKey
     ●   Not identified by a URI
                                                                                          rdf:type
 ●   Blank node identifiers
                                                                                                 wot:PubKey
     ●   Identification of blank nodes
         in triple serializations                                                   wot:hex_id
     ●   Form: _:xyz
                                                                      "E27D37D7"
     ●   Scope: a single RDF graph
       myfoaf:olaf wot:hasKey [ rdf:type
        myfoaf:olaf wot:hasKey [ rdf:type                                                   wot:PubKey
                                                                                            wot:PubKey              ;
                                                                                                                    ;
                                 wot:hex_id
                                 wot:hex_id                                                 "E27D37D7"
                                                                                            "E27D37D7"              ] .
                                                                                                                    ] .
 myfoaf:olaf wot:hasKey _:x .
 myfoaf:olaf wot:hasKey _:x .
 _:x rdf:type
 _:x rdf:type   wot:PubKey ;
                 wot:PubKey ;
          wot:hex_id "E27D37D7" .
          wot:hex_id "E27D37D7" .
Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 26
Vocabularies and Ontologies
 ●   Defined using RDFS or OWL
 ●   A plenty of vocabularies exist:
     ●   People
     ●   Social media
     ●   Commerce
     ●   Events
     ●   Radio and TV programmes
     ●   Music
         etc.



Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 27
Chapter 1

           Motivation
           Technical Foundations
           The Web of Linked Data




                                    http://olafhartig.de/icwe.html
Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 28
●   Use URIs as names for things
                                                                                        ●   Use HTTP URIs so that people
                                                                                            can look up those names.
     http://m




                                                                                        ●   When someone looks up a
              ymovie




                                                                                            URI, provide useful
                                                                                            information.
                    ?
                     .d
               b/movie




                                                                                        ●   Include links to other URIs so
                                                                                            that they can discover more
                   2449




                                                                                            things.
                                                                                                     Tim Berners-Lee, July 2006
                                                          http://mymovie.db/movie1342




                          http://mymovie.db/movie0362


                                                                                                                http://geo.db/country21




                                                                                                                                                                 http://geo.db/country7
  http://mymovie.db/movie5112


 My Movie DB                                                                                             http://geo.db/cityCJ
                                                                                                                                          http://geo.db/cityXA

                                  http://mymovie.db/movie2449

Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 29
Linked Data – An Example
   http://data.linkedmdb.org/.../2014




Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 30
Linked Data – An Example
   http://data.linkedmdb.org/.../2014
                                          rdf:type                        http://data.linkedmdb.org/.../film
                           mov
                                 ie:re
       dc



                     fo
                                      late
                                          dB o
                       af
          :t




                                               ok
          itle



                          :b
                           as
                             ed

                                              http://www4.wi … /0743424425
                                _n

       The Shining
                                  ea
                                    r


                       http://sws.geonames.org/2635167/




Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 31
Linked Data – An Example
   http://data.linkedmdb.org/.../2014
                                          rdf:type                        http://data.linkedmdb.org/.../film
                           mov
                                 ie:re
       dc



                     fo
                                      late
                                          dB o
                       af
          :t




                                               ok
          itle



                          :b
                           as
                              ed

                                               http://www4.wi … /0743424425
                                _n

       The Shining
                                  ea
                                    r


                       http://sws.geonames.org/2635167/
                                       n
                                  atio
                                               l
                                            be


                          o   pu l
                      n:p
                                           :la




                    g
                                           s
                                       rdf




     60943000
                            United Kingdom




Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 32
Linked Data – An Example
   http://data.linkedmdb.org/.../2014
                                          rdf:type                        http://data.linkedmdb.org/.../film
                           mov
                                 ie:re
       dc



                     fo
                                      late
                                          dB o
                       af
          :t




                                               ok
          itle



                          :b
                           as
                              ed

                                               http://www4.wi … /0743424425                          dc:
                                                                                                        title
                                _n

       The Shining
                                  ea
                                    r


                       http://sws.geonames.org/2635167/                                                   The Shining




                                                                                       sko
                                                                                         s:s
                                       n
                                  atio
                                               l
                                            be


                              pu l




                                                                                             ub
                          o
                      n:p
                                           :la




                    g




                                                                                                je
                                           s




                                                                                              ct
                                       rdf




     60943000
                            United Kingdom

                                                                                 http://www4.wi … /Fiction



Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 33
Linked Data – An Example
   http://data.linkedmdb.org/.../2014
                                          rdf:type                        http://data.linkedmdb.org/.../film
                           mov
                                 ie:re
       dc



                     fo
                                      late
                                          dB o
                       af
          :t




                                               ok
          itle



                          :b
                           as
                              ed

                                               http://www4.wi … /0743424425                          dc:
                                                                                                        title
                                _n

       The Shining
                                  ea
                                    r


                       http://sws.geonames.org/2635167/                                                   The Shining




                                                                                       sko
                                                                                         s:s
                                       n
                                  atio
                                               l
                                            be


                              pu l




                                                                                             ub
                          o
                      n:p
                                           :la




                    g




                                                                                                je
                                           s




                                                                                              ct
                                       rdf




     60943000
                            United Kingdom

                                                                                 http://www4.wi … /Fiction
       http://www4.wi … /1571884029                                   t
                                                          skos:subjec

Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 34
Linked Data – An Example
   http://data.linkedmdb.org/.../2014
                                          rdf:type                        http://data.linkedmdb.org/.../film
                           mov
                                 ie:re
       dc



                     fo
                                      late
                                          dB o
                       af
          :t




                                               ok
          itle



                          :b
                           as
                              ed

                                               http://www4.wi … /0743424425                          dc:
                                                                                                        title
                                _n

       The Shining
                                  ea



                                               Is this real?
                                    r


                       http://sws.geonames.org/2635167/                                                   The Shining




                                                                                       sko
                                                                                         s:s
                                       n
                                  atio
                                               l
                                            be


                              pu l




                                                                                             ub
                          o
                      n:p
                                           :la




                    g




                                                                                                je
                                           s




                                                                                              ct
                                       rdf




     60943000
                            United Kingdom

                                                                                 http://www4.wi … /Fiction
       http://www4.wi … /1571884029                                   t
                                                          skos:subjec

Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 35
W3C Linking Open Data Project


 ●   Grassroots community effort
 ●   Publish existing, open license datasets as Linked Data
 ●   Interlink things between different data sources




Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 36
W3C Linking Open Data Project




                                                                                  As of July 2007




Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 37
W3C Linking Open Data Project




Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 38
Linked Data Publishers
 ●   UK government
 ●   US government
 ●   Thomson Reuters (Open Calais)
 ●   MetaWeb (Freebase)
 ●   BBC
 ●   NY Times
 ●   Best Buy
 ●   CNET
     etc.

Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 39
Outline

        Chapter 1:
          Linked Data and RDF

        Chapter 2:
          The SPARQL Query Language

        Chapter 3:
          Querying Linked Data on the Web



                                    http://olafhartig.de/icwe.html
Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 40
These slides have been created by
                                      Olaf Hartig

                                             http://olafhartig.de

    Some of the slides in the motivations section are inspired by similar
             slides from Chris Bizer and from Juan Sequeda.

                     This work is licensed under a
       Creative Commons Attribution-Share Alike 3.0 License
           (http://creativecommons.org/licenses/by-sa/3.0/)




Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 41

Más contenido relacionado

La actualidad más candente

Getty Vocabulary Program LOD: Ontologies and Semantic Representation
Getty Vocabulary Program LOD: Ontologies and Semantic RepresentationGetty Vocabulary Program LOD: Ontologies and Semantic Representation
Getty Vocabulary Program LOD: Ontologies and Semantic RepresentationVladimir Alexiev, PhD, PMP
 
Querying the Web of Data
Querying the Web of DataQuerying the Web of Data
Querying the Web of DataRinke Hoekstra
 
Grails And The Semantic Web
Grails And The Semantic WebGrails And The Semantic Web
Grails And The Semantic Webwilliam_greenly
 
Harnessing The Semantic Web
Harnessing The Semantic WebHarnessing The Semantic Web
Harnessing The Semantic Webwilliam_greenly
 
A hands on overview of the semantic web
A hands on overview of the semantic webA hands on overview of the semantic web
A hands on overview of the semantic webMarakana Inc.
 
Overview of the SPARQL-Generate language and latest developments
Overview of the SPARQL-Generate language and latest developmentsOverview of the SPARQL-Generate language and latest developments
Overview of the SPARQL-Generate language and latest developmentsMaxime Lefrançois
 
Wi2015 - Clustering of Linked Open Data - the LODeX tool
Wi2015 - Clustering of Linked Open Data - the LODeX toolWi2015 - Clustering of Linked Open Data - the LODeX tool
Wi2015 - Clustering of Linked Open Data - the LODeX toolLaura Po
 
RDB2RDF, an overview of R2RML and Direct Mapping
RDB2RDF, an overview of R2RML and Direct MappingRDB2RDF, an overview of R2RML and Direct Mapping
RDB2RDF, an overview of R2RML and Direct MappingBoris Villazón-Terrazas
 
Linked Open Data Visualization
Linked Open Data VisualizationLinked Open Data Visualization
Linked Open Data VisualizationLaura Po
 
Grouping and Joining in Lucene/Solr
Grouping and Joining in Lucene/SolrGrouping and Joining in Lucene/Solr
Grouping and Joining in Lucene/Solrlucenerevolution
 
Mikhail khludnev: approaching-join index for lucene
Mikhail khludnev:  approaching-join index for luceneMikhail khludnev:  approaching-join index for lucene
Mikhail khludnev: approaching-join index for luceneGrid Dynamics
 
Producing, publishing and consuming linked data - CSHALS 2013
Producing, publishing and consuming linked data - CSHALS 2013Producing, publishing and consuming linked data - CSHALS 2013
Producing, publishing and consuming linked data - CSHALS 2013François Belleau
 
Publishing Linked Data 3/5 Semtech2011
Publishing Linked Data 3/5 Semtech2011Publishing Linked Data 3/5 Semtech2011
Publishing Linked Data 3/5 Semtech2011Juan Sequeda
 
Pg no sql_beatemjoinem_v10
Pg no sql_beatemjoinem_v10Pg no sql_beatemjoinem_v10
Pg no sql_beatemjoinem_v10Jamey Hanson
 
What_do_Knowledge_Graph_Embeddings_Learn.pdf
What_do_Knowledge_Graph_Embeddings_Learn.pdfWhat_do_Knowledge_Graph_Embeddings_Learn.pdf
What_do_Knowledge_Graph_Embeddings_Learn.pdfHeiko Paulheim
 
Spark Cassandra 2016
Spark Cassandra 2016Spark Cassandra 2016
Spark Cassandra 2016Duyhai Doan
 
Introduction to and Extending Spark ML
Introduction to and Extending Spark MLIntroduction to and Extending Spark ML
Introduction to and Extending Spark MLHolden Karau
 

La actualidad más candente (20)

Getty Vocabulary Program LOD: Ontologies and Semantic Representation
Getty Vocabulary Program LOD: Ontologies and Semantic RepresentationGetty Vocabulary Program LOD: Ontologies and Semantic Representation
Getty Vocabulary Program LOD: Ontologies and Semantic Representation
 
Querying the Web of Data
Querying the Web of DataQuerying the Web of Data
Querying the Web of Data
 
Grails And The Semantic Web
Grails And The Semantic WebGrails And The Semantic Web
Grails And The Semantic Web
 
Harnessing The Semantic Web
Harnessing The Semantic WebHarnessing The Semantic Web
Harnessing The Semantic Web
 
A hands on overview of the semantic web
A hands on overview of the semantic webA hands on overview of the semantic web
A hands on overview of the semantic web
 
Overview of the SPARQL-Generate language and latest developments
Overview of the SPARQL-Generate language and latest developmentsOverview of the SPARQL-Generate language and latest developments
Overview of the SPARQL-Generate language and latest developments
 
Wi2015 - Clustering of Linked Open Data - the LODeX tool
Wi2015 - Clustering of Linked Open Data - the LODeX toolWi2015 - Clustering of Linked Open Data - the LODeX tool
Wi2015 - Clustering of Linked Open Data - the LODeX tool
 
RDB2RDF, an overview of R2RML and Direct Mapping
RDB2RDF, an overview of R2RML and Direct MappingRDB2RDF, an overview of R2RML and Direct Mapping
RDB2RDF, an overview of R2RML and Direct Mapping
 
Linked Open Data Visualization
Linked Open Data VisualizationLinked Open Data Visualization
Linked Open Data Visualization
 
Jena Programming
Jena ProgrammingJena Programming
Jena Programming
 
Grouping and Joining in Lucene/Solr
Grouping and Joining in Lucene/SolrGrouping and Joining in Lucene/Solr
Grouping and Joining in Lucene/Solr
 
Mikhail khludnev: approaching-join index for lucene
Mikhail khludnev:  approaching-join index for luceneMikhail khludnev:  approaching-join index for lucene
Mikhail khludnev: approaching-join index for lucene
 
Producing, publishing and consuming linked data - CSHALS 2013
Producing, publishing and consuming linked data - CSHALS 2013Producing, publishing and consuming linked data - CSHALS 2013
Producing, publishing and consuming linked data - CSHALS 2013
 
Efficient RDF Interchange (ERI) Format for RDF Data Streams
Efficient RDF Interchange (ERI) Format for RDF Data StreamsEfficient RDF Interchange (ERI) Format for RDF Data Streams
Efficient RDF Interchange (ERI) Format for RDF Data Streams
 
Publishing Linked Data 3/5 Semtech2011
Publishing Linked Data 3/5 Semtech2011Publishing Linked Data 3/5 Semtech2011
Publishing Linked Data 3/5 Semtech2011
 
Scaling the (evolving) web data –at low cost-
Scaling the (evolving) web data –at low cost-Scaling the (evolving) web data –at low cost-
Scaling the (evolving) web data –at low cost-
 
Pg no sql_beatemjoinem_v10
Pg no sql_beatemjoinem_v10Pg no sql_beatemjoinem_v10
Pg no sql_beatemjoinem_v10
 
What_do_Knowledge_Graph_Embeddings_Learn.pdf
What_do_Knowledge_Graph_Embeddings_Learn.pdfWhat_do_Knowledge_Graph_Embeddings_Learn.pdf
What_do_Knowledge_Graph_Embeddings_Learn.pdf
 
Spark Cassandra 2016
Spark Cassandra 2016Spark Cassandra 2016
Spark Cassandra 2016
 
Introduction to and Extending Spark ML
Introduction to and Extending Spark MLIntroduction to and Extending Spark ML
Introduction to and Extending Spark ML
 

Similar a Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 1 (ICWE 2012 Ed.)

ISWC GoodRelations Tutorial Part 2
ISWC GoodRelations Tutorial Part 2ISWC GoodRelations Tutorial Part 2
ISWC GoodRelations Tutorial Part 2Martin Hepp
 
GoodRelations Tutorial Part 2
GoodRelations Tutorial Part 2GoodRelations Tutorial Part 2
GoodRelations Tutorial Part 2guestecacad2
 
Semantic web application architecture
Semantic web   application architectureSemantic web   application architecture
Semantic web application architectureDon Willems
 
Eclipse RDF4J - Working with RDF in Java
Eclipse RDF4J - Working with RDF in JavaEclipse RDF4J - Working with RDF in Java
Eclipse RDF4J - Working with RDF in JavaJeen Broekstra
 
An Introduction to RDF and the Web of Data
An Introduction to RDF and the Web of DataAn Introduction to RDF and the Web of Data
An Introduction to RDF and the Web of DataOlaf Hartig
 
VALA Tech Camp 2017: Intro to Wikidata & SPARQL
VALA Tech Camp 2017: Intro to Wikidata & SPARQLVALA Tech Camp 2017: Intro to Wikidata & SPARQL
VALA Tech Camp 2017: Intro to Wikidata & SPARQLJane Frazier
 
Resource description framework
Resource description frameworkResource description framework
Resource description frameworkhozifa1010
 
Build Knowledge Graphs with Oracle RDF to Extract More Value from Your Data
Build Knowledge Graphs with Oracle RDF to Extract More Value from Your DataBuild Knowledge Graphs with Oracle RDF to Extract More Value from Your Data
Build Knowledge Graphs with Oracle RDF to Extract More Value from Your DataJean Ihm
 
Charper.lawdi.20120601
Charper.lawdi.20120601Charper.lawdi.20120601
Charper.lawdi.20120601charper
 
Querying Linked Data with SPARQL (2010)
Querying Linked Data with SPARQL (2010)Querying Linked Data with SPARQL (2010)
Querying Linked Data with SPARQL (2010)Olaf Hartig
 
Graph basedrdf storeforapachecassandra
Graph basedrdf storeforapachecassandraGraph basedrdf storeforapachecassandra
Graph basedrdf storeforapachecassandraRavindra Ranwala
 
Linked Open Data: A simple how-to
Linked Open Data: A simple how-toLinked Open Data: A simple how-to
Linked Open Data: A simple how-tonvitucci
 
Practical Cross-Dataset Queries with SPARQL (Introduction)
Practical Cross-Dataset Queries with SPARQL (Introduction)Practical Cross-Dataset Queries with SPARQL (Introduction)
Practical Cross-Dataset Queries with SPARQL (Introduction)Richard Cyganiak
 
Semantic Web introduction
Semantic Web introductionSemantic Web introduction
Semantic Web introductionGraphity
 
LinkedStat: making ISTAT data more valuable
LinkedStat: making ISTAT data more valuableLinkedStat: making ISTAT data more valuable
LinkedStat: making ISTAT data more valuableSpazioDati
 
Data Integration And Visualization
Data Integration And VisualizationData Integration And Visualization
Data Integration And VisualizationIvan Ermilov
 
8th TUC Meeting - Zhe Wu (Oracle USA). Bridging RDF Graph and Property Graph...
8th TUC Meeting -  Zhe Wu (Oracle USA). Bridging RDF Graph and Property Graph...8th TUC Meeting -  Zhe Wu (Oracle USA). Bridging RDF Graph and Property Graph...
8th TUC Meeting - Zhe Wu (Oracle USA). Bridging RDF Graph and Property Graph...LDBC council
 
Linked data demystified:Practical efforts to transform CONTENTDM metadata int...
Linked data demystified:Practical efforts to transform CONTENTDM metadata int...Linked data demystified:Practical efforts to transform CONTENTDM metadata int...
Linked data demystified:Practical efforts to transform CONTENTDM metadata int...Cory Lampert
 

Similar a Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 1 (ICWE 2012 Ed.) (20)

ISWC GoodRelations Tutorial Part 2
ISWC GoodRelations Tutorial Part 2ISWC GoodRelations Tutorial Part 2
ISWC GoodRelations Tutorial Part 2
 
GoodRelations Tutorial Part 2
GoodRelations Tutorial Part 2GoodRelations Tutorial Part 2
GoodRelations Tutorial Part 2
 
Metadata is back!
Metadata is back!Metadata is back!
Metadata is back!
 
Semantic web application architecture
Semantic web   application architectureSemantic web   application architecture
Semantic web application architecture
 
Eclipse RDF4J - Working with RDF in Java
Eclipse RDF4J - Working with RDF in JavaEclipse RDF4J - Working with RDF in Java
Eclipse RDF4J - Working with RDF in Java
 
An Introduction to RDF and the Web of Data
An Introduction to RDF and the Web of DataAn Introduction to RDF and the Web of Data
An Introduction to RDF and the Web of Data
 
VALA Tech Camp 2017: Intro to Wikidata & SPARQL
VALA Tech Camp 2017: Intro to Wikidata & SPARQLVALA Tech Camp 2017: Intro to Wikidata & SPARQL
VALA Tech Camp 2017: Intro to Wikidata & SPARQL
 
Resource description framework
Resource description frameworkResource description framework
Resource description framework
 
Build Knowledge Graphs with Oracle RDF to Extract More Value from Your Data
Build Knowledge Graphs with Oracle RDF to Extract More Value from Your DataBuild Knowledge Graphs with Oracle RDF to Extract More Value from Your Data
Build Knowledge Graphs with Oracle RDF to Extract More Value from Your Data
 
Charper.lawdi.20120601
Charper.lawdi.20120601Charper.lawdi.20120601
Charper.lawdi.20120601
 
Querying Linked Data with SPARQL (2010)
Querying Linked Data with SPARQL (2010)Querying Linked Data with SPARQL (2010)
Querying Linked Data with SPARQL (2010)
 
Graph basedrdf storeforapachecassandra
Graph basedrdf storeforapachecassandraGraph basedrdf storeforapachecassandra
Graph basedrdf storeforapachecassandra
 
Linked Open Data: A simple how-to
Linked Open Data: A simple how-toLinked Open Data: A simple how-to
Linked Open Data: A simple how-to
 
Practical Cross-Dataset Queries with SPARQL (Introduction)
Practical Cross-Dataset Queries with SPARQL (Introduction)Practical Cross-Dataset Queries with SPARQL (Introduction)
Practical Cross-Dataset Queries with SPARQL (Introduction)
 
Semantic Web introduction
Semantic Web introductionSemantic Web introduction
Semantic Web introduction
 
Tutorial Linked APIs
Tutorial Linked APIsTutorial Linked APIs
Tutorial Linked APIs
 
LinkedStat: making ISTAT data more valuable
LinkedStat: making ISTAT data more valuableLinkedStat: making ISTAT data more valuable
LinkedStat: making ISTAT data more valuable
 
Data Integration And Visualization
Data Integration And VisualizationData Integration And Visualization
Data Integration And Visualization
 
8th TUC Meeting - Zhe Wu (Oracle USA). Bridging RDF Graph and Property Graph...
8th TUC Meeting -  Zhe Wu (Oracle USA). Bridging RDF Graph and Property Graph...8th TUC Meeting -  Zhe Wu (Oracle USA). Bridging RDF Graph and Property Graph...
8th TUC Meeting - Zhe Wu (Oracle USA). Bridging RDF Graph and Property Graph...
 
Linked data demystified:Practical efforts to transform CONTENTDM metadata int...
Linked data demystified:Practical efforts to transform CONTENTDM metadata int...Linked data demystified:Practical efforts to transform CONTENTDM metadata int...
Linked data demystified:Practical efforts to transform CONTENTDM metadata int...
 

Más de Olaf Hartig

A Context-Based Semantics for SPARQL Property Paths over the Web
A Context-Based Semantics for SPARQL Property Paths over the WebA Context-Based Semantics for SPARQL Property Paths over the Web
A Context-Based Semantics for SPARQL Property Paths over the WebOlaf Hartig
 
Tutorial "Linked Data Query Processing" Part 5 "Query Planning and Optimizati...
Tutorial "Linked Data Query Processing" Part 5 "Query Planning and Optimizati...Tutorial "Linked Data Query Processing" Part 5 "Query Planning and Optimizati...
Tutorial "Linked Data Query Processing" Part 5 "Query Planning and Optimizati...Olaf Hartig
 
Tutorial "Linked Data Query Processing" Part 4 "Execution Process" (WWW 2013 ...
Tutorial "Linked Data Query Processing" Part 4 "Execution Process" (WWW 2013 ...Tutorial "Linked Data Query Processing" Part 4 "Execution Process" (WWW 2013 ...
Tutorial "Linked Data Query Processing" Part 4 "Execution Process" (WWW 2013 ...Olaf Hartig
 
Tutorial "Linked Data Query Processing" Part 3 "Source Selection Strategies" ...
Tutorial "Linked Data Query Processing" Part 3 "Source Selection Strategies" ...Tutorial "Linked Data Query Processing" Part 3 "Source Selection Strategies" ...
Tutorial "Linked Data Query Processing" Part 3 "Source Selection Strategies" ...Olaf Hartig
 
Tutorial "Linked Data Query Processing" Part 2 "Theoretical Foundations" (WWW...
Tutorial "Linked Data Query Processing" Part 2 "Theoretical Foundations" (WWW...Tutorial "Linked Data Query Processing" Part 2 "Theoretical Foundations" (WWW...
Tutorial "Linked Data Query Processing" Part 2 "Theoretical Foundations" (WWW...Olaf Hartig
 
Tutorial "Linked Data Query Processing" Part 1 "Introduction" (WWW 2013 Ed.)
Tutorial "Linked Data Query Processing" Part 1 "Introduction" (WWW 2013 Ed.)Tutorial "Linked Data Query Processing" Part 1 "Introduction" (WWW 2013 Ed.)
Tutorial "Linked Data Query Processing" Part 1 "Introduction" (WWW 2013 Ed.)Olaf Hartig
 
An Overview on PROV-AQ: Provenance Access and Query
An Overview on PROV-AQ: Provenance Access and QueryAn Overview on PROV-AQ: Provenance Access and Query
An Overview on PROV-AQ: Provenance Access and QueryOlaf Hartig
 
(An Overview on) Linked Data Management and SPARQL Querying (ISSLOD2011)
(An Overview on) Linked Data Management and SPARQL Querying (ISSLOD2011)(An Overview on) Linked Data Management and SPARQL Querying (ISSLOD2011)
(An Overview on) Linked Data Management and SPARQL Querying (ISSLOD2011)Olaf Hartig
 
Zero-Knowledge Query Planning for an Iterator Implementation of Link Traversa...
Zero-Knowledge Query Planning for an Iterator Implementation of Link Traversa...Zero-Knowledge Query Planning for an Iterator Implementation of Link Traversa...
Zero-Knowledge Query Planning for an Iterator Implementation of Link Traversa...Olaf Hartig
 
The Impact of Data Caching of on Query Execution for Linked Data
The Impact of Data Caching of on Query Execution for Linked DataThe Impact of Data Caching of on Query Execution for Linked Data
The Impact of Data Caching of on Query Execution for Linked DataOlaf Hartig
 
How Caching Improves Efficiency and Result Completeness for Querying Linked Data
How Caching Improves Efficiency and Result Completeness for Querying Linked DataHow Caching Improves Efficiency and Result Completeness for Querying Linked Data
How Caching Improves Efficiency and Result Completeness for Querying Linked DataOlaf Hartig
 
A Main Memory Index Structure to Query Linked Data
A Main Memory Index Structure to Query Linked DataA Main Memory Index Structure to Query Linked Data
A Main Memory Index Structure to Query Linked DataOlaf Hartig
 
Towards a Data-Centric Notion of Trust in the Semantic Web (A Position Statem...
Towards a Data-Centric Notion of Trust in the Semantic Web (A Position Statem...Towards a Data-Centric Notion of Trust in the Semantic Web (A Position Statem...
Towards a Data-Centric Notion of Trust in the Semantic Web (A Position Statem...Olaf Hartig
 
Brief Introduction to the Provenance Vocabulary (for W3C prov-xg)
Brief Introduction to the Provenance Vocabulary (for W3C prov-xg)Brief Introduction to the Provenance Vocabulary (for W3C prov-xg)
Brief Introduction to the Provenance Vocabulary (for W3C prov-xg)Olaf Hartig
 
Answers to usual issues in getting started with consuming Linked Data (2010)
Answers to usual issues in getting started with consuming Linked Data (2010)Answers to usual issues in getting started with consuming Linked Data (2010)
Answers to usual issues in getting started with consuming Linked Data (2010)Olaf Hartig
 
Linked Data on the Web
Linked Data on the WebLinked Data on the Web
Linked Data on the WebOlaf Hartig
 
Executing SPARQL Queries of the Web of Linked Data
Executing SPARQL Queries of the Web of Linked DataExecuting SPARQL Queries of the Web of Linked Data
Executing SPARQL Queries of the Web of Linked DataOlaf Hartig
 
Using Web Data Provenance for Quality Assessment
Using Web Data Provenance for Quality AssessmentUsing Web Data Provenance for Quality Assessment
Using Web Data Provenance for Quality AssessmentOlaf Hartig
 
Answers to usual issues in getting started with consuming Linked Data
Answers to usual issues in getting started with consuming Linked DataAnswers to usual issues in getting started with consuming Linked Data
Answers to usual issues in getting started with consuming Linked DataOlaf Hartig
 
Querying Trust in RDF Data with tSPARQL
Querying Trust in RDF Data with tSPARQLQuerying Trust in RDF Data with tSPARQL
Querying Trust in RDF Data with tSPARQLOlaf Hartig
 

Más de Olaf Hartig (20)

A Context-Based Semantics for SPARQL Property Paths over the Web
A Context-Based Semantics for SPARQL Property Paths over the WebA Context-Based Semantics for SPARQL Property Paths over the Web
A Context-Based Semantics for SPARQL Property Paths over the Web
 
Tutorial "Linked Data Query Processing" Part 5 "Query Planning and Optimizati...
Tutorial "Linked Data Query Processing" Part 5 "Query Planning and Optimizati...Tutorial "Linked Data Query Processing" Part 5 "Query Planning and Optimizati...
Tutorial "Linked Data Query Processing" Part 5 "Query Planning and Optimizati...
 
Tutorial "Linked Data Query Processing" Part 4 "Execution Process" (WWW 2013 ...
Tutorial "Linked Data Query Processing" Part 4 "Execution Process" (WWW 2013 ...Tutorial "Linked Data Query Processing" Part 4 "Execution Process" (WWW 2013 ...
Tutorial "Linked Data Query Processing" Part 4 "Execution Process" (WWW 2013 ...
 
Tutorial "Linked Data Query Processing" Part 3 "Source Selection Strategies" ...
Tutorial "Linked Data Query Processing" Part 3 "Source Selection Strategies" ...Tutorial "Linked Data Query Processing" Part 3 "Source Selection Strategies" ...
Tutorial "Linked Data Query Processing" Part 3 "Source Selection Strategies" ...
 
Tutorial "Linked Data Query Processing" Part 2 "Theoretical Foundations" (WWW...
Tutorial "Linked Data Query Processing" Part 2 "Theoretical Foundations" (WWW...Tutorial "Linked Data Query Processing" Part 2 "Theoretical Foundations" (WWW...
Tutorial "Linked Data Query Processing" Part 2 "Theoretical Foundations" (WWW...
 
Tutorial "Linked Data Query Processing" Part 1 "Introduction" (WWW 2013 Ed.)
Tutorial "Linked Data Query Processing" Part 1 "Introduction" (WWW 2013 Ed.)Tutorial "Linked Data Query Processing" Part 1 "Introduction" (WWW 2013 Ed.)
Tutorial "Linked Data Query Processing" Part 1 "Introduction" (WWW 2013 Ed.)
 
An Overview on PROV-AQ: Provenance Access and Query
An Overview on PROV-AQ: Provenance Access and QueryAn Overview on PROV-AQ: Provenance Access and Query
An Overview on PROV-AQ: Provenance Access and Query
 
(An Overview on) Linked Data Management and SPARQL Querying (ISSLOD2011)
(An Overview on) Linked Data Management and SPARQL Querying (ISSLOD2011)(An Overview on) Linked Data Management and SPARQL Querying (ISSLOD2011)
(An Overview on) Linked Data Management and SPARQL Querying (ISSLOD2011)
 
Zero-Knowledge Query Planning for an Iterator Implementation of Link Traversa...
Zero-Knowledge Query Planning for an Iterator Implementation of Link Traversa...Zero-Knowledge Query Planning for an Iterator Implementation of Link Traversa...
Zero-Knowledge Query Planning for an Iterator Implementation of Link Traversa...
 
The Impact of Data Caching of on Query Execution for Linked Data
The Impact of Data Caching of on Query Execution for Linked DataThe Impact of Data Caching of on Query Execution for Linked Data
The Impact of Data Caching of on Query Execution for Linked Data
 
How Caching Improves Efficiency and Result Completeness for Querying Linked Data
How Caching Improves Efficiency and Result Completeness for Querying Linked DataHow Caching Improves Efficiency and Result Completeness for Querying Linked Data
How Caching Improves Efficiency and Result Completeness for Querying Linked Data
 
A Main Memory Index Structure to Query Linked Data
A Main Memory Index Structure to Query Linked DataA Main Memory Index Structure to Query Linked Data
A Main Memory Index Structure to Query Linked Data
 
Towards a Data-Centric Notion of Trust in the Semantic Web (A Position Statem...
Towards a Data-Centric Notion of Trust in the Semantic Web (A Position Statem...Towards a Data-Centric Notion of Trust in the Semantic Web (A Position Statem...
Towards a Data-Centric Notion of Trust in the Semantic Web (A Position Statem...
 
Brief Introduction to the Provenance Vocabulary (for W3C prov-xg)
Brief Introduction to the Provenance Vocabulary (for W3C prov-xg)Brief Introduction to the Provenance Vocabulary (for W3C prov-xg)
Brief Introduction to the Provenance Vocabulary (for W3C prov-xg)
 
Answers to usual issues in getting started with consuming Linked Data (2010)
Answers to usual issues in getting started with consuming Linked Data (2010)Answers to usual issues in getting started with consuming Linked Data (2010)
Answers to usual issues in getting started with consuming Linked Data (2010)
 
Linked Data on the Web
Linked Data on the WebLinked Data on the Web
Linked Data on the Web
 
Executing SPARQL Queries of the Web of Linked Data
Executing SPARQL Queries of the Web of Linked DataExecuting SPARQL Queries of the Web of Linked Data
Executing SPARQL Queries of the Web of Linked Data
 
Using Web Data Provenance for Quality Assessment
Using Web Data Provenance for Quality AssessmentUsing Web Data Provenance for Quality Assessment
Using Web Data Provenance for Quality Assessment
 
Answers to usual issues in getting started with consuming Linked Data
Answers to usual issues in getting started with consuming Linked DataAnswers to usual issues in getting started with consuming Linked Data
Answers to usual issues in getting started with consuming Linked Data
 
Querying Trust in RDF Data with tSPARQL
Querying Trust in RDF Data with tSPARQLQuerying Trust in RDF Data with tSPARQL
Querying Trust in RDF Data with tSPARQL
 

Último

AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 

Último (20)

AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 

Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 1 (ICWE 2012 Ed.)

  • 1. ICWE 2012 Tutorial An Introduction to SPARQL and Queries over Linked Data ●●● Chapter 1: Linked Data and RDF Olaf Hartig http://olafhartig.de/foaf.rdf#olaf @olafhartig Database and Information Systems Research Group Humboldt-Universität zu Berlin
  • 2. Outline Chapter 1: Linked Data and RDF Chapter 2: The SPARQL Query Language Chapter 3: Querying Linked Data on the Web http://olafhartig.de/icwe.html Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 2
  • 3. Chapter 1  Motivation  Technical Foundations  The Web of Linked Data http://olafhartig.de/icwe.html Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 3
  • 4. The Traditional Web Traditional Web = Internet + Docs + Links Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 4
  • 5. The Traditional Web So what is the problem? Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 5
  • 6. The Traditional Web So what is the problem? ● Web content is only loosely structured ● Difficult for applications to do smart things Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 6
  • 7. The Traditional Web So what is the problem? ● Web content is only loosely structured ● Difficult for applications to do smart things Solution: ● Increase the structure of Web content ● Publish data Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 7
  • 8. The Traditional Web So what is the problem? ● Web content is only loosely structured ● Difficult for applications to do smart things Solution: ● Increase the structure of Web content ● Publish data But wait… don't we do that already? Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 8
  • 9. The Traditional Web ● Content providers offer access via Web APIs ● Mashups combine this data Web API Web API Web API Web API Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 9
  • 10. The Traditional Web ● Content providers offer access via Web APIs ● Mashups combine this data Shortcomings: ● APIs are proprietary ● Mashups are based on a fixed set of data sources Web API ● YouWeb API can not set hyperlinks between data object Web API Web API Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 10
  • 11. Chapter 1  Motivation  Technical Foundations  The Web of Linked Data http://olafhartig.de/icwe.html Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 11
  • 12. Technical Foundations There is no magic – Linked Data is based on well-established (Semantic) Web technologies. ● RDF as shared data model ● HTTP to access data on the Web ● URIs ● Globally unique identifiers for entities ● Pointers to data ● Hyperlinks Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 12
  • 13. RDF in General ● Resource Description Framework (RDF) ● A resource is basically everything ● E.g. persons, places, Web documents, abstract concepts ● Descriptions of resources ● Attributes ● Relations ● The framework contains: ● A data model, and ● Languages and syntaxes Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 13
  • 14. RDF Data Model ● Data comes as a set of triples (subject, predicate, object) ● Subject: resources ● Predicate: properties ● Object: literals or resources ● Examples: ● ( Mount Baker , last eruption , 1880 ) ● ( Mount Baker , location , Washington ) Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 14
  • 15. RDF Data Model ● RDF is also a graph model ● Triples as directed edges ● Subjects and objects as vertices ● Edges labeled by predicate ● Example: ● ( Mount Baker , last eruption , 1880 ) ● ( Mount Baker , location , Washington ) location Mount Baker Washington last eruption 1880 Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 15
  • 16. Uniform Resource Identifier (URI) ● URIs extend the concept of URLs ● Globally unique identifier for resources ● URL of a Web document usually used as its URI ● Attention: URIs identify not only Web documents ● Example: ● Me: http://olafhartig.de/~hartig/foaf.rdf#olaf ● RDF document about me: http://olafhartig.de/~hartig/foaf.rdf ● HTML document about me: http://olafhartig.de/~hartig/index.html Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 16
  • 17. Example (revisited) ● (http://dbpedia.org/resource/Mount_Baker, http://dbpedia.org/property/lastEruption, 1880) ● (http://dbpedia.org/resource/Mount_Baker, http://dbpedia.org/property/location, http://dbpedia.org/resource/Washington) http://dbpedia.org/resource/Washington http://dbpedia.org/property/location http://dbpedia.org/resource/Mount_Baker http://dbpedia.org/property/lastEruption 1880 Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 17
  • 18. Compact URIs (CURIE) ● Abbreviated Notation for URIs ● Syntax: ● Prefix name (references the prefix of the URI) ● Colon character (“:”) ● Reference part ● URI by concatenating the prefix and the reference part ● Examples: ● dbpedia:Mount_Baker for http://dbpedia.org/resource/Mount_Baker ● myfoaf:olaf for http://olafhartig.de/~hartig/foaf.rdf#olaf Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 18
  • 19. Example with CURIEs ● Using ● dbpedia for prefix http://dbpedia.org/resource/ ● p for prefix http://dbpedia.org/property/ ● we have ● (dbpedia:Mount_Baker, p:lastEruption, 1880) ● (dbpedia:Mount_Baker, p:location, dbpedia:Washington) p:location dbpedia:Mount_Baker dbpedia:Washington p:lastEruption 1880 Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 19
  • 20. Literals ● Literals may occur in the object position of triples ● Represented by strings ● Literal strings interpreted by datatypes ● Datatype identified by a URI ● Common to use the XML Schema datatypes ● No datatype: interpreted as xsd:string ● Untyped literals may have language tags (e.g. @de) p:name dbpedia:Mount_Baker "Mount Baker"@en p:lastEruption "1880"^^xsd:integer Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 20
  • 21. Turtle – A Readable Syntax for RDF ● Simple, human-readable notation to list RDF triples: ● Triples separated by a period (“.”) character ● Example: <http://dbpedia.org/resource/Mount_Baker> <http://dbpedia.org/resource/Mount_Baker> <http://dbpedia.org/property/lastEruption> <http://dbpedia.org/property/lastEruption> "1880"^^xsd:integer . "1880"^^xsd:integer . <http://dbpedia.org/resource/Mount_Baker> <http://dbpedia.org/resource/Mount_Baker> <http://dbpedia.org/property/location> <http://dbpedia.org/property/location> <http://dbpedia.org/resource/Washington> . <http://dbpedia.org/resource/Washington> . Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 21
  • 22. Turtle – A Readable Syntax for RDF ● Turtle supports the use of CURIEs: ● @prefix directive binds a prefix to a namespace URI @prefix @prefix dbpedia : <http://dbpedia.org/resource/> . dbpedia : <http://dbpedia.org/resource/> . @prefix @prefix p : <http://dbpedia.org/property/> . p : <http://dbpedia.org/property/> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . dbpedia:Mount_Baker dbpedia:Mount_Baker p:lastEruption p:lastEruption "1880"^^xsd:integer . "1880"^^xsd:integer . dbpedia:Mount_Baker dbpedia:Mount_Baker p:location p:location dbpedia:Washington . dbpedia:Washington . dbpedia:Washington dbpedia:Washington p:borderingstates p:borderingstates dbpedia:Oregon . dbpedia:Oregon . dbpedia:Washington dbpedia:Washington p:borderingstates p:borderingstates dbpedia:Idaho . dbpedia:Idaho . Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 22
  • 23. Turtle – A Readable Syntax for RDF ● Turtle provides some syntactic sugar: ● Property lists separated by a semicolon (“;”) character ● Object lists separated by a comma (“,”) character @prefix @prefix dbpedia : <http://dbpedia.org/resource/> . dbpedia : <http://dbpedia.org/resource/> . @prefix @prefix p : <http://dbpedia.org/property/> . p : <http://dbpedia.org/property/> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . dbpedia:Mount_Baker p:lastEruption "1880"^^xsd:integer ; dbpedia:Mount_Baker p:lastEruption "1880"^^xsd:integer ; p:location p:location dbpedia:Washington . dbpedia:Washington . dbpedia:Washington p:borderingstates dbpedia:Oregon , dbpedia:Washington p:borderingstates dbpedia:Oregon , dbpedia:Idaho . dbpedia:Idaho . Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 23
  • 24. Turtle – A Readable Syntax for RDF ● More syntactic sugar: ● Shortcuts for number literals dbpedia:Mount_Baker p:lastEruption "1880"^^xsd:integer ; dbpedia:Mount_Baker p:lastEruption "1880"^^xsd:integer ; geo:lat "48.777222"^^xsd:float ; geo:lat "48.777222"^^xsd:float ; geo:long "-121.813332"^^xsd:float . geo:long "-121.813332"^^xsd:float . Equivalent: dbpedia:Mount_Baker p:lastEruption 1880 ; dbpedia:Mount_Baker p:lastEruption 1880 ; geo:lat 48.777222 ; geo:lat 48.777222 ; geo:long -121.813332 . geo:long -121.813332 . Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 24
  • 25. RDF/XML – An XML syntax for RDF @prefix dbpedia : <http://dbpedia.org/resource/> . @prefix dbpedia : <http://dbpedia.org/resource/> . Turtle @prefix p : <http://dbpedia.org/property/> . @prefix p : <http://dbpedia.org/property/> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . dbpedia:Mount_Baker p:lastEruption "1880"^^xsd:integer . dbpedia:Mount_Baker p:lastEruption "1880"^^xsd:integer . dbpedia:Mount_Baker p:location dbpedia:Mount_Baker p:location dbpedia:Washington . dbpedia:Washington . <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:p="http://dbpedia.org/property/"> xmlns:p="http://dbpedia.org/property/"> <rdf:Description rdf:about="http://dbpedia.org/resource/Mount_Baker"> <rdf:Description rdf:about="http://dbpedia.org/resource/Mount_Baker"> <p:lastEruption ‣ <p:lastEruption ‣ rdf:datatype="http://www.w3.org/2001/XMLSchema#integer" ‣ rdf:datatype="http://www.w3.org/2001/XMLSchema#integer" ‣ >1880</p:lastEruption> >1880</p:lastEruption> <p:location rdf:resource="http://dbpedia.org/resource/Washington"/> <p:location rdf:resource="http://dbpedia.org/resource/Washington"/> </rdf:Description> </rdf:Description> </rdf:RDF> </rdf:RDF> RDF/XML Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 25
  • 26. Blank Nodes myfoaf:olaf ● Blank nodes represent unnamed, anonymous resources wot:hasKey ● Not identified by a URI rdf:type ● Blank node identifiers wot:PubKey ● Identification of blank nodes in triple serializations wot:hex_id ● Form: _:xyz "E27D37D7" ● Scope: a single RDF graph myfoaf:olaf wot:hasKey [ rdf:type myfoaf:olaf wot:hasKey [ rdf:type wot:PubKey wot:PubKey ; ; wot:hex_id wot:hex_id "E27D37D7" "E27D37D7" ] . ] . myfoaf:olaf wot:hasKey _:x . myfoaf:olaf wot:hasKey _:x . _:x rdf:type _:x rdf:type wot:PubKey ; wot:PubKey ; wot:hex_id "E27D37D7" . wot:hex_id "E27D37D7" . Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 26
  • 27. Vocabularies and Ontologies ● Defined using RDFS or OWL ● A plenty of vocabularies exist: ● People ● Social media ● Commerce ● Events ● Radio and TV programmes ● Music etc. Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 27
  • 28. Chapter 1  Motivation  Technical Foundations  The Web of Linked Data http://olafhartig.de/icwe.html Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 28
  • 29. Use URIs as names for things ● Use HTTP URIs so that people can look up those names. http://m ● When someone looks up a ymovie URI, provide useful information. ? .d b/movie ● Include links to other URIs so that they can discover more 2449 things. Tim Berners-Lee, July 2006 http://mymovie.db/movie1342 http://mymovie.db/movie0362 http://geo.db/country21 http://geo.db/country7 http://mymovie.db/movie5112 My Movie DB http://geo.db/cityCJ http://geo.db/cityXA http://mymovie.db/movie2449 Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 29
  • 30. Linked Data – An Example http://data.linkedmdb.org/.../2014 Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 30
  • 31. Linked Data – An Example http://data.linkedmdb.org/.../2014 rdf:type http://data.linkedmdb.org/.../film mov ie:re dc fo late dB o af :t ok itle :b as ed http://www4.wi … /0743424425 _n The Shining ea r http://sws.geonames.org/2635167/ Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 31
  • 32. Linked Data – An Example http://data.linkedmdb.org/.../2014 rdf:type http://data.linkedmdb.org/.../film mov ie:re dc fo late dB o af :t ok itle :b as ed http://www4.wi … /0743424425 _n The Shining ea r http://sws.geonames.org/2635167/ n atio l be o pu l n:p :la g s rdf 60943000 United Kingdom Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 32
  • 33. Linked Data – An Example http://data.linkedmdb.org/.../2014 rdf:type http://data.linkedmdb.org/.../film mov ie:re dc fo late dB o af :t ok itle :b as ed http://www4.wi … /0743424425 dc: title _n The Shining ea r http://sws.geonames.org/2635167/ The Shining sko s:s n atio l be pu l ub o n:p :la g je s ct rdf 60943000 United Kingdom http://www4.wi … /Fiction Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 33
  • 34. Linked Data – An Example http://data.linkedmdb.org/.../2014 rdf:type http://data.linkedmdb.org/.../film mov ie:re dc fo late dB o af :t ok itle :b as ed http://www4.wi … /0743424425 dc: title _n The Shining ea r http://sws.geonames.org/2635167/ The Shining sko s:s n atio l be pu l ub o n:p :la g je s ct rdf 60943000 United Kingdom http://www4.wi … /Fiction http://www4.wi … /1571884029 t skos:subjec Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 34
  • 35. Linked Data – An Example http://data.linkedmdb.org/.../2014 rdf:type http://data.linkedmdb.org/.../film mov ie:re dc fo late dB o af :t ok itle :b as ed http://www4.wi … /0743424425 dc: title _n The Shining ea Is this real? r http://sws.geonames.org/2635167/ The Shining sko s:s n atio l be pu l ub o n:p :la g je s ct rdf 60943000 United Kingdom http://www4.wi … /Fiction http://www4.wi … /1571884029 t skos:subjec Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 35
  • 36. W3C Linking Open Data Project ● Grassroots community effort ● Publish existing, open license datasets as Linked Data ● Interlink things between different data sources Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 36
  • 37. W3C Linking Open Data Project As of July 2007 Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 37
  • 38. W3C Linking Open Data Project Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 38
  • 39. Linked Data Publishers ● UK government ● US government ● Thomson Reuters (Open Calais) ● MetaWeb (Freebase) ● BBC ● NY Times ● Best Buy ● CNET etc. Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 39
  • 40. Outline Chapter 1: Linked Data and RDF Chapter 2: The SPARQL Query Language Chapter 3: Querying Linked Data on the Web http://olafhartig.de/icwe.html Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 40
  • 41. These slides have been created by Olaf Hartig http://olafhartig.de Some of the slides in the motivations section are inspired by similar slides from Chris Bizer and from Juan Sequeda. This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License (http://creativecommons.org/licenses/by-sa/3.0/) Olaf Hartig - ICWE 2012 Tutorial "An Introduction to SPARQL and Queries over Linked Data" - Chapter 1: Linked Data and RDF 41