KDI SOA Solutions: Ontologies Fausto Giunchiglia and Mattia - - PowerPoint PPT Presentation

kdi soa solutions ontologies
SMART_READER_LITE
LIVE PREVIEW

KDI SOA Solutions: Ontologies Fausto Giunchiglia and Mattia - - PowerPoint PPT Presentation

KDI SOA Solutions: Ontologies Fausto Giunchiglia and Mattia Fumagallli University of Trento 0/61 Outline What is an Ontology? 1/61 What is an Ontology? UFO Outline Ontology has different meaning in different communities...


slide-1
SLIDE 1

KDI SOA Solutions: Ontologies

Fausto Giunchiglia and Mattia Fumagallli

University of Trento

0/61

slide-2
SLIDE 2

What is an Ontology?

Outline

1/61

slide-3
SLIDE 3

“Ontology’’ has different meaning in different communities... Ontology: philosophical discipline which deals with the nature and structure of “reality.”

  • the science of “being qua being,” i.e., the study of attributes that

belong to things because of their very nature (Aristotle), which focuses on the nature and structure of things per se, independently of any further considerations, and even independently of their actual existence

  • e.g. Ontology of unicorns and other fictitious entities

UFO Outline What is an Ontology?

2/61

slide-4
SLIDE 4
  • ``ontology’’ has

different meaning in different communities...

  • Ontology:philosophical discipline which deals

with the nature and structure of“reality.”

  • the science of “being qua being,” i.e.,the study of attribute

that belong to things because of their very nature (Aristotle)

  • focuses on the nature and structure of things per se,

independently of any further considerations, andeven independently of their actual existence

  • e.g. Ontology of unicorns and other fictitiousentities

UFO Outline What is an Ontology?

3/61

slide-5
SLIDE 5
  • An ontology:in computer science,a special kind of information
  • bject or computational artifact
  • formally model the structure of a system, i.e.,the relevant

entities and relations that emerge from its observation, and which are useful to ourpurposes.

  • Example: Provide an ontological representation of a company with

all its employees and their interrelationships

  • entities organized in concepts (unary predicates) and relations

(binary predicates) a taxonomy of concepts (generalization/specialization hierarchy) E.g.:

  • Person, Manager,and Researcher
  • Person “super concept” of Manager,and Researcher
  • Cooperates-with can be considered a relevant relation

holding between persons. A concrete person (e.g. Mario Rossi) working in a company would then be an instance of its corresponding concept. Cooperates-with(Mario Rossi, Giorgio Bianchi) states that Mario Rosso cooperates with Giorgio Bianchi in its work.

UFO Outline What is an Ontology?

  • 4/61
slide-6
SLIDE 6

What is an Ontology?

  • “explicit specification of a

conceptualization” [Gruber,1993] “formal specification of a shared conceptualization” [Borst,1997] “An ontology is a formal, explicit specificationof a shared conceptualization” [Studer et al.,1998] But....

  • What is a conceptualization?

What is a proper formal, explicitspecification? Why is ‘shared’ ofimportance?

UFO Outline Several definitions

5/61

slide-7
SLIDE 7
  • Formal structure of (a piece of) reality as perceived and
  • rganized by an agent,independently of:
  • the vocabulary used

the actual occurence of a specific situation

  • Different situations involving same objects,described by

different vocabularies,may share the same conceptualization. "mela","apple":different terms for the same conceptualization...

UFO Outline What is a conceptualization?

6/61

slide-8
SLIDE 8

UFO Outline What is a conceptualization?

7/61

slide-9
SLIDE 9
  • W

e need to use a language to refer to the elements of a conceptualization

  • the language commits to a conceptualization
  • Problem: a logical signature can be interpreted inarbitrarily

many different ways Once we commit to a certain conceptualization, we have to make sure to only admit those models which are intended according to the conceptualization.

  • the intended models of a relation predicate will be those such

that the interpretation of the predicate returns one of the various possible extensions (one for each possible world) of the conceptual relation denoted by the predicate.

UFO Outline Formal, Explicit Specification

8/61

slide-10
SLIDE 10
  • Conceptualization can be explicitly specified in two ways:
  • extensionally: listing the extensions of every(conceptual)

relation for all possible worlds (unfeasible) intensionally: fix a language,and constrain the interpretations of the language in an intensional way, by means of suitable axioms

  • An ontology: a logical theory (set of axioms) designedto

capture the intended models corresponding to a certain conceptualization and to exclude the unintended ones. Axioms can be given in an informal (e.g. naturallanguage) or formal language (i.e. machineprocessable)

  • we need a formal language!

UFO Outline Formal, Explicit Specification

9/61

slide-11
SLIDE 11

UFO Outline What is an Ontology?

10/61

SEMANTIC GAP

World Language L Theory T Domain D Model M expresses Logical Model grounds Interpretation Entailment Causes Represents

slide-12
SLIDE 12

UFO Outline Ontology Quality : Precision and Correctness

11/61

slide-13
SLIDE 13

UFO Outline Ontological Precision: Language Expressivness

12/61

slide-14
SLIDE 14

UFO Outline Ontological Precision: Importance of Ontological Precision

13/61

slide-15
SLIDE 15
  • Only one binary predicate in the language:on

Only three blocks in the domain:a,b,c. Axioms (for all x,y,z):

  • n(x,y) → ¬on(y,x)
  • n(x,y) → ¬∃z (on(x,z) ∧on(z,y))

UFO Outline Ontological Precision: Lack of Precision

14/61

slide-16
SLIDE 16
  • Only one binary predicate in the language:on

Only three blocks in the domain:a,b,c. Axioms (for all x,y,z):

  • a

b c a

¬on(a,a)

  • n(x,y) → ¬on(y,x)
  • n(x,y) → ¬∃z (on(x,z) ∧on(z,y))

Excluded ¬on(b,a)

UFO Outline Ontological Precision: Lack of Precision

15/61

slide-17
SLIDE 17
  • Only one binary predicate in the language:on

Only three blocks in the domain:a,b,c. Axioms (for all x,y,z):

  • a

b c a

¬on(a,a)

a c a c a c a c

Indistinguishable

  • n(c,a)

UFO Outline Ontological Precision: Lack of Precision

  • n(x,y) → ¬on(y,x)
  • n(x,y) → ¬∃z (on(x,z) ∧on(z,y))

Excluded ¬on(b,a)

16/61

slide-18
SLIDE 18
  • Capturing all intended models is not sufficient for a

“perfect” ontology

  • Precision: non-intended models areexcluded

Accuracy: negative examples are excluded

  • When is a precise and accurate ontology useful?
  • When subtle distinctions are important

When recognizing disagreement is important When general abstractions are important When careful explanation and justification of ontological commitment is important When mutual understanding is more important than interoperability.

UFO Outline Precision and accuracy

17/61

slide-19
SLIDE 19
  • Sharing whole conceptualizations may not be possible

(private to the mind of the individuals) Sharing approximations of conceptualizations based on a limited set of examples, and showing the actual circumstances where a certain conceptual relation holds Without such minimal sharing, the benefits of havingan

  • ntology are limited
  • ntology may turn out useless if it is used in a way that runs

counter the understanding of the primitive terms in the appropriate way.

  • Any ontology will always be less complete and less formal than

it would be desirable in theory.

UFO Outline Why is Shared of Importance?

18/61

slide-20
SLIDE 20
  • Ontologies to facilitate the communication between the human and

the machine

  • set of possible correspondences between signs, concepts and real-world entities

is strongly reduced (message becomes completely unambiguous)

UFO Outline Why is Shared of Importance?

19/61

slide-21
SLIDE 21

Why is Shared

  • f Importance?
  • Ontologies to facilitate the communication between the human and

the machine

  • set of possible correspondences between signs, concepts and real-world entities

is strongly reduced (message becomes completely unambiguous)

UFO Outline Why is Shared of Importance?

20/61

slide-22
SLIDE 22
  • Classifications focus on:
  • access, based on pre-determined criteria (encodedby

syntactic keys)

  • Ontologies focus on:
  • Meaning of terms

Nature and structure of a domain

UFO Outline Ontologies vs. classifications

21/61

slide-23
SLIDE 23
  • Classification focus on:
  • access, based on pre-determined criteria (encodedby

syntactic keys)

  • Ontologies focus on:
  • Meaning of terms

Nature and structure of a domain

UFO Outline Ontologies vs. classifications

22/61

slide-24
SLIDE 24
  • Concept (DL) / Class (OWL)
  • something that characterizes a set of individuals

corresponds to an unary predicate in FOL e.g.Animal,Person,Pizza

  • Relation / Role (DL) / Property (OWL)

something that relates two or more individuals corresponds to an n-ary (n≥2) predicate in FOL

  • DL/OWL only allows binary (n=2) predicates
  • e.g.Loves,MarriedWith,Eat
  • Object / Individual (OWL,DL)
  • the element of the domain, concrete entities of theworld

corresponds to constants/variables in FOL e.g. Fausto Giunchiglia,UniTN

UFO Outline Ontology Building Blocks

23/61

slide-25
SLIDE 25
  • Deciding if something is a concept or is an individual

may not be always trivial Some criteria:

  • Concepts can (but not necessarily) have instances /

Individuals do not have instances

  • e.g. Person /FaustoGiunchiglia
  • Concepts are typically abstract entities / Individuals can be

concrete objects of the world or abstract objects

  • e.g. Superheroes /Batman,
  • Intuition: if it recalls a set of entities, go for a concept

UFO Outline Ontology Building Blocks: Concept vs Individual

24/61

slide-26
SLIDE 26
  • Is-a Relation

is-a relation:binary relation between concepts (not individuals) Examples: Student is-a Person,Air Pollutant is-a Pollutant

  • Informal meaning: all the students are persons (or all the individuals that are

students are also persons); if something is an air pollutant, itis also a pollutant

  • In set-theoretical terms:
  • In FOL terms:
  • ∀x(student(x) → person(x))
  • In DL terms:
  • Student ⊑Person

Student Person

UFO Outline Ontology Building Blocks

25/61

slide-27
SLIDE 27
  • Reflexivity:
  • A is-aA
  • Antisymmetry:
  • ifA is-a B and B is-aA,thenA = B
  • T

ransitivity:

  • ifA is-a B and B is-a C,thenA is-a C
  • That is, is-a is a partial order

UFO Outline Ontology Building Blocks: Properties of Is-a relation

26/61

slide-28
SLIDE 28

Is-a hierarchy

  • taxonomy: a hierarchical organized subject-based classificationsystem
  • typically depicted in a tree-like structure
  • is-a hierarchy: taxonomy of concepts organized according to the is-arelation.

UFO Ontology Building Blocks

27/61

slide-29
SLIDE 29
  • Person(FaustoGiunchiglia)
  • In DL terms:
  • Person(FaustoGiunchiglia)

Instance-of

instance-of: associates an individual (or evena concept) to a concept Examples: faustoGiunchiglia instance-of Person,FBK instance-of Institute In set-theoretical terms:

Person FaustoGiunchiglia

In FOL terms:

UFO Ontology Building Blocks

28/61

slide-30
SLIDE 30
  • Relations

relations: allows to predicate on the individualsof concepts Examples: FaustoGiunchiglia worksAt DISI,FaustoGiunchiglia worksWith MattiaF In set-theoretical terms:

  • In FOL/DL terms:
  • WorksAt(FaustoGiunchiglia, DISI),WorksWith(FaustoGiunchiglia,

MattiaF)

Person ResearchInstitute FaustoGiunchiglia worksAt DISI worksWith MattiaF

UFO Ontology Building Blocks

29/61

slide-31
SLIDE 31
  • Member / collection
  • This cow / the herd, John / theorchestra

Sub-collection / collection

  • Benelux / EU (but not USA / NATO)

Component-IntegralWhole

  • The handle / the door, the engine / mycar

Portion-Whole

  • A piece of cake

Substance-Whole

  • Some sugar / this cake
  • Piece-Whole
  • The left half of this table

An important example of relation:parthood

Part–whole relations and meronomies (hierarchy that deals with part– whole relationships) A meronomy is a partial ordering of concepts by the part–whole relation A "set" of relations:

UFO Ontology Building Blocks

30/61

slide-32
SLIDE 32
  • Aim:provide a broad view of the world suitable for many

different target domains (cross-domain knowledge)

  • to provide a coherent formal description of entities (e.g. event,
  • bject) and relationships (e.g. part-of) that are common across

domains

UFO Ontology Typologies: Top-level (or foundational) Ontologies

31/61

slide-33
SLIDE 33
  • DOLCE:a Descriptive Ontology for Linguistic and

Cognitive Engineering

  • Developed in FOL but some DL approximations exist
  • Cognitive bias: descriptive (as opposite to

prescriptive) attitude.

  • Emphasis on cognitive invariants.
  • Categories as conceptual containers: no `deep'

metaphysical implications.

  • Clear branching points to allow easy

comparison with different ontological

  • ptions.
  • Rich axiomatization.
  • Available at:http://www.loa-cnr.it/DOLCE.html

Top-level Ontologies:DOLCE

UFO Ontology Typologies: Top-level (or foundational) Ontologies

32/61

slide-34
SLIDE 34

UFO Ontology Typologies: Top-level Ontologies: DOLCE taxonomy

33/61

slide-35
SLIDE 35
  • Philosophical and Realistic bias Consists

in a series of sub-ontologies two main ingredients:

  • SNAPs: continuant (or snapshot)ontologies
  • 3-dimensional entities (no temporal information)

Substantial Entities,Tropes, SpatialRegions An inventory of all entities existing at a time

  • SPANs: occurrentontologies
  • 4-dimensional entities (temporal information)

Processual Entities,Temporal Regions, Spatio-temporalRegions An inventory (processory) of all the processes unfolding through a given interval of time

  • Available at:http://code.google.com/p/bfo/

Top-level Ontologies:BFO

BFO: Basic FormalOntology

UFO Ontology Typologies

34/61

slide-36
SLIDE 36

Top-level Ontologies: SPAN taxonomy in BFO

UFO Ontology Typologies

35/61

slide-37
SLIDE 37
  • SUMO:The Suggested Upper Merged Ontology
  • A large, open source,formal ontology stated in first-order logic

Richly axiomatized, not just ataxonomy.

  • All terms are formally defined.

Meanings are not dependent on a particular inference implementation.

  • Mapped to all of the WordNetlexicon

Available at:http://www.ontologyportal.org/SUMO.owl Top-level Ontologies:SUMO

UFO Ontology Typologies

36/61

slide-38
SLIDE 38

Top-level Ontologies: SUMO taxonomy

Structural Ontology Base Ontology Set/Class Theory Numeric Temporal Mereotopology Graph Measure Processes Objects Qualities

UFO Ontology Typologies

37/61

slide-39
SLIDE 39
  • Aim:define the meanings of terms as they apply to

the domain under consideration

  • definition of a term may be different in ontologies

describing different domains

  • Examples:
  • Gene Ontology: ontology of terms representinggene

product properties

  • covers three domains:cellular component,molecular function,and

biological process, http://www.geneontology.org/

  • Wine ontology: ontology describing the domain ofwine
  • http://www.w3.org/TR/owl-

guide/wine.rdf

Domain Ontologies

UFO Ontology Typologies

38/61

slide-40
SLIDE 40
  • Aim:an ontology engineered for a specific use or

application focus and whose scope is specified through testable use cases

  • focus is not on the domain, rather on supportingsome

application tasks (e.g. viareasoning)

  • Examples:
  • BPMN Ontology: describes the business processmodeling

notation language

  • https://dkm.fbk.eu/index.php/BPMN_Related_Resources
  • PESCaDO Ontology: an ontology supporting theprocessing of

environmental data for decision support

  • https://ontohub.org/fois-ontology-competition/PESCaDO_Ontology

Application Ontologies

UFO Ontology Typologies

39/61

slide-41
SLIDE 41
  • To share common understanding of the structure of

information among people or software agents To enable reuse of domain knowledge To make domain assumptions explicit To separate domain knowledge from the operational knowledge To analyze domain knowledge UFO Why Developing Ontologies?

40/61

slide-42
SLIDE 42
  • Naming “things”

As a data exchange format Define a knowledge base schema Computer reasoning over data Driving NLP Information integration UFO Typical Application of Ontologies in Computer Science

41/61

slide-43
SLIDE 43

UFO The Semantic Web Cake

42/61

slide-44
SLIDE 44

Parts of these slides have been inspired by (or reuse) (possibly adapted) content included in the following material:

  • Nicola Guarino, Daniel Oberle,and Steffen Staab:What is an
  • ntology?

Nicola Guarino: Introduction toApplied Ontology and OntologicalAnalysis Stefano Borgo,Carola Eschenbach,LaureVieu:Modeling in Knowledge Representation: the Parthood Relation Claudio Masolo:An introduction to formal ontological distinctions (in DOLCE) Marco Rospocher: Slides

UFO Acknowledgements

43/61