logo

DIP D2.5: Flexible Ontological Repository (FOR)

Prototype Fact Sheet, 30 June 2006

This version:
http://sw.deri.org/2005/03/diprdf/UnicornRepositoryFactSheet.html
Latest version:
http://sw.deri.org/2005/03/diprdf/UnicornRepositoryFactSheet.html
Previous version:
None
Authors:
Erel Sharf


This document is also available in non-normative PDF version.

Copyright © 2005 - 2006 DIP. All Rights Reserved. DIP liability, trademark, document use, and software licensing rules apply.


Document Information

IST Project Number FP6 – 507483 Acronym DIP
Full Title Data, Information, and Process Integration with Semantic Web Services
Project URL http://dip.semanticweb.org
Document URL here: latest version
EU Project Officer Kai Tullius

Deliverable Number 2.5 Title Flexible Ontological Repository (FOR)
Work package Number 2 Title Ontology Management

Date of Delivery contractual M30 actual 30-June-2006
Status version 0.3 final
Nature
Prototype Report Dissemination Ontology
Dissemination Level
Public Consortium

Abstract
(for dissemination)
This document contains a summary covering the ontology repository implementation provided by Unicorn, that can be used in conjunction with the Ontology Representation and Data Integration (ORDI) Framework.
Keywords Ontology repository

Version Log
issue date (dd-mm-yy) revision no. author change
31-12-05 001 Erel Sharf first internal version (version 1.0)
09-06-06 002 Erel Sharf final version for internal review
30-06-06 003 Erel Sharf final submitted version (version 3.0)

Reviewer Information
1
Gábor Nagypál Email Nagypal@fzi.de
Partner FZI Karlsruhe Phone +49-721-9654-714
2
Damyan Ognyanoff Email damyan@sirma.bg
Partner Sirma Phone +359 2 9768 303

 

Table of contents


1. Availability and Contacts
2. Introduction: Purpose and Functionality
3. Requirements
4. Licensing
5. Installation and Usage
5.1. Installation prerequisite
5.2. Installing ‘FOR’
6. Usage Examples
7. Future Plans
Appendix

1. Availability and Contacts

Version:
0.3, 30 June 2006.
Download:
login Unicorn FTP site: ftp://unicorn.com User: dipftp, Pass: 796diP. download FOR.zip from "30_June_Submission" directory.
Contact person:
Erel Sharf, erel@il.ibm.com

2. Introduction: Purpose and Functionality

The ontology repository is backed by a flexible Relational Database (RDB) which implements ORDI API [1] (the DIP repository API).

FOR is a flexible and scalable repository. The flexibility of the repository is achieved by implementing a generic schema that stores any meta-modeled object. This means that the repository can store any entity with any structure, and this is done by internally defining a meta-model ontology. For example by meta modelling WSML ontology, the repository is able to store and retrieve WSML ontology In addition, the Hibernate ORM tool is used to streamline application development, and to create an abstraction layer between the application logic and the actual RDB vendor so that the actual backing RDB may be easily replaced.

The implementation of the ORDI repository API is an additional layer based on the core repository as illustrated in the diagram below. The basic functionalities defined by the API are:

of WSML [2] ontology entities.

FOR is configured to store WSMO [3] ontologies and OMWG [4] mapping documents.

3. Requirements

Nature: Java library
Interfaces (API, Web Services): a Java API
Platform: JDK 1.4
Supported standards: WSMO, ORDI

Required Libraries ( OMWG, SDK Cluster, WSMO-related):

Required Libraries (others):

4. Licensing

5. Installation and Usage

5.1 Installation prerequisite

Install an RDBMS, FOR will be backed by an RDBMS. A default free lightweight RDBMS is MSDE (Microsoft SQLServer Desktop Engine). MSDE may be downloaded from Unicorn FTP site: ftp://unicorn.com User: dipftp, Pass: 796diP.

MSDE DB server installation:

  1. Extract msde.zip.
  2. Run setup.exe.

A message reading: “The instance name specified is invalid” may appear at the end of the MSDE installation, please ignore the message.

  1. When the MSDE installation is completed, go to Start > Settings > Control panel > Administrative tools > Services.
  2. Start MSSQLSERVER service.

5.2 Installing FOR

After downloading the “for.zip” file, extract the files. The following files structure is expected:

The DemoOrdiRepositoryTest.java file is a unit test that demonstrates how client code can interoperate with the repository via ORDI API.

The runTest batch file runs the DemoOrdiRepositoryTest.

The setUnicornRepositoryPath batch file sets the required libs in to the classpath for convenience.

5.3 Configuring FOR with Pre-installed Database

FOR is design to be a multi DB vendor repository. currently it is tested with MS SQL Server, Oracle and IBM DB2. FOR is pre-configured to work with a local MSDE or SQL Server listening on port 1433 for convenience. This configuration can be easily adjusted in the "connect-micro-model.xml" file under "conf" directory.
In addition, a sample configuration file for Oracle - "connect-micro-model_for_Oracle.xml", and for DB2 - "connect-micro-model_for_DB2.xml" can be also found under "conf" directory.

6. Usage Examples

Can be found in DemoOrdiRepositoryTest.java.

7. Future Plans

Due to the flexibility and the generic nature of the repository engine, there are inherited performance challenges that need to be addressed.


Appendix

[1] A. Kiryakov, D. Ognyanov, and V. Kirov: A Framework for Representing Ontologies Consisting of Several Thousand Concepts Definitions. DIP Project Deliverable D2.2, June 2004. http://www.ontotext.com/ordi/v0.4/FactSheet.html

[2] J. de Bruijn, H. Lausen , R. Krummenacher, A. Polleres, L. Predoiu, M. Kifer, D Fensel: The Web Service Modeling Language WSML. Deliverable d16.1v0.2, WSML, 2005. http://www.wsmo.org/TR/d16/d16.1/v0.2/

[3] D. Roman, H. Lausen, U. Keller (eds); J. de Bruijn, Ch. Bussler, J. Domingue, D. Fensel, M. Hepp, M. Kifer, B. Konig-Ries, J. Kopecky, R. Lara, E. Oren, A. Polleres, J. Scicluna, M. Stollberg: Web Service Modeling Ontology (WSMO). Deliverable d2v1.2, WSMO, 2005. http://www.wsmo.org/TR/d2/v1.2/

[4] Scharffe, François and de Bruijn, Jos. A Language to Specify Mappings between Ontologies. In IEEE SITIS'05, Yaoundé, Cameroon, November 27th - December 1st, 2005.