Ontology Mapping Specifiation Language API
Prototype Fact Sheet, 21 June 2005
- This version:
- http://www.omwg.org/tools/omaplang/v0.2/FactSheet.html
- Latest version:
- http://www.omwg.org/tools/omaplang/v0.2/FactSheet.html
- Previous version:
- ...
- Authors:
- François Scharffe
- Editors:
- François Scharffe
Copyright © 2005 DERI All Rights Reserved.
Version: 0.2, 21 June 2005.
Download: http://www.omwg.org/tools/omaplang/v0.2/mappingLanguage.jar
Source control: To be made available from CVS of the DOME SourceForge project.
Contact person: François Scharffe, francois.scharffe@deri.org
This API is built on top of the Ontology Mapping Language, presented in deliverable
D4.4 of the SEKT project. The major objectives of this mapping language are:
- Ontology language neutrality;
- Expressive and intuitive representation of the mappings
- Enable mappings to solve the different kind of mismatches (see [de
Bruijn & al. 2004])
- Grounding to different ontology languages
The API is based on the language specification avilable here
in EBNF.
The jar
file of the API contains :
- Mapping2Object: To be used to parse a mapping file.
- Compiler package: Used by Mapping2Object. This package
contains the parser, compiler and tree walker for the mapping language. The
user should not use this package.
- ObjectModel: This package contains the classes of the API.
They allow to manipulate the mapping objects. See the Javadoc
for more information.
As stated above, the mapping language is ontology language independant. It then
has to be grounded to the ontology language used. The API allows to export mapping
documents in the following ontology language.
- WSML: The Web Services Modelling Language [WSML0.2].
See also the web site. coming
soon
- OWL: The Ontology Web Language [OWL]
coming soon
- Flora: Rule based language [FLORA]
coming soon
The current version of the API give the possibility to express simple constructs of the language: any kind
of mapping between the class, attribute and relation entities using if necessary
some operators to relate entities on one side. It is possible to parse a file
into a java objects hierarchy, to manipulate these objects and to serialize them
into a mapping document.
Nature: A Java library without user interface.
Interfaces (API, Web Services): a Java API.
Platform: JDK 1.4.2., 1.5.0
Supported standards:
- This API is built on top of the Ontology Mapping Specification Language
(EBNF reference)
Required Libraries
- The required libraries to use the API are in the jar
file (see section Installation).
Copyright (c) 2005, DERI International.
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU
Lesser General Public License as published by the Free Software Foundation;
either version 2.1 of the License, or (at your option) any later version. This
library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU Lesser General Public License for more details. You should
have received a copy of the GNU Lesser General Public License along with this
library; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
Suite 330, Boston, MA 02111-1307 USA.
The API is distributed as a JAR archive, which should be extracted in a separate
folder. The archive file is originally named
mappingLanguage.jar and has the
following contents:
-
FactSheet.html
- this document;
-
doc
folder - contains Javadoc documentation;
mappingLanguage.jar
- contains the API libraries
This example shows how to parse a file mapping between the following two ontologies.
The file containing a partial mapping for this example is accessible here.
The conditional mapping rules which are necessary to realize a complete mapping
of these two ontologies are not supported yet (see section Future Plans). In
the following, we give the code of a sample class to parse this file into an
object called 'map' and to serialize this object in output.
package org.omwg.mediation.compiler.test;
import org.omwg.mediation.Mapping2Object;
public class Mapping2ObjectTest {
public static void main(String[] argv) {
String filename = argv[0];
Mapping2Object map = new Mapping2Object("example.map");
System.out.println(map.document.toString());
}
} |
The major driving forces for the future development of the Ontology Mapping API:
- Fully supporting the language constructs
- Give the possibility to export the mapping documents in different ontology
languages
- Follow the evolutions of the mapping language
Below follows a non-exhaustive list of tasks, which fit into the short-term development plans:
- Support conditionnal mappings
- Export to WSML
- Export to OWL
The next release of this API is planned for the end of July 2005.
[de Bruijn et al.
2004] Jos de Bruijn, Francisco Martin-Recuerda, Axel Polleres, Livia
Predoiu, Marc Ehrig: Ontology Mediation Management. SEKT Projekt deliverable
D4.4, October 2004.
[FLORA] Guizhen Yang, Michael
Kifer, and Chang Zhao: A Rule-Based Knowledge Representation and Inference
Infrastructure for the Semantic Web. Proceedings of the Second International
Conference on Ontologies, Databases and Applications of Semantics (ODBASE),
Catania, 2003.
[OWL] Mike Dean and Guus Schreiber:
OWL, Web Ontology Language Reference. W3C Recommendation 10 February
2004.
[WSML0.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/
$Date: 2005/06/02 00:00:00 $
webmaster