RDF Triple Stores,
SPARQL and the
 Semantic Web
Presented By:            Supervised By:
Muntazir Mehdi   Dipl.-Inf. Andreas M. Weiner



                                                1
Overview
•   A little about Semantic Web
•   RDF structure and syntax
•   SPARQL structure and syntax
•   Data Management & Storage
    •   Sesame’s Architecture
    •   Vertically Partitioned Approach
    •   RDF-3X

• Summary



                                          2
Web today
• Invented by Sir Tim B. Lee (1989)
• Network of unspecified links between web pages
• Problem : Only humans can process information in a
  meaningful way


                  WP2                      WP4


     WP1                       WP3




                                                   3
The Semantic Web
• Semantic := “Meaning of linguistic terms”
• Coined by Sir Tim B. Lee (1997)
• Web of content, Semantic relations between web
  pages
• Machines can process content
  “The Semantic Web is extension of current Web in
   which information is given well-defined meaning,
 better enabling computers and people to work in co-
                      operation”
Ref: Tim B. Lee, J. Hendler, O. Lassila
“The Semantic Web”, Scientific American, May 2001




                                                       4
Goal of Semantic Web
      “The Semantic Web will bring structure to the
     meaningful content of web pages, creating an
  environment where software agents roaming from
   page to page can readily carry out sophisticated
                     tasks for users.”
  “Properly designed, the Semantic Web can assist in
    the evolution of human knowledge as a whole.”
Ref: Tim B. Lee, J. Hendler, O. Lassila
“The Semantic Web”, Scientific American, May 2001




         WHAT?                          WHERE?      WHEN?



                                                            5
Semantic Web Layers




                      6
Information
                 Representation
• Using XML
• Advantage: A lot of parsers and validators are
  available
• But: A single domain of knowledge can be coded
  with multiple possibilities.
• Solution:
      “Resource Description Framework (RDF) is a
  framework and standard data interchange model
      belonging to the family of World Wide Web
   Consortium (W3C) for modeling and representing
                      information”
Ref: Graham Klyne, Jeremy J. Carroll, Brian McBride.
Resource Description Framework (RDF): Concepts and Abstract Syntax, W3C
Recommendation. 2004.
                                                                          7
Resource Description
       Framework (RDF)

• Two parts of RDF:
  •   RDF Model
               a set of statements := triples, directed graphs
  •   RDF Syntax
               Serialization of RDF as XML




                                                                 8
RDF Model
• Statement
    “Technical University Kaiserslautern is located in
                     Kaiserslautern”
• Triple
   <TU Kaiserslautern><isLocatedIn><Kaiserslautern>

• Directed Graph




                                                         9
RDF Model (cont.)
• Some more statements:

    “Technical University Kaiserslautern is located in Kaiserslautern”
        “University of Kaiserslautern was founded in July, 1970”
  “Kaiserslautern University has a department of Computer Science”


• Problem: Many names of one resource
• Solution: Identification (URI)
• RDF Terminology:
  o Subject (Resource)
  o Predicate (Property)
  o Object (Value)


                                                                         10
RDF Model: An example




                        11
RDF Syntax




             12
SPARQL: Query language
      for RDF
• Recursive acronym for SPARQL Protocol and RDF
  Query Language
• Queries may contain triple patterns, conjunctions,
  disjunctions and optional patterns
• Available since 2008 as W3C Recommendation
• Query Forms:
   o   SELECT: return value of mapped variable in a pattern
   o   ASK: returns Boolean value with respect to the query match
   o   CONSTRUCT: returns graph by substituting value
   o   DESCRIBE: returns graph of a match




                                                                    13
SPARQL: An example
• Query




• Output




                        14
Sesame’s Architecture
•   Open source standard framework for RDF data processing;
    storing, querying and reasoning
•   Implementation on:




                                                              15
Sesame’s Functional
            Modules
• Query Module




• Admin Module
  o Incrementally add RDF(S) data
  o Cleaning up repository



• RDF Export Module
  o Exports RDF(S) data/schema/both as serialized XML




                                                        16
Property Table




                 17
Vertically partitioned
      approach




                         18
RDF-3X
• 3 Salient features of RDF-3X:

1. A Storage implementation for RDF which requires
   no further tuning

2. A query processor

3. A query optimizer




                                                     19
Summary
•   A shift from syntactic to semantic web
•   Representation of information with RDF
•   SPARQL for querying RDF data
•   Storage mechanisms and RDF data management




                                                 20
Thank you for your
    attention!


                     21

More Related Content

PPTX
RDF Graph Data Management in Oracle Database and NoSQL Platforms
PDF
Managing RDF data with graph databases
PPTX
Deriving an Emergent Relational Schema from RDF Data
PDF
Converting GHO to RDF
PDF
Graph basedrdf storeforapachecassandra
PPTX
BIBFRAMEing for Non-BIBFRAMErs: An Introduction to Current and Future Catalog...
RDF Graph Data Management in Oracle Database and NoSQL Platforms
Managing RDF data with graph databases
Deriving an Emergent Relational Schema from RDF Data
Converting GHO to RDF
Graph basedrdf storeforapachecassandra
BIBFRAMEing for Non-BIBFRAMErs: An Introduction to Current and Future Catalog...

What's hot (16)

PDF
Maximising (Re)Usability of Library metadata using Linked Data
ODP
RDF and the Semantic Web -- Joanna Pszenicyn
PPTX
NoSQL Roundup
PPTX
Scalable Web Data Management using RDF
PPTX
LODLAM Landscape
PDF
Documents, services, and data on the web
PPTX
RDTF Metadata Guidelines: an update
PDF
Sparql a simple knowledge query
PDF
The RDF Report Card: Beyond the Triple Count
PDF
Evolution of the Graph Schema
PDF
Ephedra: efficiently combining RDF data and services using SPARQL federation
PPT
Scripting User Contributed Interlinking
PDF
PhD thesis defense: Large-scale multilingual knowledge extraction, publishin...
PDF
Tools for Next Generation of CMS: XML, RDF, & GRDDL
Maximising (Re)Usability of Library metadata using Linked Data
RDF and the Semantic Web -- Joanna Pszenicyn
NoSQL Roundup
Scalable Web Data Management using RDF
LODLAM Landscape
Documents, services, and data on the web
RDTF Metadata Guidelines: an update
Sparql a simple knowledge query
The RDF Report Card: Beyond the Triple Count
Evolution of the Graph Schema
Ephedra: efficiently combining RDF data and services using SPARQL federation
Scripting User Contributed Interlinking
PhD thesis defense: Large-scale multilingual knowledge extraction, publishin...
Tools for Next Generation of CMS: XML, RDF, & GRDDL
Ad

Similar to RDF Seminar Presentation (20)

PPTX
First Steps in Semantic Data Modelling and Search & Analytics in the Cloud
PPTX
Semantic web
PPTX
Knowledge Representation, Semantic Web
PPT
A review of the state of the art in Machine Learning on the Semantic Web
PPTX
Semantic web
PPTX
Knowledge mangement
PPTX
semantic web.pptxThe Semantic Web is an extension of the WWW
PDF
ISWC GoodRelations Tutorial Part 2
PDF
GoodRelations Tutorial Part 2
PPTX
Semantic Web use cases in outcomes research
PDF
Resource description framework
PDF
Introduction to RDF
PPTX
Semantic Web: introduction & overview
PPTX
From ontology to wiki
PDF
Linked Data Basics
PPT
SPARQL in the Semantic Web
PPTX
An Introduction to NOSQL, Graph Databases and Neo4j
PPT
PDF
WebGUI And The Semantic Web
PPTX
Semantic web
First Steps in Semantic Data Modelling and Search & Analytics in the Cloud
Semantic web
Knowledge Representation, Semantic Web
A review of the state of the art in Machine Learning on the Semantic Web
Semantic web
Knowledge mangement
semantic web.pptxThe Semantic Web is an extension of the WWW
ISWC GoodRelations Tutorial Part 2
GoodRelations Tutorial Part 2
Semantic Web use cases in outcomes research
Resource description framework
Introduction to RDF
Semantic Web: introduction & overview
From ontology to wiki
Linked Data Basics
SPARQL in the Semantic Web
An Introduction to NOSQL, Graph Databases and Neo4j
WebGUI And The Semantic Web
Semantic web
Ad

RDF Seminar Presentation

  • 1. RDF Triple Stores, SPARQL and the Semantic Web Presented By: Supervised By: Muntazir Mehdi Dipl.-Inf. Andreas M. Weiner 1
  • 2. Overview • A little about Semantic Web • RDF structure and syntax • SPARQL structure and syntax • Data Management & Storage • Sesame’s Architecture • Vertically Partitioned Approach • RDF-3X • Summary 2
  • 3. Web today • Invented by Sir Tim B. Lee (1989) • Network of unspecified links between web pages • Problem : Only humans can process information in a meaningful way WP2 WP4 WP1 WP3 3
  • 4. The Semantic Web • Semantic := “Meaning of linguistic terms” • Coined by Sir Tim B. Lee (1997) • Web of content, Semantic relations between web pages • Machines can process content “The Semantic Web is extension of current Web in which information is given well-defined meaning, better enabling computers and people to work in co- operation” Ref: Tim B. Lee, J. Hendler, O. Lassila “The Semantic Web”, Scientific American, May 2001 4
  • 5. Goal of Semantic Web “The Semantic Web will bring structure to the meaningful content of web pages, creating an environment where software agents roaming from page to page can readily carry out sophisticated tasks for users.” “Properly designed, the Semantic Web can assist in the evolution of human knowledge as a whole.” Ref: Tim B. Lee, J. Hendler, O. Lassila “The Semantic Web”, Scientific American, May 2001 WHAT? WHERE? WHEN? 5
  • 7. Information Representation • Using XML • Advantage: A lot of parsers and validators are available • But: A single domain of knowledge can be coded with multiple possibilities. • Solution: “Resource Description Framework (RDF) is a framework and standard data interchange model belonging to the family of World Wide Web Consortium (W3C) for modeling and representing information” Ref: Graham Klyne, Jeremy J. Carroll, Brian McBride. Resource Description Framework (RDF): Concepts and Abstract Syntax, W3C Recommendation. 2004. 7
  • 8. Resource Description Framework (RDF) • Two parts of RDF: • RDF Model a set of statements := triples, directed graphs • RDF Syntax Serialization of RDF as XML 8
  • 9. RDF Model • Statement “Technical University Kaiserslautern is located in Kaiserslautern” • Triple <TU Kaiserslautern><isLocatedIn><Kaiserslautern> • Directed Graph 9
  • 10. RDF Model (cont.) • Some more statements: “Technical University Kaiserslautern is located in Kaiserslautern” “University of Kaiserslautern was founded in July, 1970” “Kaiserslautern University has a department of Computer Science” • Problem: Many names of one resource • Solution: Identification (URI) • RDF Terminology: o Subject (Resource) o Predicate (Property) o Object (Value) 10
  • 11. RDF Model: An example 11
  • 13. SPARQL: Query language for RDF • Recursive acronym for SPARQL Protocol and RDF Query Language • Queries may contain triple patterns, conjunctions, disjunctions and optional patterns • Available since 2008 as W3C Recommendation • Query Forms: o SELECT: return value of mapped variable in a pattern o ASK: returns Boolean value with respect to the query match o CONSTRUCT: returns graph by substituting value o DESCRIBE: returns graph of a match 13
  • 14. SPARQL: An example • Query • Output 14
  • 15. Sesame’s Architecture • Open source standard framework for RDF data processing; storing, querying and reasoning • Implementation on: 15
  • 16. Sesame’s Functional Modules • Query Module • Admin Module o Incrementally add RDF(S) data o Cleaning up repository • RDF Export Module o Exports RDF(S) data/schema/both as serialized XML 16
  • 18. Vertically partitioned approach 18
  • 19. RDF-3X • 3 Salient features of RDF-3X: 1. A Storage implementation for RDF which requires no further tuning 2. A query processor 3. A query optimizer 19
  • 20. Summary • A shift from syntactic to semantic web • Representation of information with RDF • SPARQL for querying RDF data • Storage mechanisms and RDF data management 20
  • 21. Thank you for your attention! 21