RDB2RDF, an overview of R2RML and Direct Mapping

3,216 views

Published on

Published in: Education

RDB2RDF, an overview of R2RML and Direct Mapping

  1. 1. OEG’s Data Integration Group RDB2RDF Boris Villazón-Terrazas Facultad de Informática, Universidad Politécnica de Madrid Campus de Montegancedo sn, 28660 Boadilla del Monte, Madrid http://www.oeg-upm.net bvillazon@fi.upm.es Phone: 34.91.3366605, Fax: 34.91.3524819 Slides available at: http://www.slideshare.net/boricles/Acknowledgements: W3C RDB2RDF group members, FreddyPriyatna, and Jean Paul Calbimonte.WorkdistributedunderthelicenseCreativeCommonsAttribution-Noncommercial-Share Alike 3.0
  2. 2. ToC•  Motivation•  Direct Mapping•  R2RML•  Morph / ODEMapster 2
  3. 3. A Survey of Current Approaches for Mapping of Relational Databases to RDF A Survey of Current Approaches for Mapping of Relational Databases to RDF, Satya S. Sahoo, Wolfgang Halb, Sebastian Hellmann, Kingsley Idehen, Ted Thibodeau Jr, Sören Auer, Juan Sequeda, Ahmed Ezzat, 2009. (See http://www.w3.org/2005/Incubator/rdb2rdf/ RDB2RDF_SurveyReport.pdf.) 3
  4. 4. RDB2RDF•  A majority of dynamic Web content is backed by relational databases (RDB), and so are many enterprise systems. transformation transformation engine description•  W3C RDB2RDF Working Group •  R2RML: RDB to RDF Mapping Language - http://www.w3.org/2001/sw/rdb2rdf/r2rml/ •  Direct Mapping - http://www.w3.org/TR/rdb-direct-mapping/ •  R2RML and Direct Mapping Test Cases - http://www.w3.org/2001/sw/rdb2rdf/test-cases/ •  RDB2RDF Implementation Report - http://www.w3.org/2001/sw/rdb2rdf/implementation- report/ 4
  5. 5. Access the RDF data in different ways•  The consumer of the RDF Graph (virtual or materialized)Use Cases and Requirements for Mapping Relational Databases to RDFhttp://www.w3.org/2001/sw/rdb2rdf/use-cases/ 5
  6. 6. Direct Mapping•  The direct mapping defines an RDF Graph representation of the data in an RDB. The direct mapping takes as input an RDB (data and schema), and generates an RDF graph that is called the direct graph. 6
  7. 7. Direct Mapping - example7
  8. 8. R2RML•  A language for expressing customized mappings from RDB to RDF datasets.•  R2RML mappings are themselves expressed as RDF graphs and written down in Turtle syntax. 8
  9. 9. R2RML - Overview9
  10. 10. R2RML - Overview10
  11. 11. R2RML - example I - input11
  12. 12. R2RML - example I - mapping12
  13. 13. R2RML – example I - output13
  14. 14. R2RML – example II - input14
  15. 15. R2RML - example II - mapping15
  16. 16. R2RML – example II - output16
  17. 17. R2RML - example III - input17
  18. 18. R2RML - example III - mapping 18
  19. 19. 19
  20. 20. R2RML - example III - output20
  21. 21. R2RML - example IV - input21
  22. 22. R2RML - example IV - mapping 22
  23. 23. 23
  24. 24. R2RML - example IV - output24
  25. 25. Morph / ODEMapster - database 25
  26. 26. mapping26
  27. 27. 27
  28. 28. Upload to an RDF store - Fuseki 28
  29. 29. 29
  30. 30. •  http://code.google.com/p/oeg-obdi/•  https://github.com/jpcik/morph•  https://github.com/boricles/morph•  RDB2RDF Implementation Report. Boris Villazón-Terrazas, Michael Hausenblas. http://www.w3.org/2001/sw/rdb2rdf/implementation-report/ 30
  31. 31. OEG’s Data Integration Group RDB2RDF Boris Villazón-Terrazas Facultad de Informática, Universidad Politécnica de Madrid Campus de Montegancedo sn, 28660 Boadilla del Monte, Madrid http://www.oeg-upm.net bvillazon@fi.upm.es Phone: 34.91.3366605, Fax: 34.91.3524819 Slides available at: http://www.slideshare.net/boricles/Acknowledgements: W3C RDB2RDF group members, FreddyPriyatna, and Jean Paul Calbimonte.WorkdistributedunderthelicenseCreativeCommonsAttribution-Noncommercial-Share Alike 3.0

×