27.03.2014 Views

SEKE 2012 Proceedings - Knowledge Systems Institute

SEKE 2012 Proceedings - Knowledge Systems Institute

SEKE 2012 Proceedings - Knowledge Systems Institute

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Elem. UML Example D 12 Harmonizing result Relevant settings<br />

class<br />

class<br />

class<br />

abstract<br />

class<br />

attribute<br />

attribute<br />

attribute<br />

association<br />

composition<br />

aggregation<br />

association<br />

Two classes named Student exist<br />

within two different packages.<br />

Two classes named Student exist<br />

within two different packages.<br />

Two classes named Student exist<br />

within two different packages.<br />

{abstract} Student<br />

Two classes, namely Student and<br />

Building exist within the same<br />

package. Both contain attribute<br />

name.<br />

Two classes, namely Student and<br />

Building exist within the same<br />

package. Both contain attribute<br />

name.<br />

Two classes, namely Student and<br />

Building exist within the same<br />

package. Both contain attribute<br />

name.<br />

Unidirectional association named<br />

based on between Tree and Trunk.<br />

Each Tire belongs to exactly 1 Car<br />

at one time.<br />

University has Researchers.<br />

Three associations: Tank contains<br />

Temperature Sensors, Level Sensors<br />

and Heaters (class names). All<br />

assoc. are labelled with contains.<br />

X<br />

X<br />

X<br />

X<br />

X<br />

S<br />

Student<br />

Package2 Student<br />

Package1 Student<br />

Package2 Student<br />

Student in out Package1.owl<br />

Student in out Package2.owl<br />

Abstract Student<br />

Building: hasName<br />

Student: hasPackage1 StudentName<br />

Building: hasName<br />

Student: hasStudentName<br />

Student: hasStudentName<br />

Building: hasBuildingName<br />

hasTreeTrunkRelation<br />

hasTrunkTreeRelation (inverse). Comment ”Relation<br />

originally named ’based on’“ added.<br />

hasCarTireComposition<br />

isTireOfCar (inverse - part of)<br />

hasUniversityResearcher<br />

IsResearcherOfUniversity (inverse)<br />

All associations are still labelled with contains.<br />

One OWL object property named with<br />

domain and range<br />

will be created.<br />

merge-packages=true<br />

merge-disable-fixing=true<br />

merge-class-prefix={package}<br />

merge-packages=true<br />

merge-disable-fixing=false<br />

merge-class-prefix={package}<br />

merge-packages=false<br />

abstract-prefix=Abstract<br />

abstract-postfix=<br />

merge-packages=true<br />

data-property-prefix=has<br />

merge-attribute-strategy=duplicates<br />

merge-attribute-prefix={package-class}<br />

merge-packages=true<br />

data-property-prefix=has<br />

merge-attribute-strategy=duplicates<br />

merge-attribute-prefix={class}<br />

merge-packages=true<br />

data-property-prefix=has<br />

merge-attribute-strategy=all<br />

merge-attribute-prefix={class}<br />

relation-strategy-relation=Relation<br />

relation-strategy-1=<br />

has{from}{to}{dependingRelation}<br />

TABLE II: Examples of implemented harmonizing techniques, depending on settings<br />

relation-strategy-1=has{from}{to}{dependRel}<br />

relation-strategy-composition-part-<br />

1=is{from}Of{to};<br />

relation-strategy-composition=Composition<br />

relation-strategy-1=has{from}{to}{dependRel}<br />

relation-strategy-aggregation-part-<br />

1=is{from}Of{to};<br />

relation-strategy-aggregation=<br />

allow-multiple-labelled-names=true<br />

relation-strategy-1={name}<br />

relation-strategy-2=has{from}{to}<br />

{dependRel}<br />

ject properties, which are restricted by domain and range<br />

through their corresponding OWL classes (formally UML<br />

classes or interfaces). Equally named associations as well are<br />

supported. Thus, domain/range expressions contain concatenated<br />

OWL entities, separated by . Example: UML associations<br />

and<br />

will be transformed into object property with<br />

domain and range .Ifan<br />

association is navigable in both directions, object properties<br />

will be linked as Inverse properties one another. All object<br />

properties are added as subclass axioms to their related OWL<br />

classes, concerning cardinality. Assuming that a Professor can<br />

hold between 0 and 500 lectures, the example above would<br />

result in two subclass axioms:<br />

and .<br />

The mapping mechanism of umlTUowl is detailed in figure<br />

2. All transformed ontologies have been validated manually,<br />

by applying ManchesterValidator for OWL2 DL format and<br />

by comparing the resulting ontology in Protégé (using the<br />

FaCT++ reasoner) [10]). The verification of the ontologies<br />

showed that all UML reference models were transformed<br />

correctly and completely for all three UML modeling tools and<br />

with respect to different configuration settings of umlTUowl.<br />

Fig. 2: Mapping of UML elements and OWL entities<br />

734

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!