Combining safe rules and ontologies by interfacing of reasoners

Similar documents
Extending Logic Programs with Description Logic Expressions for the Semantic Web

Well-Supported Semantics for Description Logic Programs

Paraconsistent Semantics for Hybrid MKNF Knowledge Bases

Normal Description Logic Programs as Default Theories

Loop Formulas for Description Logic Programs

Completing Description Logic Knowledge Bases using Formal Concept Analysis

Paraconsistent Semantics for Hybrid MKNF Knowledge Bases

COMP9414: Artificial Intelligence Propositional Logic: Automated Reasoning

Exploiting Conjunctive Queries in Description Logic Programs

Quasi-Classical Semantics for Expressive Description Logics

Description Logics. Foundations of Propositional Logic. franconi. Enrico Franconi

Introduction to Intelligent Systems

Introduction to Intelligent Systems

Logic: Propositional Logic (Part I)

arxiv: v2 [cs.ai] 9 Dec 2011

Logic. Introduction to Artificial Intelligence CS/ECE 348 Lecture 11 September 27, 2001

Three-Valued Semantics for Hybrid MKNF Knowledge Bases Revisited (Extended Abstract)

Tautologies, Contradictions, and Contingencies

Absorption for ABoxes

Artificial Intelligence. Propositional logic

Knowledge base (KB) = set of sentences in a formal language Declarative approach to building an agent (or other system):

Advanced Topics in LP and FP

Reasoning in the SHOQ(D n ) Description Logic

Tightly Integrated Fuzzy Description Logic Programs under the Answer Set Semantics for the Semantic Web

Revision of DL-Lite Knowledge Bases

Reasoning in Description Logics with a Concrete Domain in the Framework of Resolution

ALC Concept Learning with Refinement Operators

A Crisp Representation for Fuzzy SHOIN with Fuzzy Nominals and General Concept Inclusions

Completing Description Logic Knowledge Bases using Formal Concept Analysis

A Faithful Integration of Description Logics with Logic Programming

On the Complexity of Dealing with Inconsistency in Description Logic Ontologies

Knowledge based Agents

Comp487/587 - Boolean Formulas

Logic Programming Techniques for Reasoning with Probabilistic Ontologies

Well-Founded Semantics for Description Logic Programs in the Semantic Web

Description Logics. Glossary. Definition

Revising General Knowledge Bases in Description Logics

Artificial Intelligence Chapter 7: Logical Agents

A Novel Combination of Answer Set Programming with Description Logics for the Semantic Web

Translating Ontologies from Predicate-based to Frame-based Languages

Description logics. Description Logics. Applications. Outline. Syntax - AL. Tbox and Abox

Intelligent Agents. Pınar Yolum Utrecht University

Reasoning with the Description Logic DLRO { } using Bound Guarded Programs

Fuzzy Description Logic Programs under the Answer Set Semantics for the Semantic Web

Defeasible Inference with Circumscriptive OWL Ontologies

Hybrid Rules with Well-Founded Semantics

A New Approach to Knowledge Base Revision in DL-Lite

Complexity of Axiom Pinpointing in the DL-Lite Family

Exploiting Pseudo Models for TBox and ABox Reasoning in Expressive Description Logics

Semantics and Inference for Probabilistic Ontologies

Title: Logical Agents AIMA: Chapter 7 (Sections 7.4 and 7.5)

Exploiting Conjunctive Queries in Description Logic Programs

Introduction to Artificial Intelligence. Logical Agents

Foundations of Artificial Intelligence

Propositional Logic: Models and Proofs

Foundations of Artificial Intelligence

A brief introduction to Logic. (slides from

On the Semantic Relationship between Datalog and Description Logics

Logical Agent & Propositional Logic

CS 380: ARTIFICIAL INTELLIGENCE

EE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS

Propositional Logic: Logical Agents (Part I)

Adding ternary complex roles to ALCRP(D)

Adaptive ALE-TBox for Extending Terminological Knowledge

Simplified Reduct for Choice Rules in ASP

Conservative Extensions in Expressive Description Logics

Structured Descriptions & Tradeoff Between Expressiveness and Tractability

A Framework for Representing Ontology Mappings under Probabilities and Inconsistency

Probabilistic Description Logic Programs

CS 380: ARTIFICIAL INTELLIGENCE PREDICATE LOGICS. Santiago Ontañón

Realizing Default Logic over Description Logic Knowledge Bases

Inconsistencies, Negations and Changes in Ontologies

Combining First-Order Logic Knowledge Bases and Logic Programming using fol-programs Master Thesis

OntoRevision: A Plug-in System for Ontology Revision in

Closed World Reasoning for OWL2 with Negation As Failure

ECE473 Lecture 15: Propositional Logic

7. Propositional Logic. Wolfram Burgard and Bernhard Nebel

Modular Reuse of Ontologies: Theory and Practice

Outline. Logical Agents. Logical Reasoning. Knowledge Representation. Logical reasoning Propositional Logic Wumpus World Inference

Agenda. Artificial Intelligence. Reasoning in the Wumpus World. The Wumpus World

Foundations of Rule-Based Query Answering

Realizing Default Logic over Description Logic Knowledge Bases. Minh Dao-Tran, Thomas Eiter, Thomas Krennwallner

Fuzzy Description Logic Programs

A Formal Investigation of Mapping Language for Terminological Knowledge

Extending XML Query Language Xcerpt by Ontology Queries

Improved Algorithms for Module Extraction and Atomic Decomposition

Inverting Proof Systems for Secrecy under OWA

All Elephants are Bigger than All Mice

Reasoning in Description Logics using Resolution and Deductive Databases

Lightweight Description Logics: DL-Lite A and EL ++

Logical Agents. Chapter 7

Phase 1. Phase 2. Phase 3. History. implementation of systems based on incomplete structural subsumption algorithms

Completeness Guarantees for Incomplete Reasoners

Kecerdasan Buatan M. Ali Fauzi

Local Closed World Semantics: Keep it simple, stupid!

Foundations of Artificial Intelligence

Second-Order Description Logics: Semantics, Motivation, and a Calculus

A Description Logic with Concrete Domains and a Role-forming Predicate Operator

Logical Agents. September 14, 2004

A normal form for hypergraph-based module extraction for SROIQ

Transcription:

Combining safe rules and ontologies by interfacing of reasoners Uwe Aßmann, Jakob Henriksson, Jan Małuszyński PPSWR06, Budva, Montenegro, 10 th June 2006

The objective Define a scheme that from given Rule language R (e.g. Datalog, Xcerpt) Logical language S (e.g. OWL-DL,...) constructs A language R S integrating R and S: + Syntax, Semantics of R S : from syntax and semantics of R and S + A (complete) reasoner for R S by interfacing the reasoners of R and S

Outline Motivating example The scheme Principles and restrictions An instance: + Datalog + OWL-DL + Prototype: interfacing XSB and a DL reasoner Conclusions Related work

Motivating example Rule component : DL component : r 1 : price-in-usa(x,high) made-by(x,y), NoFellowCompany(Y). r 2 : price-in-usa(x,high) made-by(x,y), Associate(Y,Z), American(Z), monopoly-in-usa(y,x). r 3 : made-by(a,b). r 4 : monopoly-in-usa(b,a). T-Box: European American EuropeanAssociate Associate.European AmericanAssociate Associate.American NoFellowCompany Associate. American InternationalCompany EuropeanAssociate AmericanAssociate A-Box: InternationalCompany(b) Ref: A.Levy and M C.Rousset.CARIN:A Representation Language Combining Horn rules and Description Logics. Artificial Intelligence 104(1 2):165 209, 1998.

Motivating example Rule component : DL component : r 1 : price-in-usa(x,high) made-by(x,y), NoFellowCompany(Y). r 2 : price-in-usa(x,high) made-by(x,y), Associate(Y,Z), American(Z), monopoly-in-usa(y,x). r 3 : made-by(a,b). r 4 : monopoly-in-usa(b,a). T-Box: European American EuropeanAssociate Associate.European AmericanAssociate Associate.American NoFellowCompany Associate. American InternationalCompany EuropeanAssociate AmericanAssociate A-Box: InternationalCompany(b) Constraining the extent of the head predicate in models of the rule-base With constraint domain

Motivating example = price-in-usa(a,high)? Rule component : DL component : r 1 : price-in-usa(x,high) made-by(x,y), NoFellowCompany(Y). r 2 : price-in-usa(x,high) made-by(x,y), Associate(Y,Z), American(Z), monopoly-in-usa(y,x). r 3 : made-by(a,b). r 4 : monopoly-in-usa(b,a). T-Box: European American EuropeanAssociate Associate.European AmericanAssociate Associate.American NoFellowCompany Associate. American InternationalCompany EuropeanAssociate AmericanAssociate A-Box: InternationalCompany(b)

Motivating example = price-in-usa(a,high)? Rule component : DL component : r 1 : price-in-usa(a,high) made-by(a,b), NoFellowCompany(b). r 2 : price-in-usa(x,high) made-by(x,y), Associate(Y,Z), American(Z), monopoly-in-usa(y,x). r 3 : made-by(a,b). r 4 : monopoly-in-usa(b,a). T-Box: European American EuropeanAssociate Associate.European AmericanAssociate Associate.American NoFellowCompany = NoFellowCompany(b) Associate. American InternationalCompany EuropeanAssociate AmericanAssociate A-Box: InternationalCompany(b)

Motivating example = price-in-usa(a,high)? Rule component : DL component : r 1 : price-in-usa(x,high) made-by(x,y), NoFellowCompany(Y). r 2 : price-in-usa(a,high) made-by(a,b), Associate(b,_Z), American(_Z), monopoly-in-usa(b,a). r 3 : made-by(a,b). r 4 : monopoly-in-usa(b,a). T-Box: European American EuropeanAssociate Associate.European AmericanAssociate Associate.American NoFellowCompany = (Associate(b, Associate. American _Z) InternationalCompany EuropeanAssociate American(_Z)) AmericanAssociate A-Box: InternationalCompany(b)

Motivating example = price-in-usa(a,high)? Rule component : DL component : r 1 : price-in-usa(a,high) made-by(a,b), NoFellowCompany(b). r 2 : price-in-usa(a,high) made-by(a,b), Associate(b,_Z), American(_Z), monopoly-in-usa(b,a). r 3 : made-by(a,b). r 4 : monopoly-in-usa(b,a). T-Box: But: European American EuropeanAssociate = NoFellowCompany(b) Associate.European AmericanAssociate Associate.American NoFellowCompany Associate. American InternationalCompany EuropeanAssociate (Associate(b, _Z) AmericanAssociate A-Box: InternationalCompany(b) American(_Z))

Motivating example = price-in-usa(a,high) Rule component : DL component : r 1 : price-in-usa(a,high) made-by(a,b), NoFellowCompany(b). r 2 : price-in-usa(a,high) made-by(a,b), Associate(b,_Z), American(_Z), monopoly-in-usa(b,a). r 3 : made-by(a,b). r 4 : monopoly-in-usa(b,a). T-Box: Thus: European American EuropeanAssociate Associate.European = price-in-usa(a, high) AmericanAssociate Associate.American NoFellowCompany Associate. American InternationalCompany EuropeanAssociate AmericanAssociate A-Box: InternationalCompany(b)

Rules we consider HEAD BODY HEAD is some basic construct (atom) BODY is a set of atoms Safety: head variables appear in the body Examples: + Datalog: atomic formulae + Xcerpt: Query terms and Construct terms

Semantics of rules Fixpoint semantics Rules derive ground atoms from given ground atoms + matching of body atoms vs. given atoms gives substitution + applied to head derived atom T P (S) = { H (H B 1,..., B n ) P and (B 1,..., B n ) matches some A 1,..., A n in S with result } T P monotonic, T P (S) T P (S') for any S S' Semantics of program P: least fixpoint of T P

Examples of rule languages The class includes: Logical rule languages, e.g. + Datalog (without negation) + Sematics of program: set of Datalog atoms + least Herbrand model Rule languages lacking logical semantics, e.g + Xcerpt (negation-free subset) + Semantics of program: set of Xcerpt data terms

Extended rules C formula of an external theory in logical language L Ground atoms associated with a constraint + A;C where A ground atom, C formula of L Extend T P operator HEAD BODY,C T P (S) = { H; (C C 1... C n ) (H B 1,..., B n,c) P and for some A 1 ;C 1,..., A n ;C n in S (B 1,..., B n ) matches A 1,..., A n with result }

Semantics of extended rules Restrict model of underlying rule program A constraint C, wrt. an external theory, can be: 1.True in all models of ( = C) 2.False in all models of ( = C) 3.None of above: satisfiable, but false in some models of M(P) = { A A lfp(t P ) and = C A } C A is the disjunction of all constraints of A

Instance: Datalog + OWL-DL Restrictions: Only OWL concepts Requirements (1) Collect constraints from Datalog in XSB (2) Solve disjunctive DL constraints in existing reasoner

(1) Collecting constraints Existing rule reasoners not aware of external predicates How re-use rule reasoners? How collect constraints? Must be solved specifically for each language and rule reasoner Here: Datalog in XSB r 1 : price-in-usa(x,high) made-by(x,y), NoFellowCompany(Y). r 2 : price-in-usa(x,high) made-by(x,y), Associate(Y,Z), American(Z), monopoly-in-usa(y,x). r 3 : made-by(a,b). r 4 : monopoly-in-usa(b,a).

(1) Collecting constraints Collecting constraints in XSB price-in-usa(x,high) :- made-by(x,y), NoFellowCompany(Y). price-in-usa(x,high) :- made-by(x,y), Associate(Y,Z), American(Z), monopoly-in-usa(y,x). made-by(a,b). monopoly-in-usa(b,a). ' price-in-usa(x,high,[nofellowcompany(y) A]) :- made-by(x,y,a). price-in-usa(x,high,[associate(y,z),american(z) A]) :- made-by(x,y,a1), monopoly-in-usa(y,x,a2), append(a1,a2,a). made-by(a,b,[]). monopoly-in-usa(b,a,[]).

(1) Collecting constraints Query price-in-usa(a,high,c) wrt. ': ' C = [NoFellowCompany(b)] C = [Associate(b,_Z),American(_Z)] ground( ) price-in-usa(x,high,[nofellowcompany(y) A]) :- made-by(x,y,a). price-in-usa(x,high,[associate(y,z), American(Z) A]) :- made-by(x,y,a1), monopoly-in-usa(y,x,a2), append(a1,a2,a). made-by(a,b,[]). monopoly-in-usa(b,a,[]). r 1 : price-in-usa(a,high) made-by(a,b), NoFellowCompany(b). r 2 : price-in-usa(a,high) made-by(a,b), Associate(b,_Z), American(_Z), monopoly-in-usa(b,a). r 3 : made-by(a,b). r 4 : monopoly-in-usa(b,a).

(2) Disjunctive DL constraints Conjunctive query languages available RacerPro, DQLServer, KAON2, Pellet etc. Disjunctive: Service not directly supported Σ = AmericanAssociate(a) v NoFellowCompany(b) Σ U { a : AmericanAssociate, b : NoFellowCompany } unsatisfiable? Ref: Horrocks, I, Sattler U. Tessaris S and Tobies S. Query containment using a DLR Abox. LTCS-Report 99-15, LuFG Theoretical Computer Science, RWTH Aachen, Germany.

(2) Disjunctive DL constraints Disjunctions of conjunctive queries = NoFellowCompany(a) v (EuropeanAssociate(b) American(b)) DNF CNF: = (NoFellowCompany(a) v EuropeanAssociate(b)) (NoFellowCompany(a) v American(b)) (1) Σ U { a: NoFellowCompany, b: EuropeanAssociate} (2) Σ U { a: NoFellowCompany, b: American} Answer yes if (1) and (2) are unsatisfiable Ref: Horrocks, I, Sattler U. Tessaris S and Tobies S. Query containment using a DLR Abox. LTCS-Report 99-15, LuFG Theoretical Computer Science, RWTH Aachen, Germany.

Prototype Interfaces existing reasoners Rule reasoner: XSB Ontology reasoner: DIG compliant DL reasoner Prototype Web interface Rules XSB Collect constraints Prototype using Jena API Queries Answers RacerPro + Available at: http://www.ida.liu.se/hswrl Work in progress: Allow roles in constraints through rolling-up

Conclusions Combining general class of rules with constraints Rules are negation-free, fixpoint semantics Non-logical rule languages E.g. Xcerpt Re-using existing reasoners Prototype integration: Datalog + OWL-DL Using: XSB + RacerPro

Related work Motivated by and extends AL-Log ASP + DL [Eiter et. al.] Negation Bi-directional flow of information Safe hybrid KBs [Rosati] Disjunctive Datalog Ontological predicates in rule heads Different objectives from language extensions E.g. SWRL [Horrocks et. al.], OWL-DL [Motik et. al.]

Future work How re-use existing rule reasoners? Eager interaction Other constraint languages Rules with negation

Combining safe rules and ontologies by interfacing of reasoners Uwe Aßmann, Jakob Henriksson, Jan Małuszyński PPSWR06, Budva, Montenegro, 10 th June 2006

The objective Define a scheme that from given Rule language R (e.g. Datalog, Xcerpt) Logical language S (e.g. OWL-DL,...) constructs A language R S integrating R and S: + Syntax, Semantics of R S : from syntax and semantics of R and S + A (complete) reasoner for R S by interfacing the reasoners of R and S

Outline Motivating example The scheme Principles and restrictions An instance: + Datalog + OWL-DL + Prototype: interfacing XSB and a DL reasoner Conclusions Related work

Motivating example Rule component : DL component : r 1 : price-in-usa(x,high) made-by(x,y), NoFellowCompany(Y). r 2 : price-in-usa(x,high) made-by(x,y), Associate(Y,Z), American(Z), monopoly-in-usa(y,x). r 3 : made-by(a,b). r 4 : monopoly-in-usa(b,a). T-Box: European American EuropeanAssociate Associate.European AmericanAssociate Associate.American NoFellowCompany Associate. American InternationalCompany EuropeanAssociate AmericanAssociate A-Box: InternationalCompany(b) Ref: A.Levy and M C.Rousset.CARIN:A Representation Language Combining Horn rules and Description Logics. Artificial Intelligence 104(1 2):165 209, 1998.

Motivating example Rule component : DL component : r 1 : price-in-usa(x,high) made-by(x,y), NoFellowCompany(Y). r 2 : price-in-usa(x,high) made-by(x,y), Associate(Y,Z), American(Z), monopoly-in-usa(y,x). r 3 : made-by(a,b). r 4 : monopoly-in-usa(b,a). T-Box: European American EuropeanAssociate Associate.European AmericanAssociate Associate.American NoFellowCompany Associate. American InternationalCompany EuropeanAssociate AmericanAssociate A-Box: InternationalCompany(b) Constraining the extent of the head predicate in models of the rule-base With constraint domain

Motivating example = price-in-usa(a,high)? Rule component : DL component : r 1 : price-in-usa(x,high) made-by(x,y), NoFellowCompany(Y). r 2 : price-in-usa(x,high) made-by(x,y), Associate(Y,Z), American(Z), monopoly-in-usa(y,x). r 3 : made-by(a,b). r 4 : monopoly-in-usa(b,a). T-Box: European American EuropeanAssociate Associate.European AmericanAssociate Associate.American NoFellowCompany Associate. American InternationalCompany EuropeanAssociate AmericanAssociate A-Box: InternationalCompany(b)

Motivating example = price-in-usa(a,high)? Rule component : DL component : r 1 : price-in-usa(a,high) made-by(a,b), NoFellowCompany(b). r 2 : price-in-usa(x,high) made-by(x,y), Associate(Y,Z), American(Z), monopoly-in-usa(y,x). r 3 : made-by(a,b). r 4 : monopoly-in-usa(b,a). T-Box: European American EuropeanAssociate Associate.European AmericanAssociate Associate.American NoFellowCompany = NoFellowCompany(b) Associate. American InternationalCompany EuropeanAssociate AmericanAssociate A-Box: InternationalCompany(b)

Motivating example = price-in-usa(a,high)? Rule component : DL component : r 1 : price-in-usa(x,high) made-by(x,y), NoFellowCompany(Y). r 2 : price-in-usa(a,high) made-by(a,b), Associate(b,_Z), American(_Z), monopoly-in-usa(b,a). r 3 : made-by(a,b). r 4 : monopoly-in-usa(b,a). T-Box: European American EuropeanAssociate Associate.European AmericanAssociate Associate.American NoFellowCompany = (Associate(b, Associate. American _Z) InternationalCompany EuropeanAssociate American(_Z)) AmericanAssociate A-Box: InternationalCompany(b)

Motivating example = price-in-usa(a,high)? Rule component : DL component : r 1 : price-in-usa(a,high) made-by(a,b), NoFellowCompany(b). r 2 : price-in-usa(a,high) made-by(a,b), Associate(b,_Z), American(_Z), monopoly-in-usa(b,a). r 3 : made-by(a,b). r 4 : monopoly-in-usa(b,a). T-Box: But: European American EuropeanAssociate = NoFellowCompany(b) Associate.European AmericanAssociate Associate.American NoFellowCompany Associate. American InternationalCompany EuropeanAssociate (Associate(b, _Z) AmericanAssociate A-Box: InternationalCompany(b) American(_Z))

Motivating example = price-in-usa(a,high) Rule component : DL component : r 1 : price-in-usa(a,high) made-by(a,b), NoFellowCompany(b). r 2 : price-in-usa(a,high) made-by(a,b), Associate(b,_Z), American(_Z), monopoly-in-usa(b,a). r 3 : made-by(a,b). r 4 : monopoly-in-usa(b,a). T-Box: Thus: European American EuropeanAssociate Associate.European = price-in-usa(a, high) AmericanAssociate Associate.American NoFellowCompany Associate. American InternationalCompany EuropeanAssociate AmericanAssociate A-Box: InternationalCompany(b)

Rules we consider HEAD BODY HEAD is some basic construct (atom) BODY is a set of atoms Safety: head variables appear in the body Examples: + Datalog: atomic formulae + Xcerpt: Query terms and Construct terms

Semantics of rules Fixpoint semantics Rules derive ground atoms from given ground atoms + matching of body atoms vs. given atoms gives substitution + applied to head derived atom T P (S) = { H (H B 1,..., B n ) P and (B 1,..., B n ) matches some A 1,..., A n in S with result } T P monotonic, T P (S) T P (S') for any S S' Semantics of program P: least fixpoint of T P 1. Matching depends on the rule language

Examples of rule languages The class includes: Logical rule languages, e.g. + Datalog (without negation) + Sematics of program: set of Datalog atoms + least Herbrand model Rule languages lacking logical semantics, e.g + Xcerpt (negation-free subset) + Semantics of program: set of Xcerpt data terms

Extended rules C formula of an external theory in logical language L Ground atoms associated with a constraint + A;C where A ground atom, C formula of L Extend T P operator HEAD BODY,C T P (S) = { H; (C C 1... C n ) (H B 1,..., B n,c) P and for some A 1 ;C 1,..., A n ;C n in S (B 1,..., B n ) matches A 1,..., A n with result }

Semantics of extended rules Restrict model of underlying rule program A constraint C, wrt. an external theory, can be: 1.True in all models of ( = C) 2.False in all models of ( = C) 3.None of above: satisfiable, but false in some models of M(P) = { A A lfp(t P ) and = C A } C A is the disjunction of all constraints of A 1. Refer to introductory example

Instance: Datalog + OWL-DL Restrictions: Only OWL concepts Requirements (1) Collect constraints from Datalog in XSB (2) Solve disjunctive DL constraints in existing reasoner

(1) Collecting constraints Existing rule reasoners not aware of external predicates How re-use rule reasoners? How collect constraints? Must be solved specifically for each language and rule reasoner Here: Datalog in XSB r 1 : price-in-usa(x,high) made-by(x,y), NoFellowCompany(Y). r 2 : price-in-usa(x,high) made-by(x,y), Associate(Y,Z), American(Z), monopoly-in-usa(y,x). r 3 : made-by(a,b). r 4 : monopoly-in-usa(b,a).

(1) Collecting constraints Collecting constraints in XSB price-in-usa(x,high) :- made-by(x,y), NoFellowCompany(Y). price-in-usa(x,high) :- made-by(x,y), Associate(Y,Z), American(Z), monopoly-in-usa(y,x). made-by(a,b). monopoly-in-usa(b,a). ' price-in-usa(x,high,[nofellowcompany(y) A]) :- made-by(x,y,a). price-in-usa(x,high,[associate(y,z),american(z) A]) :- made-by(x,y,a1), monopoly-in-usa(y,x,a2), append(a1,a2,a). made-by(a,b,[]). monopoly-in-usa(b,a,[]).

(1) Collecting constraints Query price-in-usa(a,high,c) wrt. ': ' C = [NoFellowCompany(b)] C = [Associate(b,_Z),American(_Z)] ground( ) price-in-usa(x,high,[nofellowcompany(y) A]) :- made-by(x,y,a). price-in-usa(x,high,[associate(y,z), American(Z) A]) :- made-by(x,y,a1), monopoly-in-usa(y,x,a2), append(a1,a2,a). made-by(a,b,[]). monopoly-in-usa(b,a,[]). r 1 : price-in-usa(a,high) made-by(a,b), NoFellowCompany(b). r 2 : price-in-usa(a,high) made-by(a,b), Associate(b,_Z), American(_Z), monopoly-in-usa(b,a). r 3 : made-by(a,b). r 4 : monopoly-in-usa(b,a).

(2) Disjunctive DL constraints Conjunctive query languages available RacerPro, DQLServer, KAON2, Pellet etc. Disjunctive: Service not directly supported Σ = AmericanAssociate(a) v NoFellowCompany(b) Σ U { a : AmericanAssociate, b : NoFellowCompany } unsatisfiable? Ref: Horrocks, I, Sattler U. Tessaris S and Tobies S. Query containment using a DLR Abox. LTCS-Report 99-15, LuFG Theoretical Computer Science, RWTH Aachen, Germany.

(2) Disjunctive DL constraints Disjunctions of conjunctive queries = NoFellowCompany(a) v (EuropeanAssociate(b) American(b)) DNF CNF: = (NoFellowCompany(a) v EuropeanAssociate(b)) (NoFellowCompany(a) v American(b)) (1) Σ U { a: NoFellowCompany, b: EuropeanAssociate} (2) Σ U { a: NoFellowCompany, b: American} Answer yes if (1) and (2) are unsatisfiable Ref: Horrocks, I, Sattler U. Tessaris S and Tobies S. Query containment using a DLR Abox. LTCS-Report 99-15, LuFG Theoretical Computer Science, RWTH Aachen, Germany.

Prototype Interfaces existing reasoners Rule reasoner: XSB Ontology reasoner: DIG compliant DL reasoner Prototype Web interface Rules XSB Collect constraints Prototype using Jena API Queries Answers RacerPro + Available at: http://www.ida.liu.se/hswrl Work in progress: Allow roles in constraints through rolling-up

Conclusions Combining general class of rules with constraints Rules are negation-free, fixpoint semantics Non-logical rule languages E.g. Xcerpt Re-using existing reasoners Prototype integration: Datalog + OWL-DL Using: XSB + RacerPro

Related work Motivated by and extends AL-Log ASP + DL [Eiter et. al.] Negation Bi-directional flow of information Safe hybrid KBs [Rosati] Disjunctive Datalog Ontological predicates in rule heads Different objectives from language extensions E.g. SWRL [Horrocks et. al.], OWL-DL [Motik et. al.]

Future work How re-use existing rule reasoners? Eager interaction Other constraint languages Rules with negation