COMPUTING LOCAL UNIFIERS IN THE DESCRIPTION LOGIC EL WITHOUT THE TOP CONCEPT

Similar documents
Dismatching and Local Disunification in EL

A Goal-Oriented Algorithm for Unification in EL w.r.t. Cycle-Restricted TBoxes

Extending Unification in EL towards General TBoxes

Unification in Description Logic EL without top constructor

Hybrid Unification in the Description Logic EL

Least Common Subsumers and Most Specific Concepts in a Description Logic with Existential Restrictions and Terminological Cycles*

Technische Universität Dresden. Fakultät Informatik EMCL Master s Thesis on. Hybrid Unification in the Description Logic EL

Restricted role-value-maps in a description logic with existential restrictions and terminological cycles

Complexity of Subsumption in the EL Family of Description Logics: Acyclic and Cyclic TBoxes

LTCS Report. Decidability and Complexity of Threshold Description Logics Induced by Concept Similarity Measures. LTCS-Report 16-07

Role-depth Bounded Least Common Subsumers by Completion for EL- and Prob-EL-TBoxes

UNIF 2011 The 25th International Workshop on Unification

LTCS Report. Subsumption in Finitely Valued Fuzzy EL. Stefan Borgwardt Marco Cerami Rafael Peñaloza. LTCS-Report 15-06

Subsumption of concepts in FL 0 for (cyclic) terminologies with respect to descriptive semantics is PSPACE-complete.

Fuzzy DLs over Finite Lattices with Nominals

ten into an \related better" description E by using (some of) the names dened in T? In this paper, related will mean equivalent, and better will mean

Fuzzy Ontologies over Lattices with T-norms

The Complexity of Lattice-Based Fuzzy Description Logics

A Tableau Algorithm for Fuzzy Description Logics over Residuated De Morgan Lattices

Rewriting Concepts Using Terminologies Revisited Franz Baader, Ralf Kusters, and Ralf Molitor LuFg Theoretical Computer Science, RWTH Aachen fb

LTCS Report. A finite basis for the set of EL-implications holding in a finite model

The Complexity of Subsumption in Fuzzy EL

Gödel Negation Makes Unwitnessed Consistency Crisp

Fuzzy Description Logics

Computing Least Common Subsumers in Description Logics with Existential Restrictions*

From Tableaux to Automata for Description Logics

The Inclusion Problem for Weighted Automata on Infinite Trees

Reasoning in ELH w.r.t. General Concept Inclusion Axioms

Chapter 2 Background. 2.1 A Basic Description Logic

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

Non-Gödel Negation Makes Unwitnessed Consistency Undecidable

Computing the Least Common Subsumer w.r.t. a Background Terminology

Consequence-Based Reasoning beyond Horn Ontologies

The Bayesian Ontology Language BEL

Decidable Description Logics of Context with Rigid Roles

Reasoning About Typicality in ALC and EL

Completing Description Logic Knowledge Bases using Formal Concept Analysis

Complexity of Axiom Pinpointing in the DL-Lite Family

Łukasiewicz Fuzzy EL is Undecidable

Hierarchical Combination of Unification Algorithms (Extended Abstract)

An Introduction to Description Logic VIII Inherent intractability of terminological reasoning

About Subsumption in Fuzzy EL

Reasoning with Annotated Description Logic Ontologies

Keys, Nominals, and Concrete Domains

Conservative Extensions in Expressive Description Logics

On Subsumption and Instance Problem in ELH w.r.t. General TBoxes

Tight Complexity Bounds for Reasoning in the Description Logic BEL

On the Decidability Status of Fuzzy ALC with General Concept Inclusions

An Automata-Based Approach for Subsumption w.r.t. General Concept Inclusions in the Description Logic FL 0

CEX and MEX: Logical Diff and Semantic Module Extraction in a Fragment of OWL

Pushing the EL Envelope Further

An Introduction to Description Logics: Techniques, Properties, and Applications. NASSLLI, Day 3, Part 2. Computational Complexity.

LTCS Report. Exploring finite models in the Description Logic EL gfp. Franz Baader, Felix Distel. LTCS-Report 08-05

Complexity of language equations with one-sided concatenation and all Boolean operations

Matching Trace Patterns With Regular Policies

On Decidability and Tractability of Querying in Temporal EL

Reasoning in Expressive Gödel Description Logics

Tractable Extensions of the Description Logic EL with Numerical Datatypes

Inverting Proof Systems for Secrecy under OWA

Proof-theoretic Approach to Deciding Subsumption and Computing Least Common Subsumer in EL w.r.t. Hybrid TBoxes

The Complexity of Computing the Behaviour of Lattice Automata on Infinite Trees

Handbook of Logic and Proof Techniques for Computer Science

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

Completing Description Logic Knowledge Bases using Formal Concept Analysis

Tree Automata for Non-Linear Arithmetic

Axiom Pinpointing in General Tableaux

A Closer Look at the Probabilistic Description Logic Prob-EL

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

Bayesian Description Logics

Theoretical Foundations of the UML

Description Logics. Glossary. Definition

An Introduction to Description Logics

Downloaded from: Usage Guidelines

CS256/Spring 2008 Lecture #11 Zohar Manna. Beyond Temporal Logics

The Concept Difference for EL-Terminologies using Hypergraphs

Temporal Query Answering in the Description Logic EL

On language equations with one-sided concatenation

Lecturecise 22 Weak monadic second-order theory of one successor (WS1S)

Positive Subsumption in Fuzzy EL with General t-norms

A Tractable Rule Language in the Modal and Description Logics that Combine CPDL with Regular Grammar Logic

Finite Model Reasoning in Horn-SHIQ

Quasi-Classical Semantics for Expressive Description Logics

Locality and subsumption testing in EL and some of its extensions

Reasoning about concepts and similarity

Description Logics with Concrete Domains and Functional Dependencies

Extensions to Description Logics

Description Logics. an introduction into its basic ideas

Exact Learning of TBoxes in EL and DL-Lite

The Combined Approach to Query Answering in DL-Lite

Forgetting and uniform interpolation in large-scale description logic terminologies

Unification in modal logic Alt 1

Modular Combination of Reasoners for Ontology Classification

Temporal Conjunctive Queries in Expressive Description Logics with Transitive Roles

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

PSpace Automata for Description Logics

Expressive number restrictions in Description Logics

A SHORT GUIDE TO FUZZY DESCRIPTION LOGICS

Foundations for the Logical Difference of EL-TBoxes

Finite Model Theory: First-Order Logic on the Class of Finite Models

Partially Ordered Two-way Büchi Automata

Transcription:

Institute of Theoretical Computer Science Chair of Automata Theory COMPUTING LOCAL UNIFIERS IN THE DESCRIPTION LOGIC EL WITHOUT THE TOP CONCEPT Franz Baader Nguyen Thanh Binh Stefan Borgwardt Barbara Morawska Wrocław, July 31st, 2011

The Description Logic EL concept name role name Syntax A N C r N R Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 2

The Description Logic EL Syntax interpretation I = ( I, I ) concept name A N C A I I role name r N R r I I I Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 2

The Description Logic EL Syntax interpretation I = ( I, I ) concept name A N C A I I role name r N R r I I I conjunction C D C I D I Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 2

The Description Logic EL Syntax interpretation I = ( I, I ) concept name A N C A I I role name r N R r I I I conjunction C D C I D I existential restriction r.c {x y : (x, y) r I y C I } Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 2

The Description Logic EL Syntax interpretation I = ( I, I ) concept name A N C A I I role name r N R r I I I conjunction C D C I D I EL existential restriction r.c {x y : (x, y) r I y C I } top concept I Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 2

The Description Logic EL Syntax interpretation I = ( I, I ) concept name A N C A I I role name r N R r I I I conjunction C D C I D I EL existential restriction r.c {x y : (x, y) r I y C I } top concept I EL Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 2

The Description Logic EL Syntax interpretation I = ( I, I ) concept name A N C A I I role name r N R r I I I conjunction C D C I D I EL existential restriction r.c {x y : (x, y) r I y C I } top concept I EL subsumption C D C I D I equivalence C D C I = D I Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 2

The Description Logic EL Syntax interpretation I = ( I, I ) concept name A N C A I I role name r N R r I I I conjunction C D C I D I EL existential restriction r.c {x y : (x, y) r I y C I } top concept I EL subsumption C D C I D I equivalence C D C I = D I Description logics are used to formulate ontologies SNOMED CT is based on EL, but does not use Unification can be used to detect redundancies Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 2

Unification in EL ( ) Some concept names are variables (X N v ), all others are constants (A N c). unification problem: Γ = {C 1? D 1,..., C n? D n} Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 3

Unification in EL ( ) Some concept names are variables (X N v ), all others are constants (A N c). unification problem: Γ = {C 1? D 1,..., C n? D n} A unifier σ substitutes variables with concept terms such that σ(c 1 ) σ(d 1 ),..., σ(c n) σ(d n). Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 3

Unification in EL ( ) Some concept names are variables (X N v ), all others are constants (A N c). unification problem: Γ = {C 1? D 1,..., C n? D n} A unifier σ substitutes variables with concept terms such that σ(c 1 ) σ(d 1 ),..., σ(c n) σ(d n). Unification modulo the equational theory of bounded semilattices with monotone operators: A free constant X variable binary associative, commutative, idempotent operator r.c unary monotone operator constant; unit for Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 3

Previous Results Unification in EL is NP-complete: Matching is NP-hard [Baader, Küsters 2000]. Unification is in NP [Baader, Morawska 2009, 2010]. We can restrict the search to local unifiers of polynomial size. Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 4

Previous Results Unification in EL is NP-complete: Matching is NP-hard [Baader, Küsters 2000]. Unification is in NP [Baader, Morawska 2009, 2010]. We can restrict the search to local unifiers of polynomial size. Unification in EL is PSPACE-complete [CADE 2011]. Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 4

Previous Results Unification in EL is NP-complete: Matching is NP-hard [Baader, Küsters 2000]. Unification is in NP [Baader, Morawska 2009, 2010]. We can restrict the search to local unifiers of polynomial size. Unification in EL is PSPACE-complete [CADE 2011]. In this talk: Local unifiers in EL may be of exponential size. Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 4

Preliminaries Atom: concept name or existential restriction Non-variable atom: concept constant or existential restriction Flat atom: atom of depth 1 Flat unification problem: All equations are of the form C 1 C n? D 1 D m for flat atoms C 1,..., C n, D 1,..., D m. Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 5

Preliminaries Atom: concept name or existential restriction Non-variable atom: concept constant or existential restriction Flat atom: atom of depth 1 Flat unification problem: All equations are of the form C 1 C n? D 1 D m for flat atoms C 1,..., C n, D 1,..., D m. Subsumption in EL (and EL ): The only atom subsumed by a concept name A is A itself. Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 5

Preliminaries Atom: concept name or existential restriction Non-variable atom: concept constant or existential restriction Flat atom: atom of depth 1 Flat unification problem: All equations are of the form C 1 C n? D 1 D m for flat atoms C 1,..., C n, D 1,..., D m. Subsumption in EL (and EL ): The only atom subsumed by a concept name A is A itself. All atoms subsumed by an existential restriction r.e are of the form r.e with E E. Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 5

Preliminaries Atom: concept name or existential restriction Non-variable atom: concept constant or existential restriction Flat atom: atom of depth 1 Flat unification problem: All equations are of the form C 1 C n? D 1 D m for flat atoms C 1,..., C n, D 1,..., D m. Subsumption in EL (and EL ): The only atom subsumed by a concept name A is A itself. All atoms subsumed by an existential restriction r.e are of the form r.e with E E. All concept terms subsumed by a conjunction of atoms D 1 D m are conjunctions of atoms C 1 C n such that for every D j there is a C i with C i D j. Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 5

EL vs. EL Particle: atom of the form r 1.... r n.a If C is an EL -concept term and B is a particle, then B C implies B C. Part(C): Part(A r.(a r.b)) = {A, r.a, r. r.b} Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 6

EL vs. EL Particle: atom of the form r 1.... r n.a If C is an EL -concept term and B is a particle, then B C implies B C. Part(C): Part(A r.(a r.b)) = {A, r.a, r. r.b} In EL, it suffices to check for local unifiers σ: σ(x ) = σ(d 1 ) σ(d m), where D 1,..., D m are non-variable atoms of the unification problem. Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 6

EL vs. EL Particle: atom of the form r 1.... r n.a If C is an EL -concept term and B is a particle, then B C implies B C. Part(C): Part(A r.(a r.b)) = {A, r.a, r. r.b} In EL, it suffices to check for local unifiers σ: σ(x ) = σ(d 1 ) σ(d m), where D 1,..., D m are non-variable atoms of the unification problem. Example: Γ : X? Y A, r.x? Y local EL-unifier σ 1 := {X A, Y } Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 6

EL vs. EL Particle: atom of the form r 1.... r n.a If C is an EL -concept term and B is a particle, then B C implies B C. Part(C): Part(A r.(a r.b)) = {A, r.a, r. r.b} In EL, it suffices to check for local unifiers σ: σ(x ) = σ(d 1 ) σ(d m), where D 1,..., D m are non-variable atoms of the unification problem. Example: Γ : X? Y A, r.x? Y local EL-unifier σ 1 := {X A, Y } allow also particles of σ(d) to occur: local EL -unifier σ 2 := {X A r.a, Y r.a} Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 6

Reduction to Linear Language Inclusions NP reduction to a system of linear language inclusions X i L 0 L 1 X 1 L nx n (L 0,..., L n are subsets of N R {ε}) A solution θ maps variables to languages over N R such that θ(x i ) L 0 L 1 θ(x 1 ) L nθ(x n). Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 7

Reduction to Linear Language Inclusions NP reduction to a system of linear language inclusions X i L 0 L 1 X 1 L nx n (L 0,..., L n are subsets of N R {ε}) A solution θ maps variables to languages over N R such that θ(x i ) L 0 L 1 θ(x 1 ) L nθ(x n). Γ : X? Y A, r.x? Y Y A X A, X A {ε} Y A, Y A {r}x A Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 7

Local Solutions A solution θ is local if every w θ(x A ) \ {ε} occurs on the right-hand side of some inclusion: Y A X A, X A {ε} Y A, Y A {r}x A θ(x A ) = {ε, r}, θ(y A ) = {r} Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 8

Local Solutions A solution θ is local if every w θ(x A ) \ {ε} occurs on the right-hand side of some inclusion: Y A X A, X A {ε} Y A, Y A {r}x A θ(x A ) = {ε, r}, θ(y A ) = {r} A solution θ is admissible if for every concept variable X there is a concept constant A such that θ(x A ) is non-empty. Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 8

Local Solutions A solution θ is local if every w θ(x A ) \ {ε} occurs on the right-hand side of some inclusion: Y A X A, X A {ε} Y A, Y A {r}x A θ(x A ) = {ε, r}, θ(y A ) = {r} A solution θ is admissible if for every concept variable X there is a concept constant A such that θ(x A ) is non-empty. From any finite, local, admissible solution θ we can construct a local EL -unifier of size exponential in Γ and polynomial in θ. Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 8

Automata Construction Finite, local solutions are closed under union. Check for all X whether there is A and a finite, local solution θ such that θ(x A ) is non-empty. Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 9

Automata Construction Finite, local solutions are closed under union. Check for all X whether there is A and a finite, local solution θ such that θ(x A ) is non-empty. We construct an alternating automaton that accepts the maximal solution for X A : s 1 : s 2 : s 3 : Y A X A X A {ε} Y A Y A {r}x A ε ε s 1 ε X A s 2 ε ε Y A ε A s 3 r Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 9

The Size of Local EL -Unifiers Emptiness of this automaton can be checked in PSPACE [Jiang, Ravikumar 1991]. If it is not empty, we can even construct a finite, local solution θ of size at most exponential in Γ : ε ε s 1 ε X A s 2 ε ε Y A ε A s 3 r Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 10

The Size of Local EL -Unifiers Emptiness of this automaton can be checked in PSPACE [Jiang, Ravikumar 1991]. If it is not empty, we can even construct a finite, local solution θ of size at most exponential in Γ : Construct an equivalent nondeterministic automaton using a powerset construction {X A, s 2, A} {X A, s 2, Y A, s 1, s 3 } r r Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 10

The Size of Local EL -Unifiers Emptiness of this automaton can be checked in PSPACE [Jiang, Ravikumar 1991]. If it is not empty, we can even construct a finite, local solution θ of size at most exponential in Γ : Construct an equivalent nondeterministic automaton using a powerset construction Find a shortest accepting path (of possibly exponential length) Extract a local solution (of exponential size) from this path {X A, s 2, A} {X A, s 2, Y A, s 1, s 3 } r r Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 10

Summary If Γ has an EL -unifier, we can always construct a local EL -unifier of size exponential in Γ. Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 11

Summary If Γ has an EL -unifier, we can always construct a local EL -unifier of size exponential in Γ. On the other hand, the size of all local EL -unifiers of Γ may grow exponentially in Γ. Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 11

Summary If Γ has an EL -unifier, we can always construct a local EL -unifier of size exponential in Γ. On the other hand, the size of all local EL -unifiers of Γ may grow exponentially in Γ. Future Work EL ( ) with general concept inclusion axioms? Other concept constructors? Implementation of a practical algorithm? Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 11

Thank You Franz Baader and Ralf Küsters. Matching concept descriptions with existential restrictions. In Proc. KR2000, pages 261 272. Morgan Kaufmann, 2000. Franz Baader and Barbara Morawska. SAT encoding of unification in EL. In Proc. LPAR 10, volume 6397 of LNCS, pages 97 111. Springer, 2010. Franz Baader, Nguyen Thanh Binh, Stefan Borgwardt, and Barbara Morawska. Unification in the description logic EL without the top concept. LTCS-Report 11-01, TU Dresden, 2011. See http://lat.inf.tu-dresden.de/research/reports.html. Tao Jiang and Bala Ravikumar. A note on the space complexity of some decision problems for finite automata. Inform. Process. Lett., 40:25 31, 1991. Frank Wolter and Michael Zakharyaschev. Undecidability of the unification and admissibility problems for modal and description logics. ACM Trans. Comput. Log., 9(4), 2008. Wrocław, July 31st, 2011 Local Unifiers in EL Without Top 12