Rajashree Deka Tetherless World Constellation Rensselaer Polytechnic Institute.

Slides:



Advertisements
Similar presentations
Dr. Leo Obrst MITRE Information Semantics Information Discovery & Understanding Command & Control Center February 6, 2014February 6, 2014February 6, 2014.
Advertisements

RDF and RDB 1 Some slides adapted from a presentation by Ivan Herman at the Semantic Technology & Business Conference, 2012.
© 2006 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Use Case: Populating Business Objects.
©2011 MFMER | slide-1 The Linked Clinical Data Project Jyotishman Pathak, PhD HCLS TMO October 27, 2010.
Semantic Web Introduction
Chris Bizer, Richard Cyganiak: D2RQ – Lessons Learned ( ) W3C Workshop on RDF Access to Relational Databases October, 2007 — Boston, MA,
RDF and RDB 1 Some slides adapted from a presentation by Ivan Herman at the Semantic Technology & Business Conference, 2012.
Building and Analyzing Social Networks Web Data and Semantics in Social Network Applications Dr. Bhavani Thuraisingham February 15, 2013.
Brian Alderman | MCT, CEO / Founder of MicroTechPoint Pete Harris | Microsoft Senior Content Publisher.
Michael Povolotsky CMSC491s/691s. What is Virtuoso? Virtuoso, known as Virtuoso Universal Server, is a multi-protocol RDBMS Includes an object-relational.
Chapter 12: ADO.NET and ASP.NET Programming with Microsoft Visual Basic.NET, Second Edition.
Chapter 12 Database Connectivity with ASP.NET JavaScript, Third Edition.
Working with SQL and PL/SQL/ Session 1 / 1 of 27 SQL Server Architecture.
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
ONTOLOGY ENGINEERING Lab #9 - November 3, Linking Relational Databases to Ontologies 2  Relational databases are still a common means of storing.
Triple Stores.
© 2006 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Publishing data on the Web (with.
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
Information Integration Intelligence with TopBraid Suite SemTech, San Jose, Holger Knublauch
Database Lecture # 1 By Ubaid Ullah.
Chapter 9 SQL and RDBMS Part C. SQL Copyright 2005 Radian Publishing Co.
1 Sunitha Ramanujam 1, Anubha Gupta 1, Latifur Khan 1, Steven Seida 2, Bhavani Thuraisingham 1 1 The University of Texas at Dallas 2 Raytheon Company *Funded.
ASP.NET Programming with C# and SQL Server First Edition
4-1 INTERNET DATABASE CONNECTOR Colorado Technical University IT420 Tim Peterson.
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)
The Semantic Web Web Science Systems Development Spring 2015.
Database Support for Semantic Web Masoud Taghinezhad Omran Sharif University of Technology Computer Engineering Department Fall.
1 Foundations V: Infrastructure and Architecture, Middleware Deborah McGuinness TA Weijing Chen Semantic eScience Week 10, November 7, 2011.
Semantic Web State of SemWeb Promotes flexibility, software reuse. SOA Styled architecture that exposes business processes and rules regarding IT.
Professor Michael J. Losacco CIS 1110 – Using Computers Database Management Chapter 9.
Steven Seida D2RQ Blog Integration Lab. Data to RDF Integration Approaches* 1 of 2 *Summarized from Ch 9 of Semantiic Web Programming, 2009, by Hebeler.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
Efficient RDF Storage and Retrieval in Jena2 Written by: Kevin Wilkinson, Craig Sayers, Harumi Kuno, Dave Reynolds Presented by: Umer Fareed 파리드.
SQL Jan 20,2014. DBMS Stores data as records, tables etc. Accepts data and stores that data for later use Uses query languages for searching, sorting,
OWLED 2008 DC Use of OWL and SWRL for Semantic Relational Database Translation Matthew Fisher, Mike Dean, Greg Joiner {mdean, April 1.
Practical RDF Chapter 10. Querying RDF: RDF as Data Shelley Powers, O’Reilly SNU IDB Lab. Hyewon Lim.
Database Management Systems (DBMS)
Triple Stores. What is a triple store? A specialized database for RDF triples Can ingest RDF in a variety of formats Supports a query language – SPARQL.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
BI Practice March-2006 COGNOS 8BI TOOLS COGNOS 8 Framework Manager TATA CONSULTANCY SERVICES SEEPZ, Mumbai.
RDF and Relational Databases
Database Connectivity with ASP.NET. 2 Introduction Web pages commonly used to: –Gather information stored on a Web server database Most server-side scripting.
Steven Perry Dave Vieglais. W a s a b i Web Applications for the Semantic Architecture of Biodiversity Informatics Overview WASABI is a framework for.
A Portrait of the Semantic Web in Action Jeff Heflin and James Hendler IEEE Intelligent Systems December 6, 2010 Hyewon Lim.
Introduction Because database applications today reside in a complicated environment, various standards have been developed for accessing database servers.
Experience with XML Schema Ashok Malhotra Schema Usage  Mapping XML Schema and XML documents controlled by the Schema to object classes and instances.
Semantic Water Quality Portal Jin Guang Zheng and Ping Wang Tetherless World Constellation.
Sesame A generic architecture for storing and querying RDF and RDFs Written by Jeen Broekstra, Arjohn Kampman Summarized by Gihyun Gong.
Sales Demo. Demo Overview RDF and Triples D2RQ Overview and Setup Ontology and Mappings Sales Demo Model Inferencing.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
Chapter 04 Semantic Web Application Architecture 23 November 2015 A Team 오혜성, 조형헌, 권윤, 신동준, 이인용.
uses of DB systems DB environment DB structure Codd’s rules current common RDBMs implementations.
External Data Access 5/29/08. Current Problems No way to load, process & analyze live Atlas data via critical analysis & programming tools (SAS, R, Perl)
2 Copyright © 2008, Oracle. All rights reserved. Building the Physical Layer of a Repository.
1 RDF Storage and Retrieval Systems Jan Pettersen Nytun, UiA.
RDF and RDB 2 D2RQ.
RDF and RDB 1 Some slides adapted from a presentation by Ivan Herman at the Semantic Technology & Business Conference, 2012.
RDF and RDB 2 D2RQ.
Middleware independent Information Service
Microsoft Access 2003 Illustrated Complete
Microsoft Office Illustrated
Analyzing and Securing Social Networks
Triple Stores.
Data Model.
LOD reference architecture
Tutorial 7 – Integrating Access With the Web and With Other Programs
RDF and RDB 2 D2RQ.
Semantic-Web, Triple-Strores, and SPARQL
Presentation transcript:

Rajashree Deka Tetherless World Constellation Rensselaer Polytechnic Institute

 The majority of data underpinning the Web are stored in Relational Databases (RDB).  Advantages:  Secure and scalable architecture.  Efficient storage.  Reliability.  Disadvantages:  Difficult to share data across large organizations where different database schemata are used.  Most importantly, there is no check on semantics.

 Semantic web getting more mature, growing need for RDF applications to access content of legacy databases.  Compared to RDB, RDF is:  More expressive.  More easily processed and interpreted.  Easily reasoned over by software agents.  Need a way to make data in RDBMS available as RDF.

In order to generate Semantic Web content from a RDB, Tim Berners-Lee proposed a very direct mapping:  Each table in the RDB is a RDF class.  Each field (column) name is a RDF property.  Each record is a RDF node - an instance of the RDF class and so can play the role of a subject or an object in a RDF statement.

 Semi-automatic generation of ontology from RDB  Read all records, export as RDF triples.  Mappings are direct, complex mappings do not usually appear.  Need to convert to RDF regularly.  Does not allow the population of an existing ontology – a BIG limitation!  Map existing RDB to an existing ontology  Customize mapping according to existing ontology.  Complex mappings can be implemented.

 Provides an integrated environment for accessing the content of non-RDF, relational databases as virtual, read-only RDF graphs.  Using D2RQ we can:  Query a non-RDF database using SPARQL queries.  Access information in a non-RDF database using the Jena API or the Sesame API.  Access the content of the database as Linked Data over the Web.

 D2RQ mapping language – describes the relation between ontology and RDB  D2RQ engine – uses mappings to rewrite Jena and Sesame API calls to SQL queries.  D2R server - provides a Linked Data view, a HTML view for debugging and a SPARQL Protocol endpoint over the database.

 D2RQ mapping language formally defined by  D2RQ namespace is defined by  Database compatibility:  Oracle  MySQL  PostgreSQL  Microsoft SQL Server  ODBC data sources (e.g. Microsoft Access) - mapping generator and automatic detection of column types do not work.

Two command line tools (only on Windows and Unix systems ):  Mapping generator:  Analyzes database schema.  Generates a default mapping file.  Resultant D2RQ map is an RDF document in N3 format.  Mapping can be used as-is or can be customized.  Dump script:  Writes the content of the RDB into a single RDF file.  Supported syntaxes are "RDF/XML" (the default), "RDF/XML-ABBREV", "N3", "N-TRIPLE".

Ontology is mapped to a database schema using:  d2rq:ClassMaps – Represents a class or a group of similar classes in the ontology. Specifies how instances of the class are identified.  d2rq:PropertyBridges – A ClassMap has a set of PropertyBridges which specify how the properties of an instance are created.

# Table dataset (default mapping) map:dataset a d2rq:ClassMap; d2rq:dataStorage map:database; d2rq:uriPattern d2rq:class vocab:dataset; d2rq:classDefinitionLabel "dataset";. map:dataset__label a d2rq:PropertyBridge; d2rq:belongsToClassMap map:dataset; d2rq:property rdfs:label; d2rq:pattern "dataset map:dataset_dataset_id a d2rq:PropertyBridge; d2rq:belongsToClassMap map:dataset; d2rq:property vocab:dataset_dataset_id; d2rq:propertyDefinitionLabel "dataset dataset_id"; d2rq:column "dataset.dataset_id"; d2rq:datatype xsd:int; # Table dataset (customized mapping) map:dataset a d2rq:ClassMap; d2rq:dataStorage map:database; d2rq:uriPattern " d2rq:class bcodmo:DeploymentDatasetCollection; d2rq:classDefinitionLabel "DeploymentDatasetCollection";. map:seeAlsoStatement a d2rq:PropertyBridge; d2rq:belongsToClassMap map:dataset; d2rq:property rdfs:seeAlso; d2rq:uriPattern map:hasIdentifier a d2rq:PropertyBridge; d2rq:property bcodmo:hasIdentifier; d2rq:belongsToClassMap map:dataset; d2rq:column "dataset.dataset_id"; d2rq:datatype xsd:int;. map:dataset_dataset_id a d2rq:PropertyBridge; d2rq:belongsToClassMap map:dataset; d2rq:property bcodmo:hasParameter; d2rq:refersToClassMap map:parameters; d2rq:propertyDefinitionLabel "dataset dataset_id"; d2rq:join "dataset.dataset_id = dataset_parameters.dataset_id"; d2rq:join "dataset_parameters.parameters_id = parameters.parameters_id";.

 Customization is very direct in the case where a class in the ontology is represented by a table in the database.  Mapping is complicated or sometimes not possible when a class in the ontology is not a table in the database, but a record in a database table.

 Define primary keys wherever possible and create indexes.  Indicate directions in d2rq:joins.  Set d2rq:autoReloadMapping to false whenever not needed.  Use hint properties:  d2rq:valueMaxLength  d2rq:valueRegex  d2rq:valueContains

 Performs reasonably well with basic triple patterns, performance deteriorates when SPARQL features such as OPTIONAL, FILTER and LIMIT are used.  Does not have reasoning capability. Reasoning can be added by using the D2RQ engine within Jena.  Integration of multiple databases or other data sources using D2RQ alone is not possible.  Read-only, cannot perform INSERT, DELETE or UPDATE operations.  Cannot handle complicated database structures like VIEWS.

 Virtuoso RDF View:  Uses table to class and column to predicate approach.  RDB data are represented as virtual RDF graphs.  Customization of mapping possible.  Triplify:  Maps HTTP-URI requests to relational database queries expressed in SQL.  No SPARQL support.

 R2O:  XML based declarative mapping language.  DartGrid Semantic Web toolkit:  Provides a visual tool to define mapping.  RDBToOnto  User oriented tool that creates static mapping (RDF dump).  Asio Semantic Bridge for Relational Databases (SBDR) and Automapper:  Uses table to class approach.

 Prof. Peter Fox  Patrick West  Eric Rozell  Ankesh Khandelwal  Evan Patton