Top Banner
Using UML for Ontology construction: a case study in Agriculture Francois Pinet 1 , Pierre Ventadour 1 , Thomas Brun 1 , Petraq Papajorgji 2 , Catherine Roussey 3 , Frederic Vigier 1 1 - Cemagref, France 2 - IFAS-UF, USA 3 - CNRS LIRIS, France
22
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Using uml for ontology construction a case study in agriculture

Using UML for Ontology construction: a case study in

Agriculture 

Francois Pinet1, Pierre Ventadour1, Thomas Brun1, Petraq Papajorgji2,Catherine Roussey3, Frederic Vigier1

1 - Cemagref, France2 - IFAS-UF, USA3 - CNRS LIRIS, France

Page 2: Using uml for ontology construction a case study in agriculture

• Goal of the presentation:

- Step 1) Describe the process used to translate an UML model into an ontology.

- Step 2) Present how to use Description Logics to deduce knolwedge issued from this ontology.

Page 3: Using uml for ontology construction a case study in agriculture

UML for ontology construction?

- Several studies have acknowledged the benefits of using a standard modelling tool such as UML in ontology construction:

Cranefield Stephen, Purvis Martin, UML as an Ontology Modelling Language. In Proceedings of the Workshop on Intelligent Information Integration, 16th International Joint Conference on Artificial Intelligence (IJCAI-99), 1999.

Martin Philippe, Translations between UML, OWL, KIF and the WebKB-2 languages (For-Taxonomy, Frame-CG, Formalized English), Technical Report, May/June 2003.

IBM, Ontology Definition Metamodel, Submitted by IBM.

Schreiber Guus, A UML Presentation Syntax for OWL Lite, Technical Report, 2005.

Ect.

Page 4: Using uml for ontology construction a case study in agriculture

UML for ontology construction?

- UML is widely used and supported by a large number of tools

- UML is an open standard maintained by the Object Management Group (OMG) and it is well-known in many Universities and companies.

Page 5: Using uml for ontology construction a case study in agriculture

What is the UML?

• OO Unified Modelling Language

• A graphical language for modelling information system, software and …

• The language is composed by different diagrams

• Class diagrams can be used in order to model data and they may be used to model some parts of an ontology…

Page 6: Using uml for ontology construction a case study in agriculture

Example of UML diagram

Page 7: Using uml for ontology construction a case study in agriculture

Example of UML diagram

class

Generalization / Specialization

association

attribute mutliplicity

Page 8: Using uml for ontology construction a case study in agriculture

UMLOWL

Commun part

UML for ontology construction?Example of comparison between OWL and UML

UML/OWL Comparison can be found in:

IBM, Ontology Definition Metamodel, Fourth Revised Submission to OMG/ RFP ad/2003-03-40 Submitted by IBM, 286p.

The expressivity of the two languages are not similar.

Page 9: Using uml for ontology construction a case study in agriculture

UML OWL Class Class Instance Individual Attribute, Binary association Property Subclass Subclass N-ary Association, Association class Class, Property Enumeration oneOf Navigable, Non-navigable Domain, Range Multiplicity minCardinality, maxCardinality,

inverseOf Package Ontology

Similar concepts

Page 10: Using uml for ontology construction a case study in agriculture

UML

OWL

Animal class, Disease class, Identification property, Remark property …

+ hasDisease property having Disease as values range

(hasDisease is used to replaced the UML association)

Page 11: Using uml for ontology construction a case study in agriculture

Approach experimented in the paper:

UML class diagram

Protegé (Standford University, Protégé, http://protege.stanford.edu, 2005 )

Import with UML Storage Backend Plug-In (semi-manual process – for

instance, the binary associations are not translated into properties)

OWL

« reasoning » (e.g. deducing new individuals)

Thanks to a DIG reasoner e.g. a reasoner supporting the interface defined by the DL Implementation Group (DIG - http://dl.kr.org/dig/)

ArgoUML

Page 12: Using uml for ontology construction a case study in agriculture

Ontology with Protégé

Page 13: Using uml for ontology construction a case study in agriculture

“Reasoning” with Protégé:

we can model an individual of Diseased_Animal as an individual belonging to Animal and having a Disease

Page 14: Using uml for ontology construction a case study in agriculture

“Reasoning” with Protégé:

we can model an individual of Diseased_Animal as an individual belonging to Animal and having a Disease

In Description Logic

Diseased_Animal:

Property of Animal

- it corresponds to the assocation between Disease and Animal in the UML class diagram

Page 15: Using uml for ontology construction a case study in agriculture

“Reasoning” with Protégé:

we can model an individual of Diseased_Animal as an individual belonging to Animal and having a Disease

Animal

It possible to classify the animals with a DIG Reasoner

Diseased_Animal Not(Diseased_Animal)

Diseased_Animal:

In Description Logic

Page 16: Using uml for ontology construction a case study in agriculture

Description Logic

- Description logics (DL) are a family of knowledge representation languages to represent the terminological knowledge of an application domain. They came from AI.

- The name description logic refers:- to concept descriptions used to describe a domain and, - to the logic-based semantics linked with the first-order logic.

- The first DL was KL-ONE (by Brachman and Schmolze, 1985). other DL systems: LOOM (1987), BACK (1988), KRIS (1991), CLASSIC (1991), FaCT (1998) and lately RACER (2001), CEL (2005), and KAON 2 (2005).

Page 17: Using uml for ontology construction a case study in agriculture

- OWL DL is partially based on a DL named

Description Logic

- Another example in DL:

Parent = Person Child.Person

« Formally speaking, the set of all the parents is the intersection between:

- the set of persons and,

- the set of individuals having a child who is a person »

Page 18: Using uml for ontology construction a case study in agriculture

Description LogicExamples of DL syntax:

C1 … Cn Animal Male“the male animals”

C1 … Cn Insect Animal“the insects and the animals”

C Mammal“all expect the mammals”

P.C (universal quantifier) hasEmployee.Farmer“individuals only employingfarmers”

P.C (existential quantifier) hasEmployee.Farmer“individuals employing one farmer or more”

Page 19: Using uml for ontology construction a case study in agriculture

Recursive definitions are possible:

The class D of all the descendants of animals having a disease:

D =

Animal

parent.(Diseased_Animal D )

“An individual in D is an animal which has a parent having a disease or which is a descendant of an individual of D”.

Starting from a set of diseased animals, it is possible with Protégé and a DIG reasoner to deduce all the descants of animals having a disease.

Page 20: Using uml for ontology construction a case study in agriculture

Link between individuals deduced during the reasoning process can be viewed with Jambalaya (Protégé Plug-In)

Animal 1

Animal 2

Animal 3

DISEASED ANIMAL class

ANIMAL class

Page 21: Using uml for ontology construction a case study in agriculture

Conclusion

From UML models to knowledge reasoning, we experimented the use of:

- ArgoUML (to draw UML diagrams)

- Protégé:

- UML Storage Backend Plug-In (to translate some parts of the UML diagram)

- Jambalaya (to show the result of the reasoning)

- DIG Reasoner (Fact++)

Page 22: Using uml for ontology construction a case study in agriculture

Perspectives

- An important research field consists of extending the UML class diagrams in order to model all the main ontology constructs.

- Another research field is related to the use of the Object Constraint Language of UML (Warmer and Kleppe 1999).

- Goal of this approach = to allow describing directly in OCL, logical expressions for the automatic reasoning (Cranefield and Purvis 1999).