RDF and RDB 1 Some slides adapted from a presentation by Ivan Herman at the Semantic Technology & Business Conference, 2012.

Slides:



Advertisements
Similar presentations
1 © 2008 OpenLink Software, All rights reserved. SPARQL for Business Intelligence Orri Erling - Program Manager, Virtuoso 1.
Advertisements

An Object/Relational Mapping tool Free and open source Simplifies storage of object data in a relational database Removes the need to write and maintain.
Digital Repositories – Linked Open Data – the possible Role of D4Science Workshop, December 2010, FAO use cases A tool to create Linked Data providers.
CH-4 Ontologies, Querying and Data Integration. Introduction to RDF(S) RDF stands for Resource Description Framework. RDF is a standard for describing.
Lukas Blunschi Claudio Jossen Donald Kossmann Magdalini Mori Kurt Stockinger.
Database Management Systems, R. Ramakrishnan and J. Gehrke1 The Relational Model Chapter 3.
Semantic Web Introduction
RDF and RDB 1 Some slides adapted from a presentation by Ivan Herman at the Semantic Technology & Business Conference, 2012.
GI Systems and Science January 30, Points to Cover  Recap of what we covered so far  A concept of database Database Management System (DBMS) 
Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
History of Database Systems History of Database Systems File systems (before mid 1960s) Problems: Data redundancy update anomalies no abstract data model.
Data Management Design
Attribute databases. GIS Definition Diagram Output Query Results.
Presented by Gentre Dozier and Spencer Dille management.com/newsletters/database_metadata_unstructured_data_triple_store html.
Evolution in Database Models
Information systems and databases Database information systems Read the textbook: Chapter 2: Information systems and databases FOR MORE INFO...
RIZWAN REHMAN, CCS, DU. Advantages of ORDBMSs  The main advantages of extending the relational data model come from reuse and sharing.  Reuse comes.
It refers to the software used to manage the database.
MS Access 2007 IT User Services - University of Delaware.
DartGrid Browser-based mapping tool of SQL to RDF Point Template Zhejiang University & OpenLink Software.
IST Databases and DBMSs Todd S. Bacastow January 2005.
RDF: Concepts and Abstract Syntax W3C Recommendation 10 February Michael Felderer Digital Enterprise.
Managing Large RDF Graphs (Infinite Graph) Vaibhav Khadilkar Department of Computer Science, The University of Texas at Dallas FEARLESS engineering.
Managing & Integrating Enterprise Data with Semantic Technologies Susie Stephens Principal Product Manager, Oracle
RDF (Resource Description Framework) Why?. XML XML is a metalanguage that allows users to define markup XML separates content and structure from formatting.
Databases From A to Boyce Codd. What is a database? It depends on your point of view. For Manovich, a database is a means of structuring information in.
Rajashree Deka Tetherless World Constellation Rensselaer Polytechnic Institute.
The Relational Model These slides are based on the slides of your text book.
Chapter 4 The Relational Model.
Implemented Systems Presenter: Manos Karpathiotakis Extended Semantic Web Conference 2012.
 Introduction Introduction  Purpose of Database SystemsPurpose of Database Systems  Levels of Abstraction Levels of Abstraction  Instances and Schemas.
Relational Data Model, R. Ramakrishnan and J. Gehrke with Dr. Eick’s additions 1 The Relational Model Chapter 3.
DATABASE and XML Moussa Mané. Learning Objectives ● Learn about Native XML Databases ● Learn about the conversion technology available ● Understand New.
1 Overview of Databases. 2 Content Databases Example: Access Structure Query language (SQL)
RDB/1 An introduction to RDBMS Objectives –To learn about the history and future direction of the SQL standard –To get an overall appreciation of a modern.
Introduction to SQL Steve Perry
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
Simple Database.
Logics for Data and Knowledge Representation
Database Support for Semantic Web Masoud Taghinezhad Omran Sharif University of Technology Computer Engineering Department Fall.
DANIEL J. ABADI, ADAM MARCUS, SAMUEL R. MADDEN, AND KATE HOLLENBACH THE VLDB JOURNAL. SW-Store: a vertically partitioned DBMS for Semantic Web data.
Relational Databases to RDF (a.k.a RDB2RDF) Juan F. Sequeda Dept of Computer Science University of Texas at Austin.
Master Informatique 1 Semantic Technologies Part 11Direct Mapping Werner Nutt.
Querying with SPARQL Tuesday, October 28, 2014 Technical Exchange on Network Management Interoperability Andrea Westerinen JHU-APL/Nine Points Solutions.
Dr. Mohamed Osman Hegazi 1 Database Systems Concepts Database Systems Concepts Course Outlines: Introduction to Databases and DBMS. Database System Concepts.
Daniel J. Abadi · Adam Marcus · Samuel R. Madden ·Kate Hollenbach Presenter: Vishnu Prathish Date: Oct 1 st 2013 CS 848 – Information Integration on the.
File Systems and Databases Lecture 1. Files and Databases File: A collection of records or documents dealing with one organization, person, area or subject.
RDF and triplestores CMSC 461 Michael Wilson. Reasoning  Relational databases allow us to reason about data that is organized in a specific way  Data.
Instructor: Dema Alorini Database Fundamentals IS 422 Section: 7|1.
Prepared By Prepared By : VINAY ALEXANDER ( विनय अलेक्सजेंड़र ) PGT(CS),KV JHAGRAKHAND.
Efficient RDF Storage and Retrieval in Jena2 Written by: Kevin Wilkinson, Craig Sayers, Harumi Kuno, Dave Reynolds Presented by: Umer Fareed 파리드.
RELATORS, ROLES AND DATA… … similarities and differences.
C-Store: RDF Data Management Using Column Stores Jianlin Feng School of Software SUN YAT-SEN UNIVERSITY Apr. 24, 2009.
Using the DAWG Test Cases with Relational Databases Matthew Gheen October 26, 2007.
Object Oriented Database By Ashish Kaul References from Professor Lee’s presentations and the Web.
Conclusions Presenter: Manolis Koubarakis Extended Semantic Web Conference 2012.
RDF and Relational Databases
Class Diagrams. Terms and Concepts A class diagram is a diagram that shows a set of classes, interfaces, and collaborations and their relationships.
Jennifer Widom Relational Databases The Relational Model.
© 2009 OpenLink Software, All rights reserved. Mapping Relational Databases to RDF with OpenLink Virtuoso Orri Erling - Program Manager, Virtuoso.
Data Models. 2 The Importance of Data Models Data models –Relatively simple representations, usually graphical, of complex real-world data structures.
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 The Relational Model Chapter 3.
1 RDF Storage and Retrieval Systems Jan Pettersen Nytun, UiA.
Databases and DBMSs Todd S. Bacastow January
Components.
RDF and RDB 1 Some slides adapted from a presentation by Ivan Herman at the Semantic Technology & Business Conference, 2012.
Adding ICs to OWL Ming Fang 07/10/2009.
Relational Databases The Relational Model.
Relational Databases The Relational Model.
RDA Community and linked data
Presentation transcript:

RDF and RDB 1 Some slides adapted from a presentation by Ivan Herman at the Semantic Technology & Business Conference, 2012.

Mapping Relational data to RDF Suppose we have data in a relational database that we want to export as RDF 1. Choose an RDF vocabulary to represent the data 2. Define a mapping from the relational tables to RDF Then either: a) Materialize the RDF triples from the database using the mappings b) Use a server to dynamically access the relational data given a SPARQL query c) Use a DBMS that directly supports RDF (e.g., Oracle 11g, DB2)

Relational database vendors realize the importance of the Semantic Web market Many systems have a hybrid view: – Traditional, relational storage, usually coupled with SQL – RDF storage, usually coupled with SPARQL – Examples include Oracle 11g, IBMs DB2 and OpenLink Virtuoso The model involves exporting relational data to RDF Many RDB systems can handle RDF

Export does not necessarily mean physical conversion – for very large databases a duplication would not be an option – systems may provide SPARQL SQL bridges to make queries on the fly Result of export is a logical view of the relational content Exporting relational data to RDF

Provide a canonical RDF view of relational tables Only needs the information in the RDB Schema Simple export: Direct Mapping

Table references are URI objects Direct mapping approach Each row is a subject Each column name provides a predicate Cells are Literal objects

Direct mapping approach Direct Mapping Tables RDB Schema Direct Graph

Advantages – Direct mapping is simple, does not require any other concepts – know the schema know the RDF graph structure – know the RDF graph structure good idea of the schema (!) Disadvantages: – the resulting graph is not what the application really wants – Strings, not things Pros and cons of Direct Mapping

Extended mapping approach Direct Mapping Tables RDB Schema Graph Processing (Rules, SPARQL, …) Graph Processing (Rules, SPARQL, …) Direct Graph Final, Application Graph

Separate vocabulary to control the details of the mapping, e.g.: – finer control over the choice of the subject – creation of URI references from cells – predicates may be chosen from a vocabulary – datatypes may be assigned – etc. Gets to the final RDF graph with one processing step Beyond Direct Mapping: R2RML

R2RML Mapping R2RML Mapping Tables RDB Schema Final, Application Graph R2RML Instance

Fundamentals are similar: – each row is turned into a series of triples with a common subject Direct mapping is a default R2RML mapping Which of the two approaches is used depend on local tools, personal experi- ences and background,… – e.g., user can begin with a default R2RML, and gradually refine it Relationships to the Direct Mapping

D2RQ was a practical system first devel- oped in 2004 that became widely used D2RQ 2004 W3C formed a RDB2RDF working group in 2009 to develop a standardRDB2RDF working group R2RML: RDB to RDF Mapping Language is a W3C Recommendation since R2RML: RDB to RDF Mapping Language Several implementations are availableimplementations R2RML