oil ontology inference and interchange

36
OIL ontology inference and interchange

Upload: kyran

Post on 12-Jan-2016

16 views

Category:

Documents


0 download

DESCRIPTION

OIL ontology inference and interchange. Topics for this presentation. OIL as a common core language (4) aspects of OIL (5) OIL on the Web Why XML is not enough (3) Why RDF(S) is not enough (9) OIL as RDF(S) extension (3) WP1 results & plans (4). - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: OIL  ontology inference and interchange

OIL ontology inference and

interchange

Page 2: OIL  ontology inference and interchange

On-To-Knowledge 2

Topics for this presentationOIL as a common core language (4)

aspects of OIL (5)

OIL on the Web Why XML is not enough

(3) Why RDF(S) is not enough

(9)

OIL as RDF(S) extension(3)

WP1 results & plans (4)

Page 3: OIL  ontology inference and interchange

On-To-Knowledge 3

Remember: Ontologies are crucial for KM

• “consensual and formal specifications of conceptualisations”

• provide a “shared understanding of a domain for communication across people and systems”

• “consensual and formal specifications of conceptualisations”

• provide a “shared understanding of a domain for communication across people and systems”

Page 4: OIL  ontology inference and interchange

Place in the projectWP 1:

tools for ontology construction and interchange

foundational to all three layers of On-To-Knowledge architecture

WP1.1 = ontology languagePartners = VU + AIdministratorDeliverable 1= ontology language

version 1user

repository

source infoon

tolo

gie

s

Page 5: OIL  ontology inference and interchange

Requirements for a common core Ontology-language Well defined syntax (pretty obvious)

read ontologies Well defined semantics

often overlooked but equally important process (“understand”) ontologies

Expressive enough to capture many ontologies

Easy mapping to/from other ontology languages

Efficient reasoning support

Page 6: OIL  ontology inference and interchange

Why Reasoning Support?Reasoning support is key feature of OIL-core Important

as design support tool for large ontologies with multiple authors for integrating and sharing ontologies

Because it allows to Establish inter-ontology relationships Check for consistency Check for (unexpected) implied relationships

Shown useful for DB schema integration

Page 7: OIL  ontology inference and interchange

Ingredients for a common core

Frame Based Languages intuitive for many users Extensive set of modelling primitives OKBC, OKBC-lite, XOL

(Description) Logic-based languages negation and disjunction (e.g disjointness) properties for slots/relations

• e.g. transitivity for contained-in Formal semantics Reasoning support

• inconsistency-detection, implicit superclass-detection

Page 8: OIL  ontology inference and interchange

On-To-Knowledge 8

Proposed common core: OILBased on standard frame languages (OKBC)

restricts & extendsHas both XML and RDF(S) based syntaxformalised by DL style logical constructsStill has frame “look and feel”Can still function as a basic frame language OIL core language restricted to allow:

reasoning support No constructs with ill defined semantics OIL

WWW

DL

Frames

Page 9: OIL  ontology inference and interchange

On-To-Knowledge 9

OIL: Restricts Frame LanguagesNo defaultslimited axioms/rulesonly definition of ontology (not

individuals)Main reasons for this:Reasoning supportSemantics

OIL

WWW

DL

Frames

Page 10: OIL  ontology inference and interchange

On-To-Knowledge 10

OIL: Extends Frame LanguagesClasses can be primitive (nec. conditions)

elephant animal that has-colour grey

or defined (nec. and sufficient conditions) vegetarian person who eats meat nor fish

Classes allowed in slot constraints slot-constraint eats has-value meat

(eats some meat) slot-constraint eats value-type meat

(eats only meat)OIL

WWW

DL

Frames

Page 11: OIL  ontology inference and interchange

OIL: Extends Frame Languages

Can use arbitrary class expressions instead of only class names slot-constraint eats value-type NOT (OR meat fish)

Cardinality constraints can include value-types slot-constraint eats max-cardinality 1 plant

Supports sub-slot relation daughter-of sub-slot of child-of

Slot properties transitive (e.g., part-of ) symmetrical (e.g., connected-to)

OIL

WWW

DL

Frames

Page 12: OIL  ontology inference and interchange

On-To-Knowledge 12

OIL has a Formal semantics Defined by mapping to very

expressive DL slot-constraint eats has-value meat, fish

=

eats:meat eats:fish

Mapping is used to provide reasoning support from a DL system (e.g., FaCT) OIL

WWW

DL

Frames

Page 13: OIL  ontology inference and interchange

OIL (explained by example)

class-def animal % animals are a classclass-def plant % plants are a class subclass-of NOT animal % that is disjoint from animalsclass-def tree subclass-of plant % trees are a type of plantsclass-def branch slot-constraint is-part-of % branches are parts of some tree has-value tree max-cardinality 1class-def defined carnivore % carnivores are animals subclass-of animal slot-constraint eats % that eat any other animals value-type animalclass-def defined herbivore % herbivores are animals subclass-of animal, NOT carnivore % that are not carnivores, and slot-constraint eats % they eat plants or parts of plants value-type plant OR (slot-constraint is-part-of has-value plant)

Page 14: OIL  ontology inference and interchange

On-To-Knowledge 14

How to put ontologies on the Web(internet, intranet, extranet)

XMLHTML

XHTML SMIL RDF(S)

PICS

Declarative Languages(OIL, DAML-O)

DC

The W3C hierarchy of languages:

Page 15: OIL  ontology inference and interchange

On-To-Knowledge 15

XML: Document = labelled tree

course

teachertitle students

name http

<course date=“...”><title>...</title><teacher>...</teacher>

<name>...</name><http>...</http>

<students>...</students></course>

• DTD: simple grammars to describe legal trees

• So: why not use XML to represent ontologies?

• node = label + attr/values + contents

Page 16: OIL  ontology inference and interchange

On-To-Knowledge 16

XML: limitations for semantic markup

XML makes no commitment on: Domain specific ontological vocabulary Ontological modelling primitives

requires pre-arranged agreement on &

Only feasible for closed collaboration agents in a small & stable community pages on a small & stable intranet

not for sharable Web-resources

Page 17: OIL  ontology inference and interchange

On-To-Knowledge 17

Remember the W3C vision

XMLHTML

XHTML SMIL RDF(S)

PIC

Declarative LanguagesOIL

DC

Page 18: OIL  ontology inference and interchange

On-To-Knowledge 18

RDF(S): general background Intended for representation “meta-data”,

basis for Web-based ontology-languageW3C recommendation

“Because it’s there”: pushed hard by W3C (TBL Himself) basis of $ 80M DAML program Already embraced by some vendors

(Netscape)

Page 19: OIL  ontology inference and interchange

On-To-Knowledge 19

Bluffer’s guide to RDF (1) Object --Attribute-> Value triples

objects are web-resources Value is again an Object:

triples can be linked data-model = graph

pers05 ISBN...Author-of

Author-ofpers05 ISBN... MIT

ISBN...

Publ-by

Author-of Publ-

by

Page 20: OIL  ontology inference and interchange

On-To-Knowledge 20

Bluffer’s guide to RDF (2) Object --Attribute-> Value triples

objects are web-resources triples can be linked data-model = graph

Any statement can be an object graphs can be nested

pers05 ISBN...Author-of

NYT claims

Page 21: OIL  ontology inference and interchange

On-To-Knowledge 21

Bluffer’s guide to RDF SchemaSo, RDF :

(very small) commitment to modelling primitives but: no commitment to domain vocabulary

RDF SchemaDefine vocabulary for RDFOrganise this vocabulary in a typed hierarchy

Class, SubClassOf, type Property, subPropertyOf, domain, range

Page 22: OIL  ontology inference and interchange

Bluffer’s guide to RDF(S)RDF

Statement = Object - Attribute -Value tripleValues can be objects (chaining)Statements can be objects (reification)

RDFStatement = Object - Attribute -Value tripleValues can be objects (chaining)Statements can be objects (reification)

RDF SchemaDefine domain-specific vocabulary for

OAV’sType-hierarchy for this vocabulary using

Class, SubClassOf, type Property, subPropertyOf, domain, range

RDF SchemaDefine domain-specific vocabulary for

OAV’sType-hierarchy for this vocabulary using

Class, SubClassOf, type Property, subPropertyOf, domain, range

Page 23: OIL  ontology inference and interchange

<rdf:Description ID="MotorVehicle"> <rdf:type resource="http://www.w3.org/...#Class"/> <rdfs:subClassOf rdf:resource="http://www.w3.org/...#Resource"/> </rdf:Description>

<rdf:Description ID="Truck"> <rdf:type resource="http://www.w3.org/...#Class"/> <rdfs:subClassOf rdf:resource="#MotorVehicle"/></rdf:Description>

<rdf:Description ID="registeredTo"> <rdf:type resource="http://www.w3.org/...#Property"/> <rdfs:domain rdf:resource="#MotorVehicle"/> <rdfs:range rdf:resource="#Person"/></rdf:Description>

<rdf:Description ID=”ownedBy"> <rdf:type resource="http://www.w3.org/...#Property"/> <rdfs:subPropertyOf rdf:resource="#registeredTo"/></rdf:Description>

RDF Schema syntax in XML

Page 24: OIL  ontology inference and interchange

On-To-Knowledge 24

State-of-the-art@W3C

RDF: to represent “meta-data”RDF-S: to define vocabulary for RDF

RDF is data-model + syntax only a very weak semantic interpretation no inference model

RDF-S goes a step further, but still no precisely described meaning no inference model

Page 25: OIL  ontology inference and interchange

Quote from Ora Lassila (RDF)

Future: We Need More!

Structural modeling obviously not enough we need a “logic layer” on top of RDF some type of description logic is a possibility (after all,

we are talking about frame systems)

Exposing a wide variety of data sources as RDF is useful, particularly if we have logic/rules which allow us to draw inference from this data

My proposal: RDF + DL = “Frame System for WWW”

this is probably a good starting point for DAML as well(details to be worked out by this workshop)

Future: We Need More!

Structural modeling obviously not enough we need a “logic layer” on top of RDF some type of description logic is a possibility (after all,

we are talking about frame systems)

Exposing a wide variety of data sources as RDF is useful, particularly if we have logic/rules which allow us to draw inference from this data

My proposal: RDF + DL = “Frame System for WWW”

this is probably a good starting point for DAML as well(details to be worked out by this workshop)

Page 26: OIL  ontology inference and interchange

On-To-Knowledge 26

Quote from Henry Thompson

“The Semantic Web needs a logic on top”“The Semantic Web needs a logic on top”

NB: “a” logic = the box with the crank FOL

OIL = modelling primitives from frames (OKBC-lite)+ semantics and inference from Description Logic+ syntax from RDF(S) & XML(S)

OIL

WWW

DL

Frames

Page 27: OIL  ontology inference and interchange

On-To-Knowledge 27

OIL for the Semantic Web

XMLHTML

XHTML SMIL RDF

PIC

Declarative LanguagesOIL, DAML-O

DC

OIL

WWW

DL

Frames

Page 28: OIL  ontology inference and interchange

On-To-Knowledge 28

OIL as RDF(S) extension (1/2)

<rdfs:Class rdf:ID=”herbivore”> <rdf:type rdf:resource=”http://www.ontoknowledge.org/#DefinedClass”/> <rdfs:subClassOf rdf:resource=”#animal”/> <rdfs:subClassOf> <oil:NOT> <oil:hasOperand rdf:resource=”#carnivore”/> </oil:NOT> </rdfs:subClassOf></rdfs:Class>

Page 29: OIL  ontology inference and interchange
Page 30: OIL  ontology inference and interchange

OIL as RDF(S) extension (2/2)

• class-def• subclass-of• slot-def• subslot-of• domain• range

• class-def• subclass-of• slot-def• subslot-of• domain• range

• class-expressions• AND, OR, NOT

• slot-constraints• has-value, value-type• cardinality

• slot-properties• trans, symm

• class-expressions• AND, OR, NOT

• slot-constraints• has-value, value-type• cardinality

• slot-properties• trans, symm

RDF(S)OIL

Page 31: OIL  ontology inference and interchange

On-To-Knowledge 31

OIL as the basis for DAML-ODAML = $80M DARPA program for

Semantic WebOntologies are regarded as fundamentalfirst version of DAML-O out < end 2000mandatory use for all DAML participants

(W3C, Stanford, ISI, Lockheed, MIT, Nokia,...)OIL is used as the basis for DAML-O

Page 32: OIL  ontology inference and interchange

On-To-Knowledge 32

WP1: Results (1/2)

Definition of language semantics XML encoding RDF encoding

10 publications EKAW, ECAI-WS, IEEE-IC, DL, KRDB, eBeW

already take-up in work by others • Madrid, Bremen, IBROW, Boeing,Daimler-

Chrysler,...

collaboration with DAML

Page 33: OIL  ontology inference and interchange

On-To-Knowledge 33

WP1: results (2/2)

translators (Java, XSL-based): XML OIL FaCT XML OIL RDFS OIL

case-studies GIS ontology mapping (KA)2 ontology CIA world fact book

Page 34: OIL  ontology inference and interchange

OIL: currently available toolsDefinition of language

semantics XML encoding RDF encoding

Tools: translators (XSL based) reasoner (FaCT, DL-based) OntoEdit, OILed

case-studies GIS ontology mapping (KA)2 ontology CIA world fact book

Page 35: OIL  ontology inference and interchange

On-To-Knowledge 35

OIL: some collaborating parties

EU academics University of Bremen Univ. of A’dam OU-UK Univ. Manchester A’dam Medical Centre

EU IST Projects IBROW Comma C-Web

US academics: Univ. of Stanford (DB, KSL, Med.Inf) Univ. of Maryland SRI

outside academia W3C (RDF Working group) DARPA (DAML initiative)

Industrials: Boeing Daimler-Chrysler Interprice

Page 36: OIL  ontology inference and interchange

On-To-Knowledge 36

OIL: current & future workLayered approach to anguage

extensionsRDF(S) OIL-lite Standard OIL OIL layer 1

... axioms, concrete domains, modules,

defaults,...Ontology constructionOntology evolutionOntology mapping