Skip to content

igorm/EROWLMapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EROWLMapper

EROWLMapper illustrates an approach to automatically mapping ER schemas to OWL ontologies presented in I. Myroshnichenko and M. Murphy, Mapping ER Schemas to OWL Ontologies, IEEE Sixth International Conference on Semantic Computing, Berkeley, CA, 2009. The mapping logic is located in the Mapper class.

Input

Input ER schemas are defined using YAML:

--- # Person-Car ER Schema
entities:
    -
        name: Person
        attributes:
            -
                name: ssn
                key: true
            -
                name: name
    -
        name: Car
        attributes:
            -
                name: vin
                key: true
            -
                name: make
            -
                name: model
relationships:
    -
        name: Drives
        participatingEntities:
            -
                name: Person
                role: Driver
            -
                name: Car
                role: Vehicle
                min: 1

Output

Output OWL ontologies are serialized using Apache Jena in RDF/XML Syntax.

Running EROWLMapper

EROWLMapper is using Apache Maven. You can package and run the application as follows:

$ mvn package exec:java -Dexec.mainClass="com.myrosh.erowlmapper.App" -Dexec.args="person_car.yml person_car.owl"