58
Ontologies Mariana Damova, PhD April, 2010

Ontologies Fmi 042010

Embed Size (px)

Citation preview

Page 1: Ontologies Fmi 042010

Ontologies

Mariana Damova, PhD

April, 2010

Page 2: Ontologies Fmi 042010

Outline

• Definition of ontologies

• History of the science of categorization

• Knowledge models

• Knowledge organization

• Use and Building of ontologies

• Ontology tools

• Ontologies on the Web

Page 3: Ontologies Fmi 042010

Ontologies

What Is An Ontology

• An ontology is an explicit description of a domain:– concepts– properties and attributes of concepts– constraints on properties and attributes– Individuals (often, but not always)

• An ontology defines – a common vocabulary– a shared understanding

Page 4: Ontologies Fmi 042010

Outline

• Definition of ontologies

• History of the science of categorization

• Knowledge models

• Knowledge organization

• Use and Building of ontologies

• Ontology tools

• Ontologies on the Web

Page 5: Ontologies Fmi 042010

Philosophy

• What exists?

• What is?

• What am I?

• What is describing this to me?

Page 6: Ontologies Fmi 042010

Philosophy

Greek etymology

Parmenides of Elea, ancient Greek philosopher (early 5th century BCE)

For never shall this prevail,

that things that are not are

Parmenides made the ontological argument against nothingness, essentially denying the possible existence of a void.

Page 7: Ontologies Fmi 042010

Philosophy

• Jacob Lorhard, German philosopher (1561 - 1609)

• 1607 - First occurrence of the word Ontology (lat. Ontologia) and the first published ontology

Page 8: Ontologies Fmi 042010

Lorhard‘s Ontology• Translation from: Peter Øhrstøm, Sara L. Uckelman; Henrik

Schärfe –• Historical and conceptual foundations of diagrammatical ontology

Page 9: Ontologies Fmi 042010

Ontologies and CS

• Tom Gruber, 1992

• An ontology is a specification of a conceptualization.

• An ontology defines

• Concepts

• Relationships

• Any other distinctions that are relevant for modeling a domain

Page 10: Ontologies Fmi 042010

Ontologies and CS

• 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

Page 11: Ontologies Fmi 042010

Outline

• Definition of ontologies

• History of the science of categorization

• Knowledge models

• Knowledge organization

• Use and Building of ontologies

• Ontology tools

• Ontologies on the Web

Page 12: Ontologies Fmi 042010

Knowledge Models

Structured representations of knowledge using symbols torepresent pieces of knowledge and relationships betweenthem.

Different types of KM have different degrees of formality andlevels of expressivity.

A KM can include:Symbolic character-based languages, such as logicDiagrammatic representations, such as networks and laddersTabular representations, such as matricesStructured text, such as hypertext

Page 13: Ontologies Fmi 042010

Knowledge Models - Design

• Knowledge identification

- What?

• Knowledge specification

- How?

• Knowledge refinement

- Validation

Page 14: Ontologies Fmi 042010

Knowledge Models - Types

• Ladders: hierarchical (tree-like) diagrams

• Tables and Grids: tabular representations

• Network Diagrams: shows nodes connected by arrows

The most complex type of KM

Examples include semantic nets and conceptual graphs

Page 15: Ontologies Fmi 042010

Ladder Model Example – British Royal Family

Page 16: Ontologies Fmi 042010

Tabular Model Example – Stock Markets

Page 17: Ontologies Fmi 042010

Network Diagrams – Semantic Nets

• Nodes in the graph represent concepts

• Arcs represent binary relationships between concepts

• Any characteristic that links two concepts: isA, hasColour, hasAge,

LivesIn, etc.

Note the difference between this structure and the ladders.

Page 18: Ontologies Fmi 042010

Network Diagrams – Conceptual Graphs

• Combination between the existential graphs and Semantic nets

• A conceptual graph consists of:

• Concept nodes – represented as rectangular boxes

• Relations nodes – represented as ovals

• One way connections between the nodes – represented as arrows

• Less intuitive then the Semantic Nets

Nemo the fish lives in water

Page 19: Ontologies Fmi 042010

Outline

• Definition of ontologies

• History of the science of categorization

• Knowledge models

• Knowledge organization

• Use and Building of ontologies

• Ontology tools

• Ontologies on the Web

Page 20: Ontologies Fmi 042010

Knowledge Organization

• Thesaurus

• Taxonomies

• Ontologies

Page 21: Ontologies Fmi 042010

Thesaurus

• Similar with dictionaries

• Provides synonyms and antonyms for words, and not definitions

E.g., WordNet

Page 22: Ontologies Fmi 042010

Taxonomies

• Hierarchical structures

• Subtype-supertype relationships, also called parent-child relationships

• Example: Whale is Mammal; Mammal is an Animal (not all Animals are Mammal, not all mammals are Whales)

Page 23: Ontologies Fmi 042010

Taxonomy Examples

• Taxonomies on the Web– Yahoo! Categories

• Catalogs for on-line shopping– Amazon.com product catalog

• Domain-specific standard terminology– Unified Medical Language System (UMLS)– UNSPSC - terminology for products and services

Page 24: Ontologies Fmi 042010

Yahoo

Page 25: Ontologies Fmi 042010

Amazon

Page 26: Ontologies Fmi 042010

Ontology

• More complexA formal definition of ontologies is provided in [Brewster andWilks, 2009]

O = (C,T,R,A,I,V,≤c, ≤t, σR, σA, IC, IT, IR, IA)

• Whereby:

C – Concepts V – ValuesT – Types ≤ – Partial Order on C and TR – Relations σ – FunctionsA – Attributes I – Partial Instantiation FunctionsI – Instances

Page 27: Ontologies Fmi 042010

Knowledge Organization

Differences in the degree of logical rigor, formality and the potential for reasoning over the data structure

Page 28: Ontologies Fmi 042010

Outline

• Definition of ontologies

• History of the science of categorization

• Knowledge models

• Knowledge organization

• Use and Building of ontologies

• Ontology tools

• Ontologies on the Web

Page 29: Ontologies Fmi 042010

How Ontologies can be used

Ontologies

Software

agentsProblem-

solving

methods

Domain-

independent

applications

DatabasesDeclarestructure

Knowledge

bases

Provide

domaindescription

Page 30: Ontologies Fmi 042010

Types of Ontologies

• Upper Ontology – model of the common objects that are applicable across a wide range of domain ontologies

• Domain Ontology – an ontology developed for a specific domain; conforms to an upper ontology

• Application Ontology – an ontology created for a specific application; may conform to a domain ontology

Page 31: Ontologies Fmi 042010

Types of Ontologies - Examples

Upper Ontologies:• Dublin Core• OpenCyc/ResearchCyc• SUMO• DOLCE• PROTON

• Domain Ontologies:• E-business : Rosetta-Net• Medical: UMLS• Engineering: EngMath

Page 32: Ontologies Fmi 042010

Methods for Building Ontologies

• From scratch – conceptual analysis

• Ontology acquisition

• Building on existing ontologies

Page 33: Ontologies Fmi 042010

Conceptual Schema

Page 34: Ontologies Fmi 042010

Sample Class Hierarchy

Page 35: Ontologies Fmi 042010

Sample Property Hierarchy

Page 36: Ontologies Fmi 042010

Modeling of an organization

Page 37: Ontologies Fmi 042010

DBPedia

http://mappings.dbpedia.org/server/ontology/classes

Page 38: Ontologies Fmi 042010

DBPedia

Page 39: Ontologies Fmi 042010

Proton Ontology

Page 40: Ontologies Fmi 042010

Person in DBPedia

Page 41: Ontologies Fmi 042010

Person in Proton

Page 42: Ontologies Fmi 042010

Outline

• Definition of ontologies

• History of the science of categorization

• Knowledge models

• Knowledge organization

• Use and Building of ontologies

• Ontology tools

• Ontologies on the Web

Page 43: Ontologies Fmi 042010

Protege

Page 44: Ontologies Fmi 042010

Protege

Page 45: Ontologies Fmi 042010

Class and Properties

Page 46: Ontologies Fmi 042010

Instances

Page 47: Ontologies Fmi 042010

TopBraid Composer - Diagram

Page 48: Ontologies Fmi 042010

TopBraid Composer - Graph

Page 49: Ontologies Fmi 042010

TopBraid Composer - Layout

Page 50: Ontologies Fmi 042010

Outline

• Definition of ontologies

• History of the science of categorization

• Knowledge models

• Knowledge organization

• Use and Building of ontologies

• Ontology tools

• Ontologies on the Web

Page 51: Ontologies Fmi 042010

OWL: Summary

The Web Ontology Language (OWL) was developed to provide for more expressive ontologies based on a decidable formal logic.

Three flavours of OWL have been specified: OWL Full for full

expressiveness without guarantees of decidability, OWL DL for a compromise expressiveness within the decidable fragment of Description Logic and OWL Lite as a subset of DL.

OWL provides for additional constructs not present in RDFS to define classes and properties. As a result, OWL is well suited to consistency checking and classification tasks.

Page 52: Ontologies Fmi 042010

OWL Lite

The complete language OWL Full has two sublanguages:

• OWL DL (Description Language)

• supports reasoning applications

• has restrictions on OWL Full constructs

• restrictions make reasoning systems decidable

• OWL Lite

• supports only a subset of OWL Full constructs

• provides a minimal set of features allowing the

development of ontologies without the encoding

of complex semantic relationships

Page 53: Ontologies Fmi 042010

OWL Lite - Classes

OWL classes define basic concepts.

A Simple Named Class is defined as follows:

– <owl:Class rdf:ID=„classname“/>

Ex. <owl:Class rdf:ID=„Restaurant“/>

Predefined OWL Classes (Extreme classes)

– Thing class (owl:Thing)

the most general class

every individual is member of this class

– Nothing class (owl:Nothing)

empty class with no member individuals

Page 54: Ontologies Fmi 042010

OWL Lite - Properties

There are four disjoint type of properties in OWL.

• Datatype properties (owl:DatatypeProperty)

• Object properties (owl:ObjectProperty)

• Annotationproperties (owl:AnnotationProperty)

• Ontology properties (owl:OntologyProperty)

Page 55: Ontologies Fmi 042010

OWL Lite – Classes and Properties

Page 56: Ontologies Fmi 042010

Linking Open Data

Page 57: Ontologies Fmi 042010

LDSR – reason-able view to LOD

http://ldsr.ontotext.com

http://linkedlifedata.com

Page 58: Ontologies Fmi 042010

Summary

• Definition of ontologies

• History of the science of categorization

• Knowledge models

• Knowledge organization

• Use and Building of ontologies

• Ontology tools

• Ontologies on the Web