ontology lifecycle - uni koblenz-landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · ontology...

94
Steffen Staab ISWeb – Lecture „Semantic Web“ (1) Ontology Lifecycle

Upload: others

Post on 23-Oct-2019

9 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (1)

Ontology Lifecycle

Page 2: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (2)

Ontology

Ontologies enable a better communicationbetween Humans/MachinesOntologies standardize and formalize themeaning of words through concepts

„An ontology is an explicit specification of a conceptualization.“ [Gruber, 1993]

„People can‘t share knowledge if they do not speaka common language.“ [Davenport & Prusak, 1998]

Page 3: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (3)

PostDocPostDoc ProfProf

AcademicStaffAcademicStaff

rdfs:subClassOfrdfs:subClassOf

cooperate_withcooperate_with

rdfs:rangerdfs:domainOntology

<swrc:Prof rdf:ID="sst"><swrc:name>Steffen Staab</swrc:name>

...</swrc:Prof>

http://www.uni-koblenz.de/~staab

Anno-tation

<swrc:PostDoc rdf:ID="sha"><swrc:name>Siegfried

Handschuh</swrc:name>

...</swrc:PostDoc>

WebPage

http://www.aifb.uni-karlsruhe.de/WBS/shaURL

<swrc:cooperate_with rdf:resource = "http://www.aifb.uni-

karlsruhe.de/WBS/sst#sst"/>

instance ofinstance of

Cooperate_with

Ontology & Metadata

Links have explicit meanings!

Page 4: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (4)

Explicit vs. ImplicitKnowledge

Socialisation

Combination / Integration

Externalisation

Internalisation

ImplicitKnowledge

ExplicitKnowledge

ExplicitKnowledge

ImplicitKnowledge

From

to

Page 5: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (5)

Case study: OntoWeb.org

Portal Generation

Navigation

Query/Serach

Content

Integration Collect metadata from participatingpartners

Annotation

Page 6: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (6)

Knowledge Process

Usage of Ontology

KnowledgeMeta Process

Design, Implementation, Evolution of Ontology

Ontology-based Processes

Page 7: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (7)

• Task: Build ontology based KM applications

• Problems:– Collaboration between domain

experts and knowledge engineers– Evaluation of ontologies

OTK Methodology:Knowledge Meta Process

• Process-oriented, cyclic• Pre-defined decisions and outcomes for each step• Links to further existing methodologies for

substeps

Page 8: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (8)

OTK Methodology:Knowledge Meta Process

Page 9: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (9)

OTK Methodology:Knowledge Meta Process

AIF

B

• Process-oriented, cyclic• Pre-defined decisions and outcomes for each step• Links to further existing methodologies for

substeps

Page 10: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (10)

Tools• OntoKick: Capture Requirements Specification• Mind2Onto: Brainstorming• OntoFiller: Documentation & Translation• OntoClean: Formal Ontology Evaluation• SesamePlugin: Storage & Versioning

Ontology Development

Kickoff Refine-ment

Evalu-ation

Evolu-

tion

Page 11: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (11)

Tools• OntoKick: Capture Requirements Specification• Mind2Onto: Brainstorming• OntoFiller: Documentation & Translation• OntoClean: Formal Ontology Evaluation• SesamePlugin: Storage & Versioning

Ontology Development

Kickoff Refine-ment

Evalu-ation

Evolu-

tion

OntoEdit (Infrastructure)

Page 12: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (12)

• KM systems only function satisfactorily if theyare properly integrated into the organization

• Many factors other than technology determinethe success of such a system

• (Based on CommonKADS)

Feasibility Study

• Focus domain for ontology• Identify people involved• GO / No GO decision

Feasi-bility

Page 13: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (13)

• Employee data distributed over manysystems

• Different schemata for data

• Incomplete data

Feasibility studyCurrent State: Skills Management

Feasi-bility

Page 14: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (14)

Expert search

?

Knowledge gap analysis

Personal development Intellectual Capital Assessment

Feasibility studyIntended state: Skills Management

Feasi-bility

Page 15: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (15)

OTK Methodology:Knowledge Meta Process

Page 16: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (16)

Ontology Kickoff • Ontology Requirements Specification

Document (ORSD)

• Analyze knowledge sources

1. Domain & Goal2. Design guidelines3. Available knowledge sources4. Potential users and user scenarios5. Applications supported by the ontology

Draft version, typically most important conceptsand relations are identified and described as an untyped graph

E.g. Competency

questions

OntologyLearning!

• Develop baseline ontology description

Kick-off

Page 17: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (17)

ORS – Ontology RequirementsSpecification

• Goal of the ontology:• Tracking and analyzing corporate business histories

• Domain and Scope:• Merger & acquisition, restructurings, management changes and other strategic activities in the chemical industry

• Supported Applications:• Web-based Corporate History Analyzer

• Knowledge Sources:• Research analysts (domain experts)• Document: c:/mydocuments/superdokument.doc• URL: http://www.webpage.com

• Users and Use Cases:• Users: Research analysts, strategic consultants• Use Case 1: Track strategies of specific companies• Use Case 2: Analyze strategic moves of competitors

• Competency Questions:• Attached Competency Questionnaire

• Potentially reusable ontologies:• not known

Page 18: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (18)

CQ – Competency QuestionnaireCQ Nr.

Competency Question Concepts Relation

CQ1 What are the subsidiaries, divisions and locations of company X?

company, subsidiary, division, location

company has subsidiarycompany has divisioncompany has location

CQ2 Which companies acquired company X?

company, acquisition

company makes acquisitionacqusition has buyeracqusition has seller

CQ3 Which companies merged in 1990 in the rubber industry?

company, merger, year, industry

company makes mergercompany isPartOfindustrymerger happensIn year

CQ4 Who is CEO of company X? CEO, company,

company has CEO

CQ5 Which activity of company X activity company performs

Page 19: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (19)

• Ontology workshop to train domain experts in ontology modelling for.. IT.. Private customer insurance.. Human Resource Management

• First version of domain ontology by expert– Manual development of ontology– Brainstorming (Mind Maps)– Middle-out approach

• Result: approx 700 Concepts in about 4 weeks

Kick-OffKick-

off

Page 20: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (20)

Requirement specificationKick-

off

Page 21: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (21)

Requirement specificationKick-

off

Page 22: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (22)

Requirement specificationKick-

off

Page 23: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (23)

Knowledge SourcesKick-

off

Page 24: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (24)

Knowledge SourcesKick-

off

Page 25: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (25)

Knowledge SourcesKick-

off

Page 26: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (26)

Competency questionsKick-

off

Page 27: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (27)

Competency questionsKick-

off

Page 28: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (28)

Competency questionsKick-

off

Page 29: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (29)

Competency questionsKick-

off

Page 30: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (30)

Competency questionsKick-

off

Page 31: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (31)

Competency questionsKick-

off

Page 32: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (32)

TraceabilityKick-

off

Page 33: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (33)

TraceabilityKick-

off

Page 34: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (34)

Brainstorming, Structuring, FormalisationKick-off

Page 35: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (35)

• Task: Collaborative capturing of domain knowledge through domainexperts and modelling experts

• Problem: Collaboration with domainexperts who have:– No experience with modelling– No time for modelling

Mind2OntoKicko

ff

Page 36: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (36)

• Task: Collaborative capturing of domain knowledge through domainexperts and modelling experts

• Problem: Collaboration with domainexperts who have:– No experience with modelling– No time for modelling

Mind2OntoKickoff

Page 37: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (37)

• Task: Collaborative capturing of domain knowledge through domainexperts and modelling experts

• Problem: Collaboration with domainexperts who have:– No experience with modelling– No time for modelling

Mind2OntoKickoff

MindManager:Standard software for the creationof electronic MindMaps

Advantage:Intuitive, understandableProblem:Semantics of MindMapsonly vaguely defined

Export to OntoEdit

Page 38: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (38)

OntoEdit/OntoFiller

OntoFiller: Supportfor translation anddocumentationof concepts andrelations in multiple languages

Kickoff

Page 39: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (39)

OTK Methodology:Knowledge Meta Process

Page 40: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (40)

Refinement

• Knowledge elicitation with domain experts– Refine concepts and relations– Typically axioms are identified

• Formalize– E.g. F-Logic, DAML+OIL– Axioms depend on language capabilities

• Develop and refine ontology

Kickoff

Refine-ment

Page 41: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (41)

Mind2OntoRefine-ment

Page 42: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (42)

Mind2OntoRefine-ment

Page 43: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (43)

InferencingPractical Issues

• Namespace mechanism: Ontologies/Ontology Parts -> modules

• Switch-off definitions: – For testing– For fast executions without consistency

checks• DB Connectors: map DB tables via

JDBC• User-definable built-Ins• Extensive API:

– remotely connect to the inferenceengine

– import and export several standards(e.g., RDF(S))

Theoretical Issues

• F-Logic– Object-oriented– Deductive Database-

oriented– Well-founded semantics

Refine-ment

Page 44: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (44)

Exploit Inferencing• Hook in existing

resources withinferencing– Jdbc– Rules

• Construct axiomlibraries– Temporal reasoning– PartWhole reasoning– ...

• Selective axiomapplications– F-Logic semantics: E.g.

type coercion at concept level

– Domain specificconsistency: non-cyclichasPart

– Axioms for modelingpolicies

– DebuggingContrast: OilEd

Refine-ment

Page 45: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (45)

OTK Methodology:Knowledge Meta Process

Page 46: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (46)

Evaluation • Check requirements (ORSD)

– Are all CQs answered?– Is the ontology within the scope?

• Test in target application– Analyze usage patterns

• Deploy application(s)

Refine-

ment

Page 47: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (47)

OntoCleanEva-

luation

• Task: Formal evaluation of ontologies

• Well-known methodology: OntoClean [Welty & Guarino, 2001]– Aims at „cleaning“ of hierarchies– Based on philosophical notions

• „essence“, „rigidity“, „identity“, „unity“ ... etc.

• Implementations: For F-Logic & OWL

Page 48: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (48)

OntoClean: DefinitionsEva-luation

„Essence“: A property is essential for an individualiff. it necessarily holds for that individual.

Example: York is necessarily a person.

„Rigidity“– A property is „rigid“ (+R) iff. it is necessarily essential

for all its individuals.– A property is „non-rigid“ (-R) iff. it is not essential for

some of its individuals.– A property is „anti-rigid“ (~R) iff. it is not essential for

all its individuals.Example: „Person“ is necessarily an essential property for

all its individuals.• There exist similar definitions for „identity“ (+I, -I, +O, -O),

„unity“ (+U, -U, ~U), „dependency“ (+D, -D), ... etc. ...

Page 49: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (49)

OntoClean:Classification & ideal structure

Eva-luation

See: [Welty & Guarino, 2001]

Page 50: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (50)

OntoClean:Classification & ideal structure

Eva-luation

See: [Welty & Guarino, 2001]

Page 51: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (51)

type formal roleType Formal Role

OntoClean:Layering

Eva-luation

Person

York

Instance ofInstance of

–D +O +R +U

Agent

Instance of

Subclass of

Subclass of

+D –I ~R –U

ontology

metadata

meta ontology

Page 52: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (52)

1

OntoCleanPlugin:Formalisation of meta ontology

Eva-luation

Page 53: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (53)

OntoCleanPlugin:Formalisation of meta ontology

Eva-luation

Uppermost concept „Property“ of the meta ontologyhas attached all relations necessary for classifyingconcepts of an ontology

2

Page 54: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (54)

OntoCleanPlugin:Formalisation of axioms

Eva-luation

3

Anti-rigid concepts (~R) cannot have rigid subconcepts (+R)Etc.

Page 55: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (55)

OntoCleanPlugin:Cleaning example

Eva-luation

Page 56: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (56)

OntoCleanPlugin:Cleaning example

Eva-luation

+D –I ~R –U

–D +O +R +U

Def.: Being an activeparticipant in some event.

Page 57: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (57)

OntoCleanPlugin:Cleaning example

Eva-luation

„Is York an agent?“

Page 58: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (58)

OntoCleanPlugin:Cleaning example

Eva-luation

Person should not be a subconcept of Agent!Interpretation: Persons can be agents, but persons

are not necessarily agents.

„Is York an agent?“

Page 59: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (59)

OTK Methodology:Knowledge Meta Process

AIF

B

Page 60: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (60)

Worksheet for life cycle aspectsof ontology

• Who is going to maintain it?• Who is going to pay for it?• What is the resulting quality

(increase, decrease)?• How large are the network

costs (cost of negotiationgrows quadratic with numberof participants)?

• What is the expected life time of the ontology?

• How brittle is it with regard to updates?

• What error types will occur/are relevant?

Evo-lution

Page 61: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (61)

Worksheet for life cycle aspectsof metadata

• ala ontology • Co-ordinated change of data and metadata?

• Co-ordinated change of ontology and metadata?

• Cold start (chicken-and-egg) problem: A problem? How to overcome?

• Granularity of metadataenvisaged: classification, identification of people/events/relationships/etc.

Evo-lution

Rule of thumb – costs:

•Hardware 1

•Software 10

•Daten 100

Page 62: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (62)

Coordination of metadata & ontology

• Match or mismatchbetween the two,– E.g. classification only,

but ontology abouttransitive relationships

Evo-lutio

n

Page 63: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (63)

Type-1 Error

• False Positive– Often dominating problem in company internal

IR

– It can be more costly to learn about all low-price provider of pens than to just select froma sample

Evo-lution

Page 64: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (64)

Type-2 Error

• False negative: Positive example not detectedas such

– Often not critical for information retrieval• „show me bookstores who sell the `CommonKADS‘ book“

– Often critical for B2B operations• „whether `6000 computer‘ is mapped to

‚IBM RS/6000 SP system‘ or to `HP OmniBook Laptop 6000‘ is a large difference with regardto price and performance“

Evo-lution

Page 65: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (65)

Refined Error types (Halo Project)• 1. (MOD) Knowledge Modeling: the ability of the

knowledge engineer to model information/write axioms• 2. (IMP) Knowledge Implementation/Modeling Language:

the ability of the representation language to accurately represent axioms

• 3. (INF) Inference and Reasoning: the ability of the inference engine to “find the needle in the haystack”

• 4. (KFL) Knowledge Formation and Learning: the ability of the system (KB + inference engine) to acquire and merge knowledge through automated and semi-automated techniques

• 5. (SCL) Scalability: the ability of the KB to scale

– http://www.haloproject.com

Evo-lution

Page 66: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (66)

Refined Error types II (Halo Project)

• 6. (MGT) Knowledge Management: the ability of the system to maintain, track changes, test, organize, document; the ability of the knowledge engineer to search for knowledge

• 7. (QMN) Query Management: the ability of the system to robustly answer queries

• 8. (ANJ) Answer Justification: the ability of the system to provide justifications for answers in the correct context and resolution

• 9. (QMT) Quality Metrics: the ability of the developers to determine how “good” the knowledge base is at any given point in its evolution

• 10. (MTA) Meta Capabilities: the system's ability to utilize meta-reasoning or meta-knowledge

Evo-lution

Page 67: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (67)

Ontology Evolution: Technicalaspects

• Ontology development is necessarily an iterative and a dynamic process

• Ontologies must be able to evolve for a number of reasons:

Application domains and user‘s needsare changingSystem can be improved

• Developing ontologies is expensive, but evolving them is even more expensive

Evo-lution

Page 68: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (68)

Requirements for ontologyevolution

• Functional requirement:enable the handling of the required changes ensure the consistency of the underlying ontology and all dependent artifacts

• Interaction requirement – supports the user to manage changes more easily

• Refinement requirement –offers advice to the user for continual system refinement

Basicrequirement

Extendedrequirements

Evo-lution

Page 69: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (69)

Ontology Evolution Process

Semanticsof change PropagationRepresentation Implementation

Core component

ValidationDiscovery

Refinement requirement

Interaction requirement

Functionalrequirement

Semanticsof changeRepresentation Implementation

Evo-lution

Page 70: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (70)

Ontology Evolution – Change representation

• Elementary changes They can not be decomposed into simpler onesThey heavily depend on the underlying ontology model

• Composite changesThey are more powerfulThey have coarser granularityThey have often more meaningful semantics

MoveConcept ≠ (RemoveSubConcept + AddSubConcept)

Evo-lutio

n

Page 71: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (71)

Ontology Evolution – Change representation

Evo-lutio

n

Page 72: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (72)

Ontology Evolution – Change representation

Evo-lutio

n

Page 73: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (73)

• Enables resolution of changes in a systematic manner, ensuring consistency of the whole ontology

Ontology Evolution –Semantics of change

domain

name

Person

range domainworksIn

domain

name

Tim:Person.Tim[ID->711].

PersonProject

range domainworksIn

Evo-lution

Page 74: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (74)

Ontology Evolution – Change implementation

• After user’s approval all changes are applied to the ontology

• Since it is necessary to perform several changes together, the transaction server is needed.

Evo-lution

Page 75: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (75)

Evolution Strategies

Semanticsof change

Requiredchange

Required andderived changes

Evolution strategy

An evolution strategyunambiguously defines the way how changes will be resolved

ProjectPerson

Student

Hiwi PhDStudent

X

Evo-lution

Page 76: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (76)

Common policy consisting of a set of elementary evolution strategies, each giving an answer for one resolution point, is an

evolution strategy

Resolution points: how to handle orphaned concepts;how to handle orphaned properties;how to propagate properties to the concept whose parent changes;what constitutes a valid domain of a property;what constitutes a valid range of a property;whether a domain (range) of a property can contain a concept that is

at the same time a subconcept of some other domain (range) concept;the allowed shape of the concept hierarchy;the allowed shape of the property hierarchy;…

Evolution Strategies

- delete- reconnect to the root- reconnect to the superconcepts

Elementary evolutionstrategies

Evo-lution

Page 77: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (77)

ExampleEvo-lution

Page 78: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (78)

Example

List of changes

AddPropertyDomain has_name, PhDStudentAddPropertyDomain has_index, PhDStudentRemoveSubConcept PhDStudent, StudentAddSubConcept PhDStudent, KAON:Root

List of changes

RemovePropertyInstance has_name, PhDStudentBob, BobRemovePropertyInstance has_index, PhDStudentBob, 9352RemoveSubConcept PhDStudent, StudentAddSubConcept PhDStudent, KAON:Root

Evo-lution

Page 79: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (79)

Mechanism to prioritize and arbitrate among different evolution strategies, relieving the user of choosing them individually:

- structure-driven strategy- process-driven strategy- instance-driven strategy- frequency-driven strategy

Advanced evolution strategies

ProjectPerson

Student

Hiwi PhDStudent

X

Evo-lution

Page 80: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (80)

Implementation

Persistence, Transactions, Security

OIModeler - Ontology and Metadata Engineering Tool

KAON Portal and other User Interface Applications and Services

Data and Remote Services

Middleware

Applications& Services

RDF APIKAON API

Evolution Strategy

KAON Access Interface

KAON RDF Server

InteractionLogging

ChangeDiscovery

ReversibilityServices

EvolutionLogging

http://kaon.semanticweb.org

Evo-lution

Page 81: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (81)

Page 82: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (82)

Resolution points

Page 83: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (83)

Resolution points

Elementaryevolutionstrategies

Page 84: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (84)

Resolution points

Elementaryevolutionstrategies

Page 85: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (85)

Resolution points

Elementaryevolutionstrategies

Page 86: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (86)

Evolution wrap-up

OntoLogging:

• process-based approach for ontology evolution

• Evolution strategies that enable the customisation of the ontology evolution process

• Implementation in KAON framework

Ongoing work:

• Evolution between distributed ontologies

• Change discovery

Evo-lution

Page 87: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (87)

OTK Methodology:Knowledge Meta Process

Page 88: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (88)

Conclusions on Knowledge Meta Process

Page 89: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (89)

Experiencesfrom OTK Case Studies

• Guidelines for domain experts from industry have to be pragmatic1. Train the user about ontologies2. Show the concrete advantage of the KMS3. Model precisely – but allow for imprecise views (most users cannot

distinguish classes vs instances or isa vs partOf)

• Plan for Maintenance• Avoid/Reduce chicken-and-egg problem

1. Plan für content that makes KMS interesting2. Show quick win

• Collaborative ontology engineering requires sophisticated tool supportand physical presence

• Brainstorming is a valuable add-on during the early stages of ontologyengineering

Page 90: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (90)

Knowledge Process

Ontology

CreationImport

Capture

Retrieval /

Access

Use

ApplySummarizeAnalyze

SearchQueryInferencingGenerate

Views

AnnotateExtract

MetadataDocuments

Page 91: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (91)

OTK Case Study @ BT

Page 92: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (92)

Users Portal

OntoExtractOntoWrapper

OntoShare

SpectacleQuizRDF

SesameOMMBOR

OntoExtractOntoWrapper

OntoShare

SpectacleQuizRDF

SesameOMMBOR

Page 93: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (93)

OTK Architecture

Page 94: Ontology Lifecycle - Uni Koblenz-Landaustaab/lehre/ss05/sw/7-ontology-lifecycle.pdf · Ontology ¾Ontologies enable a better communication between Humans/Machines ¾Ontologies standardize

Steffen StaabISWeb – Lecture „Semantic Web“ (94)

OTK Methodology

OTK Architecture

Storage&

Versioning

Extraction

Development

Application