VisAVis: An Approach to an I ntermediate Layer between Ontologies - - PowerPoint PPT Presentation

visavis an approach to an i ntermediate layer between
SMART_READER_LITE
LIVE PREVIEW

VisAVis: An Approach to an I ntermediate Layer between Ontologies - - PowerPoint PPT Presentation

VisAVis: An Approach to an I ntermediate Layer between Ontologies and Relational Database Contents Nikolaos Konstantinou, National Technical University of Greece Web Information Systems Modeling 1 Luxembourg, June 2006 I ntroduction


slide-1
SLIDE 1

Web Information Systems Modeling Luxembourg, June 2006 1

VisAVis: An Approach to an I ntermediate Layer between Ontologies and Relational Database Contents

Nikolaos Konstantinou, National Technical University of Greece

slide-2
SLIDE 2

Web Information Systems Modeling Luxembourg, June 2006 2

I ntroduction

 VisAVis Protégé Plugin  Features

– Map between RDB and Ontologies – Execute queries expressed in RDQL

slide-3
SLIDE 3

Web Information Systems Modeling Luxembourg, June 2006 3

Motivation

 The Semantic Web Vision orders that

web pages need to be annotated in terms of an ontology language

 What happens with Data stored in

databases and is generated and retrieved automatically?

slide-4
SLIDE 4

Web Information Systems Modeling Luxembourg, June 2006 4

Definitions

 An Ontology can be defined as a model

  • f a Knowledge Base

 Thus, we have the Terminological and

the Assertional Box (ABox & TBox)

 Simplified point of view:

– TBox < -> Schema of the RDB – ABox < -> Instance of the actual data

slide-5
SLIDE 5

Web Information Systems Modeling Luxembourg, June 2006 5

Mapping Process

 Capture Database Data  Select an Ontology Class  Validate the mapping  Modify the resulting Ontology

slide-6
SLIDE 6

Web Information Systems Modeling Luxembourg, June 2006 6

Mapping Process

 Validate the mapping

– Disjoint classes cannot have mappings to common data. Common data includes data in tables with a foreign key relation – Maintain subclass hierarchy in the database

slide-7
SLIDE 7

Web Information Systems Modeling Luxembourg, June 2006 7

Query Execution

 Parse requests  Instead of returning the class

resources, we check if the mapping property exists

– Yes: redirect the query to the database – No: No changes

slide-8
SLIDE 8

Web Information Systems Modeling Luxembourg, June 2006 8

Use-Case Scenario

slide-9
SLIDE 9

Web Information Systems Modeling Luxembourg, June 2006 9

Use-Case Scenario

< owl:Class rdf:about= "# Hiking"> < queryString> SELECT activities.description FROM activities, activities_types WHERE (activities.activity_type_id = activities_types.id) AND (activities_types.name = "Hiking") < /queryString> < rdfs:subClassOf> < owl:Class rdf:about= "# Sports"/> < /rdfs:subClassOf> < /owl:Class>

slide-10
SLIDE 10

Web Information Systems Modeling Luxembourg, June 2006 10

I mplementation

 Java, version 1.5.0 or higher  Jena framework, tested in versions 2.2

and 2.3

 Protégé, tested in 3.0, 3.1, 3.1.1,

3.2beta

 MySQL and PostgreSQL, with JDBC

connection

slide-11
SLIDE 11

Web Information Systems Modeling Luxembourg, June 2006 11

Future Work

 Richer SQL builder  Support for more databases  Return results from both the database

and the ontology

slide-12
SLIDE 12

Web Information Systems Modeling Luxembourg, June 2006 12

Questions

Thank you for your attention

 VisAVis plugin available at http://www.cn.ntua.gr/~ nkons/essays_en.html