Combining Ontologies with Rules (Two Different Worlds?)

Slides:



Advertisements
Similar presentations
A Web Rules WG Charter Focus Strawman Proposal Version 1.1, April 30, 2005 This Version Prepared by: Benjamin Grosof, Harold Boley, Michael Kifer, and.
Advertisements

Charting the Potential of Description Logic for the Generation of Referring Expression SELLC, Guangzhou, Dec Yuan Ren, Kees van Deemter and Jeff.
G. Papadopoulos, N. Bassiliades Department of Informatics Aristotle University of Thessaloniki Greece.
Three Theses of Representation in the Semantic Web
ARCHITECTURES FOR ARTIFICIAL INTELLIGENCE SYSTEMS
A rule language for the semantic web Dieter Fensel, Lausanne, June 14, 2004 SDK cluster meeting on WSMO.
An Introduction to Description Logics
Logic Programming Automated Reasoning in practice.
Ontological Logic Programming by Murat Sensoy, Geeth de Mel, Wamberto Vasconcelos and Timothy J. Norman Computing Science, University of Aberdeen, UK 1.
Answer Set Programming Overview Dr. Rogelio Dávila Pérez Profesor-Investigador División de Posgrado Universidad Autónoma de Guadalajara
Of 27 lecture 7: owl - introduction. of 27 ece 627, winter ‘132 OWL a glimpse OWL – Web Ontology Language describes classes, properties and relations.
1 Ontology Language Comparisons doug foxvog 16 September 2004.
Vassilis Papataxiarhis, V.Tsetsos, I.Karali, P.Stamatopoulos, and S.Hadjiefthymiades Department of Informatics and Telecommunications University.
CPSC 322, Lecture 23Slide 1 Logic: TD as search, Datalog (variables) Computer Science cpsc322, Lecture 23 (Textbook Chpt 5.2 & some basic concepts from.
Ontologies and the Semantic Web by Ian Horrocks presented by Thomas Packer 1.
A Probabilistic Framework for Information Integration and Retrieval on the Semantic Web by Livia Predoiu, Heiner Stuckenschmidt Institute of Computer Science,
Dynamic Ontologies on the Web Jeff Heflin, James Hendler.
CPSC 322, Lecture 23Slide 1 Logic: TD as search, Datalog (variables) Computer Science cpsc322, Lecture 23 (Textbook Chpt 5.2 & some basic concepts from.
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
Business Domain Modelling Principles Theory and Practice HYPERCUBE Ltd 7 CURTAIN RD, LONDON EC2A 3LT Mike Bennett, Hypercube Ltd.
OWL, DL and Rules Based on slides from Grigoris Antoniou, Frank van Harmele and Vassilis Papataxiarhis.
Semantic Web Technologies Lecture # 2 Faculty of Computer Science, IBA.
Integrating DLs with Logic Programming Boris Motik, University of Manchester Joint work with Riccardo Rosati, University of Rome.
Semantics and Reasoning Algorithms for a Faithful Integration of Description Logics and Rules Boris Motik, University of Oxford.
1. Motivation Knowledge in the Semantic Web must be shared and modularly organised. The semantics of the modular ERDF framework has been defined model.
Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.
An Introduction to Description Logics. What Are Description Logics? A family of logic based Knowledge Representation formalisms –Descendants of semantic.
Knowledge representation
Applying Belief Change to Ontology Evolution PhD Student Computer Science Department University of Crete Giorgos Flouris Research Assistant.
Ming Fang 6/12/2009. Outlines  Classical logics  Introduction to DL  Syntax of DL  Semantics of DL  KR in DL  Reasoning in DL  Applications.
An Introduction to Description Logics (chapter 2 of DLHB)
Coastal Atlas Interoperability - Ontologies (Advanced topics that we did not get to in detail) Luis Bermudez Stephanie Watson Marine Metadata Interoperability.
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall Description Logics: Logic foundation of Semantic Web Semantic.
Semantic Web - an introduction By Daniel Wu (danielwujr)
Rules, RIF and RuleML.
Using Several Ontologies for Describing Audio-Visual Documents: A Case Study in the Medical Domain Sunday 29 th of May, 2005 Antoine Isaac 1 & Raphaël.
Practical Goal-based Reasoning in Ontology-Driven Applications Huy Pham & Deborah Stacey School of Computer Science University of Guelph Guelph, Ontario,
DAML+OIL: an Ontology Language for the Semantic Web.
Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:
1 Comparison and Combination of the Expressive Power of Description Logics and Logic Programs Jidi (Judy) Zhao December 7, 2015.
KR A Principled Framework for Modular Web Rule Bases and its Semantics Anastasia Analyti Institute of Computer Science, FORTH-ICS, Greece Grigoris.
Description Logics Dr. Alexandra I. Cristea. Description Logics Description Logics allow formal concept definitions that can be reasoned about to be expressed.
1 Reasoning with Infinite stable models Piero A. Bonatti presented by Axel Polleres (IJCAI 2001,
ece 627 intelligent web: ontology and beyond
1 RIF Design Roadmap Draft PM Harold Boley (NRC), Michael Kifer (Stony Brook U), Axel Polleres (DERI), Jos de Bruijn (DERI), Michael Sintek.
Of 35 lecture 17: semantic web rules. of 35 ece 627, winter ‘132 logic importance - high-level language for expressing knowledge - high expressive power.
Datalog DL : Datalog Rules Parameterized by Description Logics Jing Mei, Harold Boley, Jie Li, Virendrakumar C. Bhavsar, Zuoquan Lin Canadian Semantic.
WonderWeb. Ontology Infrastructure for the Semantic Web. IST Project Review Meeting, 11 th March, WP2: Tools Raphael Volz Universität.
OWL, DL and Rules Based on slides from Grigoris Antoniou, Frank van Harmele and Vassilis Papataxiarhis.
- Laboratoire d'InfoRmatique en Image et Systèmes d'information LIRIS UMR 5205 CNRS/INSA.
Implementation of Ontology Based Context-awareness Framework Ki-Chul Lee, Jung-Hoon Kim International Conference on Multimedia and Ubiquitous Engineering.
On Abductive Equivalence Katsumi Inoue National Institute of Informatics Chiaki Sakama Wakayama University MBR
Ontology Technology applied to Catalogues Paul Kopp.
OWL, DL and rules Based on slides from Grigoris Antoniou, Frank van Harmele and Vassilis Papataxiarhis.
OWL, DL and Rules Based on slides from Grigoris Antoniou, Frank van Harmele and Vassilis Papataxiarhis.
Knowledge Representation Part II Description Logic & Introduction to Protégé Jan Pettersen Nytun.
Adding ICs to OWL Ming Fang 07/10/2009.
ece 720 intelligent web: ontology and beyond
Rules, RIF and RuleML.
Ontology.
ece 720 intelligent web: ontology and beyond
Ontology.
Ontologies and Databases
Deniz Beser A Fundamental Tradeoff in Knowledge Representation and Reasoning Hector J. Levesque and Ronald J. Brachman.
Answer Set Programming
ONTOMERGE Ontology translations by merging ontologies Paper: Ontology Translation on the Semantic Web by Dejing Dou, Drew McDermott and Peishen Qi 2003.
A Tutorial Summary of Description Logic and Hybrid Rules
CIS Monthly Seminar – Software Engineering and Knowledge Management IS Enterprise Modeling Ontologies Presenter : Dr. S. Vasanthapriyan Senior Lecturer.
Presentation transcript:

Combining Ontologies with Rules (Two Different Worlds?) Vassilis Papataxiarhis Pervasive Computing Research Group Communications Network Laboratory Department Informatics and Telecommunications University of Athens – Greece 2007

Outline Definition of ontologies and rules Integration Difficulties Integration Approaches Tools

What really is an ontology? (1/2) Q: Is ontology an hierarchical structure of concepts? A: Yes, but not only that. Ontology= Όν (categories of being) + λόγος (treatise) (i.e. the philosophy of being, Metaphysics, Aristotle). But in ancient greek λόγος = logic!

What really is an ontology? (2/2) Ontologies are used not only to represent a domain of interest, but also DEFINE concepts, describe relations among them and insert individuals. So, an ontology is not just a taxonomy like that Basic Ontology Languages: Ontology Web Language (OWL) DAML+OIL Maturity

Rules Rules are mainly based on subsets of First Order Logic (FOL) + possible extensions. Basic Rule Formalisms (in Semantic Web): Semantic Web Rule Language (SWRL) Answer Set Programming (ASP) (Datalog∨¬) Immaturity Derivations Rules Integrity constraints Reactions

Why we need both of them? Ontologies are based on Description Logics (and thus in classical logic). The Web is an open environment. Reusability / interoperability. An ontology is a model easy to understand. Rules are based on logic programming. For the sake of decidability, ontology languages don’t offer the expressiveness we want (e.g. constructor for composite properties?). Rules do it well. Efficient reasoning support already exists. Rules are well-known in practice.

Usual combination High Expressiveness SWRL OWL-DL Conceptualization Rules Layer SWRL Ontology Layer OWL-DL Conceptualization of the domain

LP and Classical logic Overlap (1) (2) (5) (6) (4) (3) (7) FOL: (All except (6)), (2)+(3)+(4): DLs (4): Description Logic Programs (DLP), (3): Classical Negation (4)+(5): Horn Logic Programs, (4)+(5)+(6): LP (6): Non-monotonic features (like NAF, etc.) (7): ^head and, ∨body

Basic Difficulties Monotonic vs. Non-monotonic Features Classical Logic vs. Logic Programming Monotonic vs. Non-monotonic Features Open-world vs. Closed-world assumption Negation-as-failure vs. classical negation Non-ground entailment Strong negation vs. classical negation Equality Decidability

Open-world vs. Closed-world assumption Logic Programming – CWA If KB |= a, then KB = KB a Classical Logic – OWA It keeps the world open. KB: Man ⊑ Person, Woman ⊑ Person Bob ∈ Man, Mary ∈ Woman Query: “find all individuals that are not women”

NAF vs. Classical negation Example: KBLP: likesFootball(x) liverpoolSupporter(x) didNotCelebrateLVPEuroCup(x) not liverpoolSupporter(x) likesFootball(gerrard). KBCL: x liverpoolSupporter(x) likesFootball(x) x liverpoolSupporter(x) didNotCelebrateLVPEuroCup(x) KBLP |= didNotCelebrateLVPEuroCup(gerrard)!

Non-ground entailment The LP-semantics is defined in terms of minimal Herbrand model, i.e. sets of ground facts. Example: likesFootball(x) liverpoolSupporter(x) liverpoolSupporter(x) liverpoolPlayer(x) liverpoolPlayer(gerrard). Both LP and classical logic yields the facts liverpoolSupporter(gerrard), likesFootball(gerrard). Only the classical logic would allow further non- factual inferences, s.a. liverpoolPlayer(x) likesFootball(x)

Strong vs. Classical negation Strong negation: A way to simulate classical negation in LP. Example: KBLP: footballPlayer(x) liverpoolPlayer(x) ~footballPlayer(me). ~liverpoolPlayer(me). KBCL: liverpoolPlayer(x) footballPlayer(x) A DL-KB would entail me ∈ ~liverpoolPlayer (consistency error). In ASP: liverpoolPlayer(x) ∨ ~ liverpoolPlayer(x)

Equality LP ----> Unique Name Assumption (UNA) Classical logic ----> different names may represent the same atom Example: differentPlayers(x,y) player(x), player(y), x=y player(gerrard_of_liverpool). player(gerrard_of_england). In LP, we could conclude: = differentPlayers(gerrard_of_liverpool, gerrard_of_england)

Decidability The largest obstacle! Tradeoff between expressiveness and decidability. Facing decidability issues from 2 different angles In LP: Finiteness of the domain In classical logic (and thus in DL ): Combination of constructs Problem: Combination of “simple” DLs and Horn Logic are undecidable. (Levy & Rousset, 1998)

Rules + Ontologies Still a challenging task! A number of different approaches exists: SWRL, DLP (Grosof), dl-programs (Eiter), DL-safe rules, Conceptual Logic Programs (CLP), AL-Log, DL+log. 2 Main Strategies: Tight Semantic Integration (Homogeneous Approaches) Strict Semantic Separation (Hybrid Approaches)

Homogeneous Approach Interaction with tight semantic integration. Both ontologies and rules are embedding in a common logical language. No distinction between rule predicates and ontology predicates. Rules may be used for defining classes and properties of the ontology. Example: SWRL, DLP Ontologies Rules RDFS

Hybrid Approach Integration with strict semantic separation between the two layers. Ontology is used as a conceptualization of the domain. Rules cannot define classes and properties of the ontology, but some application-specific relations. Communication via a “safe interface”. Example: Answer Set Programming (ASP) ? Ontologies Rules RDFS

SWRL Extend OWL axioms to include Horn-like clauses. Maximum compatibility with OWL Built on top of OWL (same semantics) Generic Formula: a1 ∧ … ∧ an ← b1 ∧ . . . ∧ bk Limitations Negation, Disjunction Undecidable

Answer Set Programming (ASP) Main Idea: models are solutions Generic Formula: a1∨… ∨an ← b1∧ . . . ∧bk ∧not bk+1 ∧. . .∧not bm, where not: either NAF or strong negation Supports negation (NAF and strong) as well as disjunction Decidable

SWLC: Two Semantic Webs?

Tools Ontology Editors Rule Editors Ontology Reasoners RuleEngines Protégé, Swoop, TopBraid Composer Rule Editors Protégé (SWRL-Tab) Ontology Reasoners RacerPro, Bossam, Pellet, Fact++ RuleEngines Bossam, Jess, Jena Framework (only JRules) ASP solvers: DLV, Smodels, nomore++

Protégé SWRL-Tab (1/2)

Protégé SWRL-Tab (2/2)

Limitations (1/2) The rule inference support is not integrated with an OWL classifier. So, new assertions by rules may violate existing restrictions in ontology. New inferred knowledge from classification may in turn produce knowledge useful for rules. Inferred Knowledge 1 2 Ontology Classification Rule Inference 4 Inferred Knowledge 3

Limitations (2/2) Existing solution: Solve these possible conflicts manually. Ideal solution: Have a single module for both ontology classification and rule inference. What if we want to combine non-monotonic features with classical logic? Partial Solutions: ASP Externally (through the use of appropriate rule engines)

Some References Reasoning with Rules and Ontologies. Thomas Eiter, Giovambattista Ianni, Axel Polleres, Roman Schindlauer, Hans Tompits, 2006. Description Logic Programs: Combining Logic Programs with Description Logics. B. N. Grosof, I. Horrocks, R. Volz, and S. Decker, 2003. Combining Rules and Ontologies: A survey. G. Antoniou, C. V. Damnasio, B. Grosof, I. Horrocks, M. Kifer, J. Maluszynski, and P. F. Patel-Schneider, 2005. Semantic Web Architecture: Stack or Two Towers?. Horrocks, I., Parsia, B., Schneider, P., Hendler, J., 2005. Can OWL and Logic Programming Live Together Happily Ever After?. Motik, B., Horrocks, I., Rosati, R., Sattler, U., 2006.

QUESTIONS?