ontologie e applicazioni marco brandizi gives_presentation dec 6, 2005 has_date has_context works_in...

57
Ontologie e Ontologie e applicazioni applicazioni Marco Brandizi <[email protected] t> gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

Upload: isabel-king

Post on 30-Jan-2016

215 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

Ontologie e applicazioniOntologie e applicazioniOntologie e applicazioniOntologie e applicazioni

Marco Brandizi<[email protected]>

gives_presentation

Dec 6, 2005

has_date

has_context

works_inpart_of

Dottorato in InformaticaXIX Ciclo

Page 2: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

OutlineWhat an ontology is

Informal idea

Applications

Formal definition

Working with ontologies: Description Logics

Ontologies and Semantic Web

The idea of Semantic Web

OWL

An application to microarray data management

Conclusions and future work

Page 3: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

Ontologies

Page 4: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

OntologiesIssues (relevant in Computer Science, from [Wikipedia])

What is existence?

What physical objects?

What are essential attributes of objects?

Being an apple and being red

What constitutes the identity of an object?

Categories:

Mind: a real entity or a set of states?

Physical objects and substances

Relationships, type of relations

“finger part-of body”? “embryo part-of child-development”?

Page 5: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

Ontologies and Computer Science

From [Mc Guinness]

Page 6: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

Ontologies and Computer ScienceFrom [Mc Guinnes], required properties:

Finite controlled (extensible) vocabulary

Unambiguous interpretation of classes and term relationships

Strict hierarchical subclass relationships between classes

Typical, although not required

Property specification on a per-class basis

Individual inclusion in the ontology

Value restriction specification on a per-class basis

Desirable:

Specification of disjoint classes

Specification of arbitrary logical relationships between terms

Distinguished relationships such as inverse and part-whole

Page 7: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

Toy ontology example

Page 8: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

Example of queries

“nails is-part-of elephant”? yes, because:

“has-legs” and “has-nails” are particular “has-parts”

transitive relation

“is-part-of” is the inverse

of “has-parts”

Page 9: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

Example of queries

“giraffe is-eaten-by lion”? yes, because:

giraffe is-a herbivore => is-a animal

lion is-a carnivore => lion eats animal => lion eats giraffe“is-eaten” is the inverse of “eats”

Page 10: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

Uses (of ontologies and “ontologies”)Reasoning (as in query examples)

Consistency checking

DUMBO is-a Kenian-Elephant AND DUMBO is-a Lion is wrong

Interoperability

Two applications may talk together

Browsing

Searching

Sense disambiguation, synonyms, subsumption

Completion and interaction

Patient is a man => is a male and pregnant is not a cause of its

symptoms

Natural Language Processing

Page 11: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

Defining ontologies

[Gruber 93]: “An ontology is an explicit specification

of a conceptualization”

(Variant: it is a shared explicit spec. ...)

Problems [Guarino, 98]:

The specification depends by the language which is

used for the specification

A conceptualization is a more abstract entity, w.r.t. a

formal specification which is expressed with a given

language

Page 12: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

What is a conceptualizationConceptualization: the formal structure of reality as perceived and organized by an agent, independently of:

the vocabulary used (i.e., the language used)

the actual occurence of a specific situation

Different situations involving the same objects, described by different vocabularies, may share the same conceptualization.

apple

mela

same conceptualization

LI

LE

From [Guarino Tut1]

Page 13: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

Conceptualizations and ontologies

on(x,y) expresses the general idea of on, it has subsets in possible worldsit has restrictions that excludes “impossible” cases for all worlds

W1: on_1(a,d) is admitted W2: on_2(a,d) is not admittedhere

Page 14: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

Conceptualizations and ontologies

a

a

a

b

a

Excluded from conceptualization => Impossible in all worlds

c

Page 15: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

From [Guarino Tut1]

Page 16: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

From [Guarino Tut1]

Page 17: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

From [Guarino Tut1]

Page 18: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

Formal definition of the ontologiesAn ontology O for a language L (a set of axioms added to

L)approximates a conceptualization C:

If there exist a onto. commitment K such that:

the intended models of L according to K are included in the

models of O

An Ontology O commits to C if:

has been designed with the purpose of characterizing C

Approximates C

A language L commits to an ontology O if it commits to some

conceptualization C such that O agrees on C

Page 19: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

Formal definition of the ontologies

From [Guarino Tut2]

Page 20: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

Applying ontologies

From [Guarino 98]

Page 21: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

Designing ontologiesFormalized in [Guarino, 94]

Apple(A): Apple is a substantial sortal unary predicate

Defines A in such a way that a is no longer a apple if ~Apple(A)

Red(A): Red is not a sortal, is a characterizing property, if ~Red(A) A is

still an Apple

Formalized in [Gangemi et al. 2001]:

Take account of general, upper level, ontological relations

P1)Part(x,x) P2) Part(x,y) and Part(y,x)->x=y

P3)Part(x,y) and Part(y,z) -> Part(x,z)

Similar work in [ISMB 04]

Considers the basic relations and properties that occurs in Biological

ontologies

Page 22: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

Designing ontologiesSimilar work in [ISMB 04], the OBO relational ontology

Considers the basic relations and properties that occurs in

Biological ontologies

Continuants: entities which endure or continue to exist,

changing over time.

fetus and embryo are continuants, related one each

another by transformation relation

Both participate to the Process named

human_being_development

Page 23: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

OutlineWhat an ontology is

Informal idea

Applications

Formal definition

Working with ontologies: Description Logics

Ontologies and Semantic Web

The idea of Semantic Web

OWL

An application to microarray data management

Conclusions and future work

Page 24: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

Formalizing Ontologies: Logics

From [Franconi Tut]

Page 25: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

From [Franconi Tut]

Page 26: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

From [Franconi Tut]

Page 27: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

From [Franconi Tut]

1) The entitites which have the Role R with range R being in C2) The entities that have some y linked to them, as target of role R

1)

2)

Page 28: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

From [Franconi Tut]

Page 29: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

DL and computability

From [Franconi Tut]

Page 30: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

DL and computability

From [Franconi Tut]

Page 31: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

OutlineWhat an ontology is

Informal idea

Applications

Formal definition

Working with ontologies: Description Logics

Ontologies and Semantic Web

The idea of Semantic Web

OWL

An application to microarray data management

Conclusions and future work

Page 32: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

Applications: Semantic WebWeb was designed for humans

Knowledge on the web is unstructured and meaning is not explicitly

represented. It is not machine-readable

We would need:

Metadata

Languages for Data Exchange (XML)

Linking Web resources and representing the links meaning (RDF)

More advanced representation of Semantics (OWL)

Retrieving metadata (SPARQL, SWIRL)

Reasoning/Inferencing with metadata (OWL + Rules + Logics)

Page 33: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

Applications: Semantic Web“The Semantic Web is an extension of the current web in whichinformation is given well-defined meaning, better enabling computersand people to work in cooperation.”

Tim Berners-Lee, James Hendler, Ora Lassila, The Semantic Web, Scientific American, May 2001

Page 34: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

(http://owl.mindswap.org)

Page 35: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

RDF

Statements is basic simple structure (Like in Sem Networks)

May be represented in XML (as well as in N3)

Subject/Property(or verb)/Object may reference public resources,

identified by URIs (like Web pages)

A given resource may flexibly be annotated by many statements

Meaning of statements may be defined by other statements and

higher level languages (which still are RDF representable)

May be queried with simple query languages (SPARQL, RQL)

Page 36: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

RDF example

From [RDF Nature 05]

Page 37: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

RDF Example

From [RDF Nature 05]

Page 38: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

RDF Schema (RDF-S)Allow to define simple “ontologies” by means of triples

Pro

Easy to use

Efficiently computable

Cons

Not enough expressive in several cases:

rdfs:range doesn't allow scope management

No disjointness of classes

No boolean combinations of classes

Cannot define a property as transitive/unique/inverse

Page 39: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

OWL

SHIQ Description Logics plus other tools (ex.:

imports)

Several versions of DL

Lite – Fastest, least expressive

DL – Computable and expressive, slower

Full – Undecidable, most expressiveness

XML format

Built on top of RDF

Page 40: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

OWL

<rdf:RDF xml:base="http://www.co-ode.org/ontologies/pizza/..."> <owl:Ontology rdf:about=""> <owl:imports rdf:resource="http://.."/> <owl:versionInfo rdf:datatype="..."> version 1.2 </owl:versionInfo>- <rdfs:comment xml:lang="en"> A "final stage" that contains all constructs required </rdfs:comment> <protege:defaultLanguage rdf:datatype="..."> en </protege:defaultLanguage></owl:Ontology>

Page 41: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

OWL<owl:Class rdf:about="#DeepPanBase"> <rdfs:subClassOf rdf:resource="#PizzaBase"/>

<owl:disjointWith rdf:resource="#ThinAndCrispyBase"/> <rdfs:label xml:lang="pt">BaseEspessa</rdfs:label></owl:Class>

<owl:Class rdf:about="#DeepPanBase"> <rdfs:subClassOf rdf:resource="#PizzaBase"/>

<owl:disjointWith rdf:resource="#ThinAndCrispyBase"/> <rdfs:label xml:lang="pt">BaseEspessa</rdfs:label></owl:Class>

<owl:ObjectProperty rdf:ID="isIngredientOf"> <rdfs:comment xml:lang="en"> The inverse property tree to hasIngredient ... </rdfs:comment>- <owl:inverseOf> <owl:ObjectProperty rdf:ID="hasIngredient"/> </owl:inverseOf> <rdf:type rdf:resource="http://www.w3.org/..."/></owl:ObjectProperty>

Page 42: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

OutlineWhat an ontology is

Informal idea

Applications

Formal definition

Working with ontologies: Description Logics

Ontologies and Semantic Web

The idea of Semantic Web

OWL

An application to microarray data management

Conclusions and future work

Page 43: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

DNA

gene

mRNA

protein

Genes Machine

Cell/Life

Page 44: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

Microarray Data

Page 45: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

MIAME Experiment Modelling

From [RDF Nature 05]

Page 46: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

The mA Experiments Cycle

Page 47: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

“Closing the loop”

Page 48: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

What we need to model

Page 49: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

What we need to model

Page 50: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

What we need to model

Page 51: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

Microarrays Annotation Ontology

Microarray entities

Annotation entities

Page 52: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

Microarrays Annotation OntologyAnnotation (source, target, child, parent, rank)

Page 53: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

Microarrays Annotation Ontology

Page 54: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

Microarrays Annotation Ontology

Page 55: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

OutlineWhat an ontology is

Informal idea

Applications

Formal definition

Working with ontologies: Description Logics

Ontologies and Semantic Web

The idea of Semantic Web

OWL

An application to microarray data management

Conclusions and future work

Page 56: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

mA-Anno Ontology: How could it evolve?

MGED-2/FuGE

Development of some simple tool

Methodologies and ontological distinctions

Annotation could be an independent ontology

Theory of annotations?

Named Graphs [NG, NG1]

C-OWL [Bouquet et. al.]

Context and situations [Gangemi et. al. 2004]

Page 57: Ontologie e applicazioni Marco Brandizi gives_presentation Dec 6, 2005 has_date has_context works_in part_of Dottorato in Informatica XIX Ciclo

mA-Anno Ontology: How could it evolve?

From [NG1]

b0skill(Peter, Programming

R. Stallmann

FSF

e-macs getxtext

assertedBy

authority

affiliationaffiliation