Ontology Reasoning: the Why and the How

Slides:



Advertisements
Similar presentations
Hybrid Logics and Ontology Languages
Advertisements

The Semantic Web: Ontologies and OWL Ian Horrocks and Alan Rector Summary.
Description Logic Based Ontology Languages Ian Horrocks Information Systems Group Oxford University Computing Laboratory.
Knowledge Representation and Reasoning using Description Logic Presenter Shamima Mithun.
OWL - DL. DL System A knowledge base (KB) comprises two components, the TBox and the ABox The TBox introduces the terminology, i.e., the vocabulary of.
An Introduction to Description Logics
Computing & Information Sciences Kansas State University Lecture 16 of 42 CIS 530 / 730 Artificial Intelligence Lecture 16 of 42 Knowledge Engineering.
SIG2: Ontology Language Standards WebOnt Briefing Ian Horrocks University of Manchester, UK.
Of 27 lecture 7: owl - introduction. of 27 ece 627, winter ‘132 OWL a glimpse OWL – Web Ontology Language describes classes, properties and relations.
Combining the strengths of UMIST and The Victoria University of Manchester A Tableaux Decision Procedure for SHOIQ Ian Horrocks and Ulrike Sattler University.
Ontologies and the Semantic Web by Ian Horrocks presented by Thomas Packer 1.
Ontologies and the Semantic Web
OWL: A Description Logic Based Ontology Language Ian Horrocks Information Management Group School of Computer Science University of Manchester.
Description Logic Reasoning
Ontology and Ontology-Based Applications C. Farkas Some of the slides were obtained from presentations of Ian Horrocks.
The Semantic Web: Ontologies and OWL CS646 Ian Horrocks and Alan Rector University of Manchester Manchester, UK
Semantic Web and its Logical Foundations Serguei Krivov, Ecoinformatics Collaboratory Gund Institute for Ecological Economics, UVM.
How can Computer Science contribute to Research Publishing?
Description Logics. Outline Knowledge Representation Knowledge Representation Ontology Language Ontology Language Description Logics Description Logics.
Semantic Web The Story So Far Ian Horrocks Oxford University Computing Laboratory.
From SHIQ and RDF to OWL: The Making of a Web Ontology Language
DL systems DL and the Web Ilie Savga
Basics of Reasoning in Description Logics
OIL: An Ontology Infrastructure for the Semantic Web D. Fensel, F. van Harmelen, I. Horrocks, D. L. McGuinness, P. F. Patel-Schneider Presenter: Cristina.
Combining the strengths of UMIST and The Victoria University of Manchester Applications of Description Logics State of the Art and Research Challenges.
Semantic Web Technologies Lecture # 2 Faculty of Computer Science, IBA.
Web Explanations for Semantic Heterogeneity Discovery Pavel Shvaiko 2 nd European Semantic Web Conference (ESWC), 1 June 2005, Crete, Greece work in collaboration.
Aidministrator nederland b.v. Adding formal semantics to the Web Jeen Broekstra, Michel Klein, Stefan Decker, Dieter Fensel,
Ian Horrocks and Alan Rector
An Introduction to Description Logics. What Are Description Logics? A family of logic based Knowledge Representation formalisms –Descendants of semantic.
Applying Belief Change to Ontology Evolution PhD Student Computer Science Department University of Crete Giorgos Flouris Research Assistant.
Reasoning with Expressive Description Logics Ian Horrocks University of Manchester Manchester, UK Logical Foundations for the Semantic Web.
Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the.
Computing & Information Sciences Kansas State University Wednesday, 08 Oct 2008CIS 530 / 730: Artificial Intelligence Lecture 17 of 42 Wednesday, 08 October.
CSE-291: Ontologies in Data & Process Integration Department of Computer Science & Engineering University of California, San Diego CSE-291: Ontologies.
Notes on DL Reasoning Shawn Bowers April, 2004.
Ming Fang 6/12/2009. Outlines  Classical logics  Introduction to DL  Syntax of DL  Semantics of DL  KR in DL  Reasoning in DL  Applications.
Presented by:- Somya Gupta( ) Akshat Malu ( ) Swapnil Ghuge ( ) Franz Baader, Ian Horrocks, and Ulrike Sattler.
An Introduction to Description Logics (chapter 2 of DLHB)
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall Description Logics: Logic foundation of Semantic Web Semantic.
Advanced topics in software engineering (Semantic web)
A Classification of Schema-based Matching Approaches Pavel Shvaiko Meaning Coordination and Negotiation Workshop, ISWC 8 th November 2004, Hiroshima, Japan.
More on Description Logic(s) Frederick Maier. Note Added 10/27/03 So, there are a few errors that will be obvious to some: So, there are a few errors.
SKOS. Ontologies Metadata –Resources marked-up with descriptions of their content. No good unless everyone speaks the same language; Terminologies –Provide.
DAML+OIL: an Ontology Language for the Semantic Web.
OilEd An Introduction to OilEd Sean Bechhofer. Topics we will discuss Basic OilEd use –Defining Classes, Properties and Individuals in an Ontology –This.
Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:
Lecture 16 Description Logics Topics Chunking Overview of MeaningReadings: Text 13.5 NLTK book 7.2 March 20, 2013 CSCE 771 Natural Language Processing.
Knowledge Representation. Keywordsquick way for agents to locate potentially useful information Thesaurimore structured approach than keywords, arranging.
Using DAML+OIL Ontologies for Service Discovery in myGrid Chris Wroe, Robert Stevens, Carole Goble, Angus Roberts, Mark Greenwood
Description Logics Dr. Alexandra I. Cristea. Description Logics Description Logics allow formal concept definitions that can be reasoned about to be expressed.
ece 627 intelligent web: ontology and beyond
CSE-291: Ontologies in Data Integration Department of Computer Science & Engineering University of California, San Diego CSE-291: Ontologies in Data Integration.
WonderWeb. Ontology Infrastructure for the Semantic Web. IST Project Review Meeting, 11 th March, WP2: Tools Raphael Volz Universität.
OWL Web Ontology Language Summary IHan HSIAO (Sharon)
Enable Semantic Interoperability for Decision Support and Risk Management Presented by Dr. David Li Key Contributors: Dr. Ruixin Yang and Dr. John Qu.
1 Instance Store Database Support for Reasoning over Individuals S Bechhofer, I Horrocks, D Turi. Instance Store - Database Support for Reasoning over.
Knowledge Representation and Reasoning University "Politehnica" of Bucharest Department of Computer Science Fall 2011 Adina Magda Florea
Ontology Technology applied to Catalogues Paul Kopp.
Ontologies COMP6028 Semantic Web Technologies Dr Nicholas Gibbins
Knowledge Representation Part I Ontology Jan Pettersen Nytun Knowledge Representation Part I, JPN, UiA1.
OWL (Ontology Web Language and Applications) Maw-Sheng Horng Department of Mathematics and Information Education National Taipei University of Education.
COMP6215 Semantic Web Technologies
Lecture 17 Description Logics
ece 627 intelligent web: ontology and beyond
Ontology.
ece 720 intelligent web: ontology and beyond
Ontology.
Description Logic Reasoning
CIS Monthly Seminar – Software Engineering and Knowledge Management IS Enterprise Modeling Ontologies Presenter : Dr. S. Vasanthapriyan Senior Lecturer.
Presentation transcript:

Ontology Reasoning: the Why and the How Ian Horrocks <horrocks@cs.man.ac.uk> University of Manchester Manchester, UK

Talk Outline Ontologies: What are they? Ontology Reasoning: Why do we need it? Tools and services for ontology design and deployment Importance of decidability, soundness and completeness Ontology Reasoning: How do we do it? Description Logics Tableaux algorithms Research Challenges Expressive power, scalability etc. Summary

Ontologies: What are they?

Ontology: Origins and History a philosophical discipline—a branch of philosophy that deals with the nature and the organisation of reality Science of Being (Aristotle, Metaphysics, IV, 1) Tries to answer the questions: What characterizes being? Eventually, what is being? How should things be classified?

Classification: An Old Problem Extract from Bills of Mortality, published weekly from 1664-1830s The Diseases and Casualties this Week: Aged 54 Apoplectic 1 …. Fall down stairs 1 Gangrene 1 Grief 1 Griping in the Guts 74 … Plague 3880 … Suddenly 1 Surfeit 87 Teeth 113 Ulcer 2 Vomiting 7 Winde 8 Worms 18

Classification: An Old Problem On those remote pages it is written that animals are divided into: a. those that belong to the Emperor b. embalmed ones c. those that are trained d. suckling pigs e. mermaids f. fabulous ones g. stray dogs h. those that are included in this classification i. those that tremble as if they were mad j. innumerable ones k. those drawn with a very fine camel's hair brush l. others m. those that have just broken a flower vase n. those that from a long way off look like flies Attributed to “a certain Chinese encyclopaedia entitled Celestial Empire of benevolent Knowledge”. Jorge Luis Borges: The Analytical Language of John Wilkins

Ontology in Computer Science An ontology is an engineering artifact consisting of: A vocabulary used to describe (a particular view of) some domain An explicit specification of the intended meaning of the vocabulary. almost always includes how concepts should be classified Constraints capturing additional knowledge about the domain Ideally, an ontology should: Capture a shared understanding of a domain of interest Provide a formal and machine manipulable model of the domain

Example Ontology Vocabulary and meaning (“definitions”) Elephant is a concept whose members are a kind of animal Herbivore is a concept whose members are exactly those animals who eat only plants or parts of plants Adult_Elephant is a concept whose members are exactly those elephants whose age is greater than 20 years Background knowledge/constraints on the domain (“general axioms”) Adult_Elephants weigh at least 2,000 kg All Elephants are either African_Elephants or Indian_Elephants No individual can be both a Herbivore and a Carnivore

Example Ontology (Protégé)

Example Ontology (OilEd)

Where are ontologies used? e-Science, e.g., Bioinformatics The Gene Ontology The Protein Ontology (MGED) “in silico” investigations relating theory and data Medicine Terminologies Databases Integration Query answering User interfaces Linguistics The Semantic Web

Ontology Driven User Interface Structured Data Entry File Edit Help FRACTURE SURGERY Reduction Fixation Fixation Open Closed Open Tibia Fibula Ankle More... Radius Ulna Wrist Humerus Femur Femur Left Left Right More... Gt Troch Shaft Neck Neck Fixation of open fracture of neck of left femur

Scientific American, May 2001: Beware of the Hype!

Ontology Reasoning: Why do we need it?

Philosophical Reasons Applications such as the Semantic Web aim at “machine understanding” Understanding is closely related to reasoning Recognising semantic similarity in spite of syntactic differences Recognising implicit consequences given explicitly stated facts

Practical Reasons Given key role of ontologies in many applications, it is essential to provide tools and services to help users: Design and maintain high quality ontologies, e.g.: Meaningful — all named classes can have instances Correct — captured intuitions of domain experts Minimally redundant — no unintended synonyms Richly axiomatised — (sufficiently) detailed descriptions Answer queries over ontology classes and instances, e.g.: Find more general/specific classes Retrieve individuals/tuples matching a given query Integrate and align multiple ontologies

Why Decidable Reasoning? OWL constructors/axioms have been restricted so reasoning is decidable Consistent with Semantic Web's layered architecture XML provides syntax transport layer RDF(S) provides basic relational language and simple ontological primitives OWL provides powerful but still decidable ontology language Further layers (e.g. SWRL) will extend OWL Will almost certainly be undecidable W3C requirement for “implementation experience” “Practical” algorithms for sound and complete reasoning Several implemented systems Evidence of empirical tractability

Why Sound & Complete Reasoning? Important for ontology design Ontologists need to have complete confidence in reasoner Otherwise they will cease to trust results Doubting unexpected results makes reasoner useless Important for ontology deployment Many realistic web applications will be agent ↔ agent No human intervention to spot glitches in reasoning Incomplete reasoning might be OK in 3-valued system But “don’t know” typically treated as “no”

System Demonstration (OilEd)

Ontology Reasoning: How do we do it?

Use a (Description) Logic OWL DL based on SHIQ Description Logic In fact it is equivalent to SHOIN(Dn) DL OWL DL Benefits from many years of DL research Well defined semantics Formal properties well understood (complexity, decidability) Known reasoning algorithms Implemented systems (highly optimised) In fact there are three “species” of OWL (!) OWL full is union of OWL syntax and RDF OWL DL restricted to FOL fragment (¼ DAML+OIL) OWL Lite is “simpler” subset of OWL DL

OWL Class Constructors XMLS datatypes as well as classes in 8P.C and 9P.C Restricted form of DL concrete domains

RDFS Syntax E.g., Person u 8hasChild.(Doctor t 9hasChild.Doctor): <owl:Class> <owl:intersectionOf rdf:parseType=" collection"> <owl:Class rdf:about="#Person"/> <owl:Restriction> <owl:onProperty rdf:resource="#hasChild"/> <owl:toClass> <owl:unionOf rdf:parseType=" collection"> <owl:Class rdf:about="#Doctor"/> <owl:hasClass rdf:resource="#Doctor"/> </owl:Restriction> </owl:unionOf> </owl:toClass> </owl:intersectionOf> </owl:Class>

OWL Axioms Axioms (mostly) reducible to inclusion (v) C ´ D iff both C v D and D v C Obvious FOL equivalences E.g., C ´ D , x.C(x) $ D(x), C v D , x.C(x) !D(x)

Basic Inference Tasks Knowledge is correct (captures intuitions) Does C subsume D w.r.t. ontology O? (CI µ DI in every model I of O) Knowledge is minimally redundant (no unintended synonyms) Is C equivallent to D w.r.t. O? (CI = DI in every model I of O) Knowledge is meaningful (classes can have instances) Is C is satisfiable w.r.t. O? (CI  ; in some model I of O) Querying knowledge Is x an instance of C w.r.t. O? (xI 2 CI in every model I of O) Is hx,yi an instance of R w.r.t. O? ((xI,yI) 2 RI in every model I of O) Above problems can be solved using highly optimised DL reasoners

DL Reasoning: Basics Tableau algorithms used to test satisfiability (consistency) Try to build a tree-like model of the input concept C Decompose C syntactically Apply tableau expansion rules Infer constraints on elements of model Tableau rules correspond to constructors in logic (u, t etc) Some rules are nondeterministic (e.g., t, 6) In practice, this means search Stop when no more rules applicable or clash occurs Clash is an obvious contradiction, e.g., A(x), :A(x) Cycle check (blocking) may be needed for termination C satisfiable iff rules can be applied such that a fully expanded clash free tree is constructed

DL Reasoning: Advanced Techniques Satisfiability w.r.t. an Ontology O For each axiom C v D 2 O , add :C t D to every node label More expressive DLs Basic technique can be extended to deal with Role inclusion axioms (role hierarchy) Number restrictions Inverse roles Concrete domains/datatypes Aboxes etc. Extend expansion rules and use more sophisticated blocking strategy Forest instead of Tree (for Aboxes) Root nodes correspond to individuals in Abox

DL Reasoning: Decision Procedures Theorem: Tableaux algorithms are decision procedures for concept satisfiability (& subsumption & w.r.t. an ontology) i.e., algorithms return “SAT” iff input concept is satisfiable Terminating Bounds on out-degree (rule applications per node) and depth (blocking) of tree Sound Can construct a tableau, and hence a model, from a fully expanded and clash-free tree Complete Can use a model to guide application of non-deterministic rules and so construct a clash-free tree

DL Reasoning: Optimised Implementations Naive implementation can lead to effective non-termination 10 GCIs £ 10 nodes → 2100 different possible expansions Modern systems include MANY optimisations Optimised classification (compute partial ordering) Enhanced traversal (exploits information from previous tests) Use structural information to select classification order Optimised satisfiability/subsumption testing Normalisation and simplification of concepts Absorption (simplification) of axioms Dependency directed backtracking Caching of satisfiability results and (partial) models Heuristic ordering of propositional and modal expansion …

Research Challenges Increased expressive power Scalability Existing DL systems implement (at most) SHIQ OWL extends SHIQ with datatypes and nominals (SHOIN(Dn)) Future (undecidable) extensions such as SWRL Scalability Very large ontologies Reasoning with (very large numbers of) individuals Other reasoning tasks (non-standard inferences) Querying Matching Least common subsumer ... Tools and Infrastructure Support for large scale ontological engineering and deployment

Summary An Ontology is an engineering artifact consisting of: A vocabulary of terms An explicit specification their intended meaning Ontologies are set to play a key role in many applications e-Science, Medicine, Databases, Semantic Web, etc. Reasoning is important because Understanding is closely related to reasoning Essential for design, maintenance and deployment of ontologies Reasoning support based on DL systems Sound and complete reasoning Highly optimised implementations Challenges remain Expressive power; scalability; new reasoning tasks; tools and infrastructure

Acknowledgements Thanks to the many people who inspired me and with whom I have had the privilege of collaborating, in particular: Alan Rector Franz Baader Uli Sattler

Resources Slides from this talk FaCT system (open source) http://www.cs.man.ac.uk/~horrocks/Slides/wolter.ppt FaCT system (open source) http://www.cs.man.ac.uk/FaCT/ OilEd (open source) http://oiled.man.ac.uk/ Protégé http://protege.stanford.edu/plugins/owl/ W3C Web-Ontology (WebOnt) working group (OWL) http://www.w3.org/2001/sw/WebOnt/ DL Handbook, Cambridge University Press http://books.cambridge.org/0521781760.htm

Select Bibliography Ian Horrocks, Peter F. Patel-Schneider, and Frank van Harmelen. From SHIQ and RDF to OWL: The making of a web ontology language. Journal of Web Semantics, 2003. Franz Baader, Ian Horrocks, and Ulrike Sattler. Description logics as ontology languages for the semantic web. In Festschrift in honor of Jörg Siekmann, LNAI. Springer, 2003. I. Horrocks and U. Sattler. Ontology reasoning in the SHOQ(D) description logic. In Proc. of IJCAI 2001. All available from http://www.cs.man.ac.uk/~horrocks/Publications/