On the Semantics of R2RML and its Relationship with the Direct Mapping Juan F. Sequeda Research in Bioinformatics and Semantic Web (RiBS) Lab Department.

Slides:



Advertisements
Similar presentations
COP4540 Database Management System Midterm Review
Advertisements

RDF and RDB 1 Some slides adapted from a presentation by Ivan Herman at the Semantic Technology & Business Conference, 2012.
Schema Matching and Query Rewriting in Ontology-based Data Integration Zdeňka Linková ICS AS CR Advisor: Július Štuller.
TU e technische universiteit eindhoven / department of mathematics and computer science Modeling User Input and Hypermedia Dynamics in Hera Databases and.
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 Relational Algebra Chapter 4, Part A.
1 Conjunctions of Queries. 2 Conjunctive Queries A conjunctive query is a single Datalog rule with only non-negated atoms in the body. (Note: No negated.
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 SQL: Queries, Programming, Triggers Chapter 5 Modified by Donghui Zhang.
27 January Semantically Coordinated E-Market Semantic Web Term Project Prepared by Melike Şah 27 January 2005.
Semantic Web Introduction
Implementing Reflective Access Control in SQL Lars E. Olson 1, Carl A. Gunter 1, William R. Cook 2, and Marianne Winslett 1 1 University of Illinois at.
RDF and RDB 1 Some slides adapted from a presentation by Ivan Herman at the Semantic Technology & Business Conference, 2012.
Copyright  Oracle Corporation, All rights reserved. 10 Creating and Managing Tables.
The work proposed in this study is an attempt to use Semantic Web technologies for integrating patient clinical data derived from Electronic Health Records.
Dr. Jim Bowring Computer Science Department College of Charleston CSIS 690 (633) May Evening 2009 Semantic Web Principles and Practice Class 4: 20 May.
Benelux Semantic Web Meetup, Amsterdam Ivan Herman, W3C.
CIMI / FHIR and Shape Expressions. Local DB … …
© 2006 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Publishing data on the Web (with.
Materializing the Web of Linked Data
Managing & Integrating Enterprise Data with Semantic Technologies Susie Stephens Principal Product Manager, Oracle
Chapter 2 Technical Background Technical Background NIKOLAOS KONSTANTINOU DIMITRIOS-EMMANUEL SPANOS Materializing the Web of Linked Data.
An Approach for the Incremental Export of Relational Databases into RDF Graphs N. Konstantinou, D.-E. Spanos, D. Kouis, N. Mitrou National Technical University.
Denotation as a Two-Step Mapping in Semantic Web Architecture David Booth, Ph.D. Cleveland Clinic (contractor) Identity Workshop, IJCAI 2009, Pasadena.
Logics for Data and Knowledge Representation
Ultrawrap: SPARQL Execution on Relational Data Juan F. Sequeda, Daniel P. Miranker University of Texas - Austin ISWC 2009 Seoul National University Internet.
SQL Databases are a Moving Target Juan F. Sequeda – Syed Hamid Tirmizi –
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.
1 Theory, Practice & Methodology of Relational Database Design and Programming Copyright © Ellis Cohen Introduction to Relational Databases &
10 Creating and Managing Tables Objectives At the end of this lesson, you will be able to: Describe the main database objects Create tables Describe.
10-1 Copyright  Oracle Corporation, All rights reserved. Database Objects ObjectDescription TableBasic unit of storage; composed of rows and columns.
Quality views: capturing and exploiting the user perspective on data quality Paolo Missier, Suzanne Embury, Mark Greenwood School of Computer Science University.
Semantically Processing The Semantic Web Presented by: Kunal Patel Dr. Gopal Gupta UNIVERSITY OF TEXAS AT DALLAS.
Dr. Bhavani Thuraisingham The University of Texas at Dallas Trustworthy Semantic Webs March 25, 2011 Data and Applications Security Developments and Directions.
Ontology-Based Computing Kenneth Baclawski Northeastern University and Jarg.
Compiler design Lecture 1: Compiler Overview Sulaimany University 2 Oct
SQL SeQueL -Structured Query Language SQL SQL better support for Algebraic operations SQL Post-Relational row and column types,
Supported in part by the National Science Foundation under Grant No. HRD Any opinions, findings, and conclusions or recommendations expressed.
Kaiser Permanente Convergent Medical Terminology (CMT) Using Oxford RDFox and SNOMED for Quality Measures.
05/01/2016 SPARQL SPARQL Protocol and RDF Query Language S. Garlatti.
Supported in part by the National Science Foundation under Grant No. HRD Any opinions, findings, and conclusions or recommendations expressed.
© The ATHENA Consortium. Susan Thomas SAP AG, Research Department How do you do semantics? Semantic Web Drawings by Sebastian Cremers Unit 3:
Optimization and Administartion of a Database Management Systems Krystian Zieja.
Advanced Database & Client Server Introduction to MS SQL Server 2000 and Transact SQL -
RDB2RDF Working Group Cunxin Jia. Why Mapping RDBs to RDF?
Connecting Stream Reasoners on the Web
Marut Buranarach Language and Semantic Technology Laboratory
Kaiser Permanente Convergent Medical Terminology (CMT)
RDF and RDB 1 Some slides adapted from a presentation by Ivan Herman at the Semantic Technology & Business Conference, 2012.
Logic You will learn three common logical operations that will be applied in much of the course (spreadsheets, databases, web searches and both programming.
SQL-lab Download sql script file sailors.txt
Interacting with the Oracle Server
Discrete Structures for Computer Science
Ontology.
Logics for Data and Knowledge Representation
جملة الاستعلام الأساسية
Logic You will learn three common logical operations that will be applied in much of the course (spreadsheets, databases, web searches and both programming.
UMBC AN HONORS UNIVERSITY IN MARYLAND
Efficient SPARQL-to-SQL translation using R2RML Mappings
Ch 3 Synonym.
Ch 3 Synonym.
Publishing Ordnance Survey Ireland's geospatial data as Linked Data
Ontology.
Lecture 16 : The Relational Data Model
Lecture 16 : The Relational Data Model
Chapter 3 Synonym.
Scalable and Efficient Reasoning for Enforcing Role-Based Access Control
Creating a Virtual Knowledge Base for Financial Risk and Reporting
Information - the lifeblood of the business
A SPARQL extension for generating RDF from heterogeneous formats
Practice Project Practice to know SQL
Presentation transcript:

On the Semantics of R2RML and its Relationship with the Direct Mapping Juan F. Sequeda Research in Bioinformatics and Semantic Web (RiBS) Lab Department of Computer Science, The University of Texas at Austin SQL query Parser What are the formal semantics of R2RML? What is the relationship between R2RML and Direct Mapping? Logical Query Plan Select Logical Query Plan Optimal Logical Query Plan Physical Query Plan Select Physical Query Plan R2RML Mapping Parser Logical Mapping Select Logical Mapping Optimal Logical Mapping Physical Mapping Select Physical Mapping Exploit a well established architecture: query optimization Organization of query optimization is applicable to mappings Example Methodology Declarative Language Logical Perspective Physical Perspective Triple(S,"rdf:type”,O)←SubjectTemplateValueTermMap(SID, T, S), Class(SID, O) Triple(S,P,O)←SubjectMap(TM, SID), PredicateObjectMap(TM, POID), SubjectTemplateValueTermMap (SID, T, S), PredicateConstantValueTermMap(POID, P), ObjectColumnTermMap(POID, T, O) Triple(S,P,O)←SubjectMap(TM, SID), PredicateObjectMap(TM, POID), SubjectTemplateValueTermMap (SID, T, S), PredicateConstantValueTermMap(POID, P), ReferencingObjectTemplate(POID, T, O) R2RML P template P column P constant O template O column O constant S template O template O column O constant O column O constant O template P template P column P constant O template O column O constant S constant O template O column O constant O column O constant O template P template P column P constant O template O column O constant S column O template O column O constant O column O constant O template Theorem: The total number of distinct Datalog rules which can be used to generate RDF triples is 57 Proof: 3 rules to generate Table triples, 27 rules to generate Local triples and 27 rules to generate Reference triples. Direct Mapping is the default and automatic approach of generating RDF and OWL from a Relational Database Semantics formalized in Datalog (see WWW2012 paper) Hypothesis: R2RML core is as expressive as the Direct Mapping if views are allowed as input Relationship between R2RML and Direct Mapping R2RML core Table Triples Local Triples References Triples Problem Statement empnoenamedept 1Bob100 2Alice200 deptnodname 100CS 200EE rdf:type ex:Employee. ex:name “Bob”. ex:name. rdf:type ex:Employee. ex:name “Alice”. ex:name. rdf:type ex:Department. ex:deptName “CS”. rdf:type ex:Department. ex:deptName “EE”. rr:logicalTable [ rr:tableName "emp" ]; rr:subjectMap [ rr:template " rr:class ex:Employee; ]; rr:predicateObjectMap [ rr:predicate ex:name; rr:objectMap [ rr:column "ename" ]; ]; rr:predicateObjectMap [ rr:predicate ex:department; rr:objectMap [ rr:parentTriplesMap ; rr:joinCondition [ rr:child "dept"; rr:parent "deptno"; ]; ]. rr:logicalTable [ rr:tableName "dept" ]; rr:subjectMap [ rr:template " rr:class ex:Department; ]; rr:predicateObjectMap [ rr:predicate ex:deptName; rr:objectMap [ rr:column ”dname" ]; ]. What does this actually mean? Understanding these questions can help support users and build tools. Three types of triples: Table, Local and Reference RDF Term (S, P, O) can be generated from a Template, Constant or Column W3C Recommendations to map Relational Databases to RDF are R2RML (customizable mapping language) and Direct Mapping (default automatic mapping) are the 5e4d76