advertisement

Mapping Relational Databases to RDF with Virtuoso

40 %
60 %
advertisement
Information about Mapping Relational Databases to RDF with Virtuoso
Science-Technology

Published on June 11, 2008

Author: rumito

Source: authorstream.com

advertisement

Mapping Relational Databases to RDF with OpenLink Virtuoso : © 2008 OpenLink Software, All rights reserved. Mapping Relational Databases to RDF with OpenLink Virtuoso Orri Erling - Lead Developer, Virtuoso Team Who Wants to Map? : © 2008 OpenLink Software, All rights reserved. Who Wants to Map? Semantic Web Scalers Expose whatever there is as RDF, the next guy will unify terms, make search and apps Data Warehouse Keepers Data is spread out, has implicit semantics, complex schemas, heterogeneous sources, ambiguous terms but we must make it join and aggregate cleanly Present State : © 2008 OpenLink Software, All rights reserved. Present State SPARQL to SQL exists but still, complex integrations are data warehouses We'd really like to map, but... Can it be otherwise? Why RDF Data Warehouse? : © 2008 OpenLink Software, All rights reserved. Why RDF Data Warehouse? Pros Even query performance across all data Possibility of forward-chaining inference Some SPARQL features may be better supported, e.g. Unspecified predicates Cons Keeping data up-to-date Complex set up, needs dedicated servers: you don't build them on a whim Why Map? : © 2008 OpenLink Software, All rights reserved. Why Map? No copying, no timeliness issues RDBMS outperforms RDF for analytics workloads Agile reconfiguration without reloading data Virtuoso : © 2008 OpenLink Software, All rights reserved. Virtuoso Mapping of SPARQL to SQL against any existing schema - whether stored in Virtuoso or elsewhere Physical Quad-store Federated/local RDBMS For Mapping to Deliver... : © 2008 OpenLink Software, All rights reserved. For Mapping to Deliver... Tackle any SQL analytics workload in SPARQL without extra cost Deal with arbitrary SQL schema Produce single SQL statements, for target RDBMS to optimize Have intelligence for cases where one RDF entity can come from many relational sources The Cases of Integration : © 2008 OpenLink Software, All rights reserved. The Cases of Integration Bring similar but heterogeneous schemas into a unified ontology - Union View Translate FKs of one schema to PKs in another - Distributed Join Hide differences in normalization - Views for hiding joins Unit/Terminology conversions Defining a Mapping : © 2008 OpenLink Software, All rights reserved. Defining a Mapping Define URI formats and their subclass relations Define which key-column-value combinations make a triple Arbitrary SQL is allowed for mapping values and filtering A single RDF node can be a composite of many columns, e.g. multipart key Use SPARQL/SQL to: The TPC-H Case : © 2008 OpenLink Software, All rights reserved. The TPC-H Case The 22 queries as extended SPARQL Each generates a single SQL statement, executable by Virtuoso, Oracle, Others Next make several TPC-H databases on different servers and run the queries against the union http://demo.openlinksw.com/tpc-h/ Where Problems Begin : © 2008 OpenLink Software, All rights reserved. Where Problems Begin In OpenLink Data Spaces, 6 Collaborative apps all mapped to SIOC: Trivially becomes a union of everything, 1000+ lines of SQL Intelligently Becomes a Union of : select * from <ods> where {?s ?p ?o . ?s has_comment ?c . ?c has_author <xxx> } select post.* from post, comment, user where c_post = p_id and c_author = u_id and u_name = f ('xxx') Once per app What One Must Know : © 2008 OpenLink Software, All rights reserved. What One Must Know Mapping for integration is not trivial Be careful when mapping multiple tables/columns to one class/property Make URI schemes which encode type and source, so that senseless joins are not attempted if types not specified in query Understand what the mapping logic can and cannot optimize Understand what SQL can and cannot optimize View resulting SQL for sanity check SQL Extensions : © 2008 OpenLink Software, All rights reserved. SQL Extensions Mapping must work against any RDBMS/Schema, as is But there is Virtuoso SQL between the mapping and target RDBMS(s) Location and latency - conscious distributed cost model Breakup for making a wide result set into a row per property Inverse functions Use Cases : © 2008 OpenLink Software, All rights reserved. Use Cases OpenLink Data Spaces - Blog, Wiki, News, Social Network, CRM, Threaded Discussions etc. OpenLink's own MIS - “total information awareness”: URI for any CRM Object, Account, Product, Support Case, Email, &c Musicbrainz PHP BB, Drupal, MediaWiki, Bugzilla etc. OpenLink Software : © 2008 OpenLink Software, All rights reserved. OpenLink Software Thank You! http://virtuoso.openlinksw.com http://demo.openlinksw.com/tpc-h

Add a comment

Related presentations

Related pages

Virtuoso Open-Source Wiki : Mapping Relational Data to RDF ...

Mapping Relational Data to RDF in Virtuoso. ... and Enterprise applications run atop relational databases, ... RDF_QUADS) and mapping of relational ...
Read more

Mapping Relation Data to RDF with Virtuoso's RDF Views

Mapping Relational Data to RDF with Virtuoso's ... companies resides in relational databases ... Virtuoso's RDF Views map relational data into RDF and ...
Read more

Mapping between Relational Databases and OwL Ontologies ...

There are several studies or tools allowing mapping relational databases (RDBs) to RDF schema or OWL ontologies. ... and Virtuoso RDF Views [3, 4] ...
Read more

R2RML: RDB to RDF Mapping Language

... a language for expressing customized mappings from relational databases to RDF ... Requirements for Mapping Relational Databases to RDF ...
Read more

A Survey of Current Approaches for Mapping of Relational ...

... stored in Relational Databases (RDB). The mapping of these ... the Virtuoso RDF View ... for Mapping of Relational Databases to RDF ...
Read more

Relational Databases in RDF: Keys and Foreign Keys ...

... we discuss several possible ways to map relational databases into an RDF graph. ... Mapping Relational Data to RDF with Virtuoso's ...
Read more

RDB2RDF Plugin: Relational Databases to RDF plugin for Eclipse

RDB2RDF Plugin: Relational Databases to RDF plugin for ... Virtuoso RDF views [9] ... 2.2 A Direct Mapping of Relational Data to RDF
Read more

RDF Support in the Virtuoso DBMS - CEUR-WS.org

RDF Support in the Virtuoso DBMS ... We further discuss mapping existing relational data into RDF for SPARQL access ... in relational databases since the ...
Read more

RDOTE - Transforming Relational Databases into Semantic ...

RDOTE - Transforming Relational Databases ... a powerful declarative language for mapping Relational Databases to ontologies, ... Finally Virtuoso RDF View [3]
Read more