rdf seminar presentation
TRANSCRIPT
![Page 1: RDF Seminar Presentation](https://reader030.vdocument.in/reader030/viewer/2022020116/55a500e61a28abe9098b45f6/html5/thumbnails/1.jpg)
RDF Triple Stores, SPARQL and the
Semantic Web Presented By:
Muntazir Mehdi
Supervised By:
Dipl.-Inf. Andreas M. Weiner
1
![Page 2: RDF Seminar Presentation](https://reader030.vdocument.in/reader030/viewer/2022020116/55a500e61a28abe9098b45f6/html5/thumbnails/2.jpg)
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
![Page 3: RDF Seminar Presentation](https://reader030.vdocument.in/reader030/viewer/2022020116/55a500e61a28abe9098b45f6/html5/thumbnails/3.jpg)
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
WP1
WP2
WP3
WP4
3
![Page 4: RDF Seminar Presentation](https://reader030.vdocument.in/reader030/viewer/2022020116/55a500e61a28abe9098b45f6/html5/thumbnails/4.jpg)
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
![Page 5: RDF Seminar Presentation](https://reader030.vdocument.in/reader030/viewer/2022020116/55a500e61a28abe9098b45f6/html5/thumbnails/5.jpg)
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
![Page 6: RDF Seminar Presentation](https://reader030.vdocument.in/reader030/viewer/2022020116/55a500e61a28abe9098b45f6/html5/thumbnails/6.jpg)
Semantic Web Layers
6
![Page 7: RDF Seminar Presentation](https://reader030.vdocument.in/reader030/viewer/2022020116/55a500e61a28abe9098b45f6/html5/thumbnails/7.jpg)
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
![Page 8: RDF Seminar Presentation](https://reader030.vdocument.in/reader030/viewer/2022020116/55a500e61a28abe9098b45f6/html5/thumbnails/8.jpg)
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
![Page 9: RDF Seminar Presentation](https://reader030.vdocument.in/reader030/viewer/2022020116/55a500e61a28abe9098b45f6/html5/thumbnails/9.jpg)
RDF Model • Statement
“Technical University Kaiserslautern is located in
Kaiserslautern”
• Triple
<TU Kaiserslautern><isLocatedIn><Kaiserslautern>
• Directed Graph
9
![Page 10: RDF Seminar Presentation](https://reader030.vdocument.in/reader030/viewer/2022020116/55a500e61a28abe9098b45f6/html5/thumbnails/10.jpg)
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
![Page 11: RDF Seminar Presentation](https://reader030.vdocument.in/reader030/viewer/2022020116/55a500e61a28abe9098b45f6/html5/thumbnails/11.jpg)
RDF Model: An example
11
![Page 12: RDF Seminar Presentation](https://reader030.vdocument.in/reader030/viewer/2022020116/55a500e61a28abe9098b45f6/html5/thumbnails/12.jpg)
RDF Syntax
12
![Page 13: RDF Seminar Presentation](https://reader030.vdocument.in/reader030/viewer/2022020116/55a500e61a28abe9098b45f6/html5/thumbnails/13.jpg)
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
![Page 14: RDF Seminar Presentation](https://reader030.vdocument.in/reader030/viewer/2022020116/55a500e61a28abe9098b45f6/html5/thumbnails/14.jpg)
SPARQL: An example • Query
• Output
14
![Page 15: RDF Seminar Presentation](https://reader030.vdocument.in/reader030/viewer/2022020116/55a500e61a28abe9098b45f6/html5/thumbnails/15.jpg)
Sesame’s Architecture • Open source standard framework for RDF data processing;
storing, querying and reasoning
• Implementation on:
15
![Page 16: RDF Seminar Presentation](https://reader030.vdocument.in/reader030/viewer/2022020116/55a500e61a28abe9098b45f6/html5/thumbnails/16.jpg)
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
![Page 17: RDF Seminar Presentation](https://reader030.vdocument.in/reader030/viewer/2022020116/55a500e61a28abe9098b45f6/html5/thumbnails/17.jpg)
Property Table
17
![Page 18: RDF Seminar Presentation](https://reader030.vdocument.in/reader030/viewer/2022020116/55a500e61a28abe9098b45f6/html5/thumbnails/18.jpg)
Vertically partitioned approach
18
![Page 19: RDF Seminar Presentation](https://reader030.vdocument.in/reader030/viewer/2022020116/55a500e61a28abe9098b45f6/html5/thumbnails/19.jpg)
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
![Page 20: RDF Seminar Presentation](https://reader030.vdocument.in/reader030/viewer/2022020116/55a500e61a28abe9098b45f6/html5/thumbnails/20.jpg)
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
![Page 21: RDF Seminar Presentation](https://reader030.vdocument.in/reader030/viewer/2022020116/55a500e61a28abe9098b45f6/html5/thumbnails/21.jpg)
Thank you for your attention!
21