Your SlideShare is downloading. ×

OpenHPI 2.5 - How to Represent Facts - RDF(4)

692

Published on

1 Comment
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total Views
692
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
55
Comments
1
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Semantic Web TechnologiesLecture 2: Semantic Web - Basic Architecture I 05: How to Represent Facts? - RDF(4) Dr. Harald Sack Hasso Plattner Institute for IT Systems Engineering University of Potsdam Spring 2013 This file is licensed under the Creative Commons Attribution-NonCommercial 3.0 (CC BY-NC 3.0)
  • 2. 2Lecture 2: Semantic Web - Basic Architecture I Open HPI - Course: Semantic Web Technologies Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 3. 3 05 How to Represent Facts? - RDF (4)Open HPI - Course: Semantic Web Technologies - Lecture 2: Semantic Web Basic Architecture I Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 4. 4 Rei fic RDF ati & on Dat a In teg rat ion 05 How to Represent Facts? - RDF (4)Open HPI - Course: Semantic Web Technologies - Lecture 2: Semantic Web Basic Architecture I Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 5. Resource Description Framework5 Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 6. Resource Description Framework5 Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 7. Resource Description Framework5 „My dear Watson, ...I suppose that the Gardener has killed the Butler!“ Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 8. Resource Description Framework6 RDF-Reification • RDF permits interleaving of statements, i.e. to make statements about statements • Example: „My dear Watson, ...I suppose that the Gardener has killed the Butler!“ Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 9. Resource Description Framework7 RDF-Reification • RDF permits interleaving of statements, i.e. to make statements about statements • Example: • Sherlock Holmes supposes that the Gardener has killed the Butler •Part 1: The Gardener has killed the Butler exv:Gardener exv:hasKilled exv:Butler . •Part 2: Sherlock Holmes supposes exv:SherlockHolmes exv:supposes ???? . Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 10. Resource Description Framework8 RDF-Reification • rdf:Statement defines an RDF Statement, consisting of Subject, Predicate and Object • rdf:subject - the described resource • rdf:predicate - the original property • rdf:object - the value of the property Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 11. Resource Description Framework9 RDF-Reification rdf:subject :Gardener :SherlockHolmes ex:supposes ex:hasKilled rdf:predicate :StatementOnGardener :Butler rdf:object Sherlock Holmes supposes that the Gardener has killed the Butler Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 12. Resource Description Framework10 RDF-Reification rdf:subject :Gardener :SherlockHolmes ex:supposes ex:hasKilled rdf:predicate :StatementOnGardener :Butler rdf:object @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix ex: <http://example.org/Crime#> . @prefix : <http://example.org/> . :SherlockHolmes ex:supposes :StatementOnGardener . :StatementOnGardener a rdf:Statement ; rdf:subject :Gardener ; rdf:predicate ex:hasKilled ; rdf:object :Butler . Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 13. Resource Description Framework11 RDF-Reification • Is Reification really necessary? • Modeling data provenance • Formalizing statements about Reliability (Trust) • Definition of Metadata about Statements (Assertions, Statements) • for (general) knowledge representation (Ontologie Construction): • Transformation of Relations into Classes • But be careful: Reification causes type conflicts (classes, individuals, statements) Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 14. RDF and Data Integration12 Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 15. RDF and Data Integration13 • Simple Example: Bibliography Database Books ID Author Title Publisher Year ISBN 0-00-651409-X HS-123 WWW S-001 2004 Authors ID Name Homepage HS-123 Harald Sack http://hpi-web.de/HaraldSack.html Publishers ID Publisher Location S-001 Springer Heidelberg Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 16. RDF and Data Integration14 • Database export into a set of relations a:publishername Springer Heidelberg a:publisherlocation a:title WWW a:publisher ISBN 0-00-651409-X a:year 2004 a:author a:authorname Harald Sack http://hpi-web.de/HaraldSack.html a:authorhomepage Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 17. RDF and Data Integration15 Harald Sack u:name a:publishername Springer Heidelberg u:author a:publisherlocation ISBN 0-00-651409-X a:title a:publisher WWW ISBN 0-00-651409-X u:cites a:year 2004 a:author http://.../paper a:authorname Harald Sack u:title http://hpi-web.de/HaraldSack.html Very important paper a:authorhomepage Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 18. RDF and Data Integration16 Harald Sack u:name a:publishername Springer Heidelberg u:author a:publisherlocation ISBN 0-00-651409-X a:title a:publisher WWW ISBN 0-00-651409-X u:cites a:year 2004 a:author http://.../paper a:authorname Harald Sack u:title http://hpi-web.de/HaraldSack.html Very important paper a:authorhomepage Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 19. RDF and Data Integration17 Harald Sack a:publishername Springer u:name Heidelberg a:publisherlocation u:author a:publisher WWW a:title ISBN 0-00-651409-X u:cites a:year 2004 http://.../paper a:authorname Harald Sack u:title a:author http://hpi-web.de/HaraldSack.html Very important paper a:authorhomepage Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 20. RDF - a Resume18 RDF Model -- Summary • An RDF Model is a set of RDF statements • Statement := (subject, property, object) • Subject is a resource • Property is a resource • Object is either a resource or a literal Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 21. 06 How to Model Classes and Relations? - RDFSOpen HPI - Course: Semantic Web Technologies - Lecture 2: Semantic Web Basic Architecture I19 SO ... WE NEED A WAY TO DEFINE RDF SCHEMATA FOR CLASSES AND RELATIONS ?! Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam

×