Satisfiability and Query Answering in Description Logics with Global - - PowerPoint PPT Presentation
Satisfiability and Query Answering in Description Logics with Global - - PowerPoint PPT Presentation
Satisfiability and Query Answering in Description Logics with Global and Local Cardinality Constraints Bartosz Bednarczyk Franz Baader, , Sebastian Rudolph TU Dresden & University of Wrocaw Running example: Greek mythology ALCQ knowledge
Running example: Greek mythology ALCQ knowledge base
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 1 / 5
Running example: Greek mythology ALCQ knowledge base Database (ABox) Knowledge (TBox)
Icons downloaded from icon-icons.com by c Rena Xiao and c Eucalyp Studio (both under CC BY 4.0). No changes has been made.
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 1 / 5
Running example: Greek mythology ALCQ knowledge base Database (ABox) Knowledge (TBox)
Icons downloaded from icon-icons.com by c Rena Xiao and c Eucalyp Studio (both under CC BY 4.0). No changes has been made.
hasParent(Heracles, Zeus)
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 1 / 5
Running example: Greek mythology ALCQ knowledge base Database (ABox) Knowledge (TBox)
Icons downloaded from icon-icons.com by c Rena Xiao and c Eucalyp Studio (both under CC BY 4.0). No changes has been made.
hasParent(Heracles, Zeus) Diety(Zeus), KingOfGods(Zeus)
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 1 / 5
Running example: Greek mythology ALCQ knowledge base Database (ABox) Knowledge (TBox)
Icons downloaded from icon-icons.com by c Rena Xiao and c Eucalyp Studio (both under CC BY 4.0). No changes has been made.
hasParent(Heracles, Zeus) Diety(Zeus), KingOfGods(Zeus) Titan(Rhea), Female(Rhea)
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 1 / 5
Running example: Greek mythology ALCQ knowledge base Database (ABox) Knowledge (TBox)
Icons downloaded from icon-icons.com by c Rena Xiao and c Eucalyp Studio (both under CC BY 4.0). No changes has been made.
hasParent(Heracles, Zeus) Diety(Zeus), KingOfGods(Zeus) Titan(Rhea), Female(Rhea) Mortal(Alcmene)
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 1 / 5
Running example: Greek mythology ALCQ knowledge base Database (ABox) Knowledge (TBox)
Icons downloaded from icon-icons.com by c Rena Xiao and c Eucalyp Studio (both under CC BY 4.0). No changes has been made.
hasParent(Heracles, Zeus) Diety(Zeus), KingOfGods(Zeus) Titan(Rhea), Female(Rhea) Mortal(Alcmene) Mortal ⊑ ¬Diety
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 1 / 5
Running example: Greek mythology ALCQ knowledge base Database (ABox) Knowledge (TBox)
Icons downloaded from icon-icons.com by c Rena Xiao and c Eucalyp Studio (both under CC BY 4.0). No changes has been made.
hasParent(Heracles, Zeus) Diety(Zeus), KingOfGods(Zeus) Titan(Rhea), Female(Rhea) Mortal(Alcmene) Mortal ⊑ ¬Diety ⊤ ⊑ ∃hasParent.Male ⊓ ∃hasParent.Female
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 1 / 5
Running example: Greek mythology ALCQ knowledge base Database (ABox) Knowledge (TBox)
Icons downloaded from icon-icons.com by c Rena Xiao and c Eucalyp Studio (both under CC BY 4.0). No changes has been made.
hasParent(Heracles, Zeus) Diety(Zeus), KingOfGods(Zeus) Titan(Rhea), Female(Rhea) Mortal(Alcmene) Mortal ⊑ ¬Diety ⊤ ⊑ ∃hasParent.Male ⊓ ∃hasParent.Female KingOfGods ⊑ (≥ 13 hasChildren).⊤
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 1 / 5
Running example: Greek mythology ALCQ knowledge base Database (ABox) Knowledge (TBox)
Icons downloaded from icon-icons.com by c Rena Xiao and c Eucalyp Studio (both under CC BY 4.0). No changes has been made.
hasParent(Heracles, Zeus) Diety(Zeus), KingOfGods(Zeus) Titan(Rhea), Female(Rhea) Mortal(Alcmene) Mortal ⊑ ¬Diety ⊤ ⊑ ∃hasParent.Male ⊓ ∃hasParent.Female KingOfGods ⊑ (≥ 13 hasChildren).⊤ Main problem: Counting
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 1 / 5
Running example: Greek mythology ALCQ knowledge base Database (ABox) Knowledge (TBox)
Icons downloaded from icon-icons.com by c Rena Xiao and c Eucalyp Studio (both under CC BY 4.0). No changes has been made.
hasParent(Heracles, Zeus) Diety(Zeus), KingOfGods(Zeus) Titan(Rhea), Female(Rhea) Mortal(Alcmene) Mortal ⊑ ¬Diety ⊤ ⊑ ∃hasParent.Male ⊓ ∃hasParent.Female KingOfGods ⊑ (≥ 13 hasChildren).⊤ Main problem: Counting is very-limited and local.
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 1 / 5
Running example: Greek mythology ALCQ knowledge base Database (ABox) Knowledge (TBox)
Icons downloaded from icon-icons.com by c Rena Xiao and c Eucalyp Studio (both under CC BY 4.0). No changes has been made.
hasParent(Heracles, Zeus) Diety(Zeus), KingOfGods(Zeus) Titan(Rhea), Female(Rhea) Mortal(Alcmene) Mortal ⊑ ¬Diety ⊤ ⊑ ∃hasParent.Male ⊓ ∃hasParent.Female KingOfGods ⊑ (≥ 13 hasChildren).⊤ Main problem: Counting is very-limited and local. How to express:
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 1 / 5
Running example: Greek mythology ALCQ knowledge base Database (ABox) Knowledge (TBox)
Icons downloaded from icon-icons.com by c Rena Xiao and c Eucalyp Studio (both under CC BY 4.0). No changes has been made.
hasParent(Heracles, Zeus) Diety(Zeus), KingOfGods(Zeus) Titan(Rhea), Female(Rhea) Mortal(Alcmene) Mortal ⊑ ¬Diety ⊤ ⊑ ∃hasParent.Male ⊓ ∃hasParent.Female KingOfGods ⊑ (≥ 13 hasChildren).⊤ Main problem: Counting is very-limited and local. How to express:
- Zeus is the only KingOfGods?
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 1 / 5
Running example: Greek mythology ALCQ knowledge base Database (ABox) Knowledge (TBox)
Icons downloaded from icon-icons.com by c Rena Xiao and c Eucalyp Studio (both under CC BY 4.0). No changes has been made.
hasParent(Heracles, Zeus) Diety(Zeus), KingOfGods(Zeus) Titan(Rhea), Female(Rhea) Mortal(Alcmene) Mortal ⊑ ¬Diety ⊤ ⊑ ∃hasParent.Male ⊓ ∃hasParent.Female KingOfGods ⊑ (≥ 13 hasChildren).⊤ Main problem: Counting is very-limited and local. How to express:
- Zeus is the only KingOfGods? there are exactly 12 Titans?
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 1 / 5
Running example: Greek mythology ALCQ knowledge base Database (ABox) Knowledge (TBox)
Icons downloaded from icon-icons.com by c Rena Xiao and c Eucalyp Studio (both under CC BY 4.0). No changes has been made.
hasParent(Heracles, Zeus) Diety(Zeus), KingOfGods(Zeus) Titan(Rhea), Female(Rhea) Mortal(Alcmene) Mortal ⊑ ¬Diety ⊤ ⊑ ∃hasParent.Male ⊓ ∃hasParent.Female KingOfGods ⊑ (≥ 13 hasChildren).⊤ Main problem: Counting is very-limited and local. How to express:
- Zeus is the only KingOfGods? there are exactly 12 Titans?
- No more than 40% of Zeus’ children are Male?
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 1 / 5
Running example: Greek mythology ALCQ knowledge base Database (ABox) Knowledge (TBox)
Icons downloaded from icon-icons.com by c Rena Xiao and c Eucalyp Studio (both under CC BY 4.0). No changes has been made.
hasParent(Heracles, Zeus) Diety(Zeus), KingOfGods(Zeus) Titan(Rhea), Female(Rhea) Mortal(Alcmene) Mortal ⊑ ¬Diety ⊤ ⊑ ∃hasParent.Male ⊓ ∃hasParent.Female KingOfGods ⊑ (≥ 13 hasChildren).⊤ Main problem: Counting is very-limited and local. How to express:
- Zeus is the only KingOfGods? there are exactly 12 Titans?
- No more than 40% of Zeus’ children are Male?
- Most of people stored in DB are Zeus’ children?
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 1 / 5
QFBAPA
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 2 / 5
QFBAPA Quantifier-Free Boolean Algebra with Presburger Arithmetics
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 2 / 5
QFBAPA Quantifier-Free Boolean Algebra with Presburger Arithmetics counting toolkit
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 2 / 5
QFBAPA Quantifier-Free Boolean Algebra with Presburger Arithmetics
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 2 / 5
QFBAPA Quantifier-Free Boolean Algebra with Presburger Arithmetics Step 1. Boolean algebra of sets.
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 2 / 5
QFBAPA Quantifier-Free Boolean Algebra with Presburger Arithmetics Step 1. Boolean algebra of sets.
- Set variables: S, T, . . .
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 2 / 5
QFBAPA Quantifier-Free Boolean Algebra with Presburger Arithmetics Step 1. Boolean algebra of sets.
- Set variables: S, T, . . .
- Special set constants: ∅, U
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 2 / 5
QFBAPA Quantifier-Free Boolean Algebra with Presburger Arithmetics Step 1. Boolean algebra of sets.
- Set variables: S, T, . . .
- Special set constants: ∅, U
- Boolean operators: ∩, ∪, ·c
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 2 / 5
QFBAPA Quantifier-Free Boolean Algebra with Presburger Arithmetics Step 1. Boolean algebra of sets.
- Set variables: S, T, . . .
- Special set constants: ∅, U
- Boolean operators: ∩, ∪, ·c
- Set terms
- apply operations on variables and constants
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 2 / 5
QFBAPA Quantifier-Free Boolean Algebra with Presburger Arithmetics Step 1. Boolean algebra of sets.
- Set variables: S, T, . . .
- Special set constants: ∅, U
- Boolean operators: ∩, ∪, ·c
- Set terms
- apply operations on variables and constants
Example: ∅ ∪ (Sc ∩ (T ∪ R)c)
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 2 / 5
QFBAPA Quantifier-Free Boolean Algebra with Presburger Arithmetics Step 1. Boolean algebra of sets.
- Set variables: S, T, . . .
- Special set constants: ∅, U
- Boolean operators: ∩, ∪, ·c
- Set terms
- apply operations on variables and constants
Example: ∅ ∪ (Sc ∩ (T ∪ R)c) Set constraints: S = T or S ⊆ T
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 2 / 5
QFBAPA Quantifier-Free Boolean Algebra with Presburger Arithmetics Step 1. Boolean algebra of sets.
- Set variables: S, T, . . .
- Special set constants: ∅, U
- Boolean operators: ∩, ∪, ·c
- Set terms
- apply operations on variables and constants
Example: ∅ ∪ (Sc ∩ (T ∪ R)c) Set constraints: S = T or S ⊆ T (for set terms S, T)
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 2 / 5
QFBAPA Quantifier-Free Boolean Algebra with Presburger Arithmetics Step 1. Boolean algebra of sets.
- Set variables: S, T, . . .
- Special set constants: ∅, U
- Boolean operators: ∩, ∪, ·c
- Set terms
- apply operations on variables and constants
Example: ∅ ∪ (Sc ∩ (T ∪ R)c) Set constraints: S = T or S ⊆ T (for set terms S, T) ⊆ Rc ∩ (S ∪ U)
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 2 / 5
QFBAPA Quantifier-Free Boolean Algebra with Presburger Arithmetics Step 1. Boolean algebra of sets.
- Set variables: S, T, . . .
- Special set constants: ∅, U
- Boolean operators: ∩, ∪, ·c
- Set terms
- apply operations on variables and constants
Example: ∅ ∪ (Sc ∩ (T ∪ R)c) Set constraints: S = T or S ⊆ T (for set terms S, T) ⊆ Rc ∩ (S ∪ U) Step 2. Presburger arithmetics (PA).
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 2 / 5
QFBAPA Quantifier-Free Boolean Algebra with Presburger Arithmetics Step 1. Boolean algebra of sets.
- Set variables: S, T, . . .
- Special set constants: ∅, U
- Boolean operators: ∩, ∪, ·c
- Set terms
- apply operations on variables and constants
Example: ∅ ∪ (Sc ∩ (T ∪ R)c) Set constraints: S = T or S ⊆ T (for set terms S, T) ⊆ Rc ∩ (S ∪ U) Step 2. Presburger arithmetics (PA).
- Integer constants: .., −1, 0, 1, 2, ..
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 2 / 5
QFBAPA Quantifier-Free Boolean Algebra with Presburger Arithmetics Step 1. Boolean algebra of sets.
- Set variables: S, T, . . .
- Special set constants: ∅, U
- Boolean operators: ∩, ∪, ·c
- Set terms
- apply operations on variables and constants
Example: ∅ ∪ (Sc ∩ (T ∪ R)c) Set constraints: S = T or S ⊆ T (for set terms S, T) ⊆ Rc ∩ (S ∪ U) Step 2. Presburger arithmetics (PA).
- Integer constants: .., −1, 0, 1, 2, ..
- Set cardinalities constants: |S|
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 2 / 5
QFBAPA Quantifier-Free Boolean Algebra with Presburger Arithmetics Step 1. Boolean algebra of sets.
- Set variables: S, T, . . .
- Special set constants: ∅, U
- Boolean operators: ∩, ∪, ·c
- Set terms
- apply operations on variables and constants
Example: ∅ ∪ (Sc ∩ (T ∪ R)c) Set constraints: S = T or S ⊆ T (for set terms S, T) ⊆ Rc ∩ (S ∪ U) Step 2. Presburger arithmetics (PA).
- Integer constants: .., −1, 0, 1, 2, ..
- Set cardinalities constants: |S|
(S is a set term)
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 2 / 5
QFBAPA Quantifier-Free Boolean Algebra with Presburger Arithmetics Step 1. Boolean algebra of sets.
- Set variables: S, T, . . .
- Special set constants: ∅, U
- Boolean operators: ∩, ∪, ·c
- Set terms
- apply operations on variables and constants
Example: ∅ ∪ (Sc ∩ (T ∪ R)c) Set constraints: S = T or S ⊆ T (for set terms S, T) ⊆ Rc ∩ (S ∪ U) Step 2. Presburger arithmetics (PA).
- Integer constants: .., −1, 0, 1, 2, ..
- Set cardinalities constants: |S|
(S is a set term)
- PA expressions E, E ′ are
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 2 / 5
QFBAPA Quantifier-Free Boolean Algebra with Presburger Arithmetics Step 1. Boolean algebra of sets.
- Set variables: S, T, . . .
- Special set constants: ∅, U
- Boolean operators: ∩, ∪, ·c
- Set terms
- apply operations on variables and constants
Example: ∅ ∪ (Sc ∩ (T ∪ R)c) Set constraints: S = T or S ⊆ T (for set terms S, T) ⊆ Rc ∩ (S ∪ U) Step 2. Presburger arithmetics (PA).
- Integer constants: .., −1, 0, 1, 2, ..
- Set cardinalities constants: |S|
(S is a set term)
- PA expressions E, E ′ are N · |S| (set term S, N ∈ Z) or
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 2 / 5
QFBAPA Quantifier-Free Boolean Algebra with Presburger Arithmetics Step 1. Boolean algebra of sets.
- Set variables: S, T, . . .
- Special set constants: ∅, U
- Boolean operators: ∩, ∪, ·c
- Set terms
- apply operations on variables and constants
Example: ∅ ∪ (Sc ∩ (T ∪ R)c) Set constraints: S = T or S ⊆ T (for set terms S, T) ⊆ Rc ∩ (S ∪ U) Step 2. Presburger arithmetics (PA).
- Integer constants: .., −1, 0, 1, 2, ..
- Set cardinalities constants: |S|
(S is a set term)
- PA expressions E, E ′ are N · |S| (set term S, N ∈ Z) or E + E ′ or
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 2 / 5
QFBAPA Quantifier-Free Boolean Algebra with Presburger Arithmetics Step 1. Boolean algebra of sets.
- Set variables: S, T, . . .
- Special set constants: ∅, U
- Boolean operators: ∩, ∪, ·c
- Set terms
- apply operations on variables and constants
Example: ∅ ∪ (Sc ∩ (T ∪ R)c) Set constraints: S = T or S ⊆ T (for set terms S, T) ⊆ Rc ∩ (S ∪ U) Step 2. Presburger arithmetics (PA).
- Integer constants: .., −1, 0, 1, 2, ..
- Set cardinalities constants: |S|
(S is a set term)
- PA expressions E, E ′ are N · |S| (set term S, N ∈ Z) or E + E ′ or
N
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 2 / 5
QFBAPA Quantifier-Free Boolean Algebra with Presburger Arithmetics Step 1. Boolean algebra of sets.
- Set variables: S, T, . . .
- Special set constants: ∅, U
- Boolean operators: ∩, ∪, ·c
- Set terms
- apply operations on variables and constants
Example: ∅ ∪ (Sc ∩ (T ∪ R)c) Set constraints: S = T or S ⊆ T (for set terms S, T) ⊆ Rc ∩ (S ∪ U) Step 2. Presburger arithmetics (PA).
- Integer constants: .., −1, 0, 1, 2, ..
- Set cardinalities constants: |S|
(S is a set term)
- PA expressions E, E ′ are N · |S| (set term S, N ∈ Z) or E + E ′ or
N Example: 2 · |T c ∪ S| + (−3) · |U ∩ S|
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 2 / 5
QFBAPA Quantifier-Free Boolean Algebra with Presburger Arithmetics Step 1. Boolean algebra of sets.
- Set variables: S, T, . . .
- Special set constants: ∅, U
- Boolean operators: ∩, ∪, ·c
- Set terms
- apply operations on variables and constants
Example: ∅ ∪ (Sc ∩ (T ∪ R)c) Set constraints: S = T or S ⊆ T (for set terms S, T) ⊆ Rc ∩ (S ∪ U) Step 2. Presburger arithmetics (PA).
- Integer constants: .., −1, 0, 1, 2, ..
- Set cardinalities constants: |S|
(S is a set term)
- PA expressions E, E ′ are N · |S| (set term S, N ∈ Z) or E + E ′ or
N Example: 2 · |T c ∪ S| + (−3) · |U ∩ S| Cardinality constraints: E = E ′, E < E ′, N dvd E ′
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 2 / 5
QFBAPA Quantifier-Free Boolean Algebra with Presburger Arithmetics Step 1. Boolean algebra of sets.
- Set variables: S, T, . . .
- Special set constants: ∅, U
- Boolean operators: ∩, ∪, ·c
- Set terms
- apply operations on variables and constants
Example: ∅ ∪ (Sc ∩ (T ∪ R)c) Set constraints: S = T or S ⊆ T (for set terms S, T) ⊆ Rc ∩ (S ∪ U) Step 2. Presburger arithmetics (PA).
- Integer constants: .., −1, 0, 1, 2, ..
- Set cardinalities constants: |S|
(S is a set term)
- PA expressions E, E ′ are N · |S| (set term S, N ∈ Z) or E + E ′ or
N Example: 2 · |T c ∪ S| + (−3) · |U ∩ S| Cardinality constraints: E = E ′, E < E ′, N dvd E ′ 5 dvd
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 2 / 5
QFBAPA Quantifier-Free Boolean Algebra with Presburger Arithmetics Step 1. Boolean algebra of sets.
- Set variables: S, T, . . .
- Special set constants: ∅, U
- Boolean operators: ∩, ∪, ·c
- Set terms
- apply operations on variables and constants
Example: ∅ ∪ (Sc ∩ (T ∪ R)c) Set constraints: S = T or S ⊆ T (for set terms S, T) ⊆ Rc ∩ (S ∪ U) Step 2. Presburger arithmetics (PA).
- Integer constants: .., −1, 0, 1, 2, ..
- Set cardinalities constants: |S|
(S is a set term)
- PA expressions E, E ′ are N · |S| (set term S, N ∈ Z) or E + E ′ or
N Example: 2 · |T c ∪ S| + (−3) · |U ∩ S| Cardinality constraints: E = E ′, E < E ′, N dvd E ′ 5 dvd QFBAPA formula =
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 2 / 5
QFBAPA Quantifier-Free Boolean Algebra with Presburger Arithmetics Step 1. Boolean algebra of sets.
- Set variables: S, T, . . .
- Special set constants: ∅, U
- Boolean operators: ∩, ∪, ·c
- Set terms
- apply operations on variables and constants
Example: ∅ ∪ (Sc ∩ (T ∪ R)c) Set constraints: S = T or S ⊆ T (for set terms S, T) ⊆ Rc ∩ (S ∪ U) Step 2. Presburger arithmetics (PA).
- Integer constants: .., −1, 0, 1, 2, ..
- Set cardinalities constants: |S|
(S is a set term)
- PA expressions E, E ′ are N · |S| (set term S, N ∈ Z) or E + E ′ or
N Example: 2 · |T c ∪ S| + (−3) · |U ∩ S| Cardinality constraints: E = E ′, E < E ′, N dvd E ′ 5 dvd QFBAPA formula = boolean combination of
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 2 / 5
QFBAPA Quantifier-Free Boolean Algebra with Presburger Arithmetics Step 1. Boolean algebra of sets.
- Set variables: S, T, . . .
- Special set constants: ∅, U
- Boolean operators: ∩, ∪, ·c
- Set terms
- apply operations on variables and constants
Example: ∅ ∪ (Sc ∩ (T ∪ R)c) Set constraints: S = T or S ⊆ T (for set terms S, T) ⊆ Rc ∩ (S ∪ U) Step 2. Presburger arithmetics (PA).
- Integer constants: .., −1, 0, 1, 2, ..
- Set cardinalities constants: |S|
(S is a set term)
- PA expressions E, E ′ are N · |S| (set term S, N ∈ Z) or E + E ′ or
N Example: 2 · |T c ∪ S| + (−3) · |U ∩ S| Cardinality constraints: E = E ′, E < E ′, N dvd E ′ 5 dvd QFBAPA formula = boolean combination of set and cardinality constraints
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 2 / 5
ALC extended with QFBAPA: ALCSCC++
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 3 / 5
ALC extended with QFBAPA: ALCSCC++
d1 d2
hasParent Male, Diety Female
I = ∆I = {d1, d2}
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 3 / 5
ALC extended with QFBAPA: ALCSCC++
d1 d2
hasParent Male, Diety Female
I = ∆I = {d1, d2}
- 1. Atomic concepts: Diety, Male, Female, Mortal . . . ⊆ ∆I
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 3 / 5
ALC extended with QFBAPA: ALCSCC++
d1 d2
hasParent Male, Diety Female
I = ∆I = {d1, d2}
- 1. Atomic concepts: Diety, Male, Female, Mortal . . . ⊆ ∆I
DietyI = {d1}, FemaleI = {d2},
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 3 / 5
ALC extended with QFBAPA: ALCSCC++
d1 d2
hasParent Male, Diety Female
I = ∆I = {d1, d2}
- 1. Atomic concepts: Diety, Male, Female, Mortal . . . ⊆ ∆I
DietyI = {d1}, FemaleI = {d2},
- 2. Roles: hasParent, hasChildren . . . ⊆ ∆I × ∆I
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 3 / 5
ALC extended with QFBAPA: ALCSCC++
d1 d2
hasParent Male, Diety Female
I = ∆I = {d1, d2}
- 1. Atomic concepts: Diety, Male, Female, Mortal . . . ⊆ ∆I
DietyI = {d1}, FemaleI = {d2},
- 2. Roles: hasParent, hasChildren . . . ⊆ ∆I × ∆I
hasParentI = {(d1, d2)}
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 3 / 5
ALC extended with QFBAPA: ALCSCC++
d1 d2
hasParent Male, Diety Female
I = ∆I = {d1, d2}
- 1. Atomic concepts: Diety, Male, Female, Mortal . . . ⊆ ∆I
DietyI = {d1}, FemaleI = {d2},
- 2. Roles: hasParent, hasChildren . . . ⊆ ∆I × ∆I
hasParentI = {(d1, d2)}
- 3. Boolean combination of concepts: Diety ⊓ Male, Diety ⊔ Mortal, ¬Mortal
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 3 / 5
ALC extended with QFBAPA: ALCSCC++
d1 d2
hasParent Male, Diety Female
I = ∆I = {d1, d2}
- 1. Atomic concepts: Diety, Male, Female, Mortal . . . ⊆ ∆I
DietyI = {d1}, FemaleI = {d2},
- 2. Roles: hasParent, hasChildren . . . ⊆ ∆I × ∆I
hasParentI = {(d1, d2)}
- 3. Boolean combination of concepts: Diety ⊓ Male, Diety ⊔ Mortal, ¬Mortal
(Male ⊓ Diety)I = {d1}, (Male ⊔ Female)I = {d1, d2}
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 3 / 5
ALC extended with QFBAPA: ALCSCC++
d1 d2
hasParent Male, Diety Female
I = ∆I = {d1, d2}
- 1. Atomic concepts: Diety, Male, Female, Mortal . . . ⊆ ∆I
DietyI = {d1}, FemaleI = {d2},
- 2. Roles: hasParent, hasChildren . . . ⊆ ∆I × ∆I
hasParentI = {(d1, d2)}
- 3. Boolean combination of concepts: Diety ⊓ Male, Diety ⊔ Mortal, ¬Mortal
(Male ⊓ Diety)I = {d1}, (Male ⊔ Female)I = {d1, d2}
- 4. Existential restriction: ∃hasParent.Female
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 3 / 5
ALC extended with QFBAPA: ALCSCC++
d1 d2
hasParent Male, Diety Female
I = ∆I = {d1, d2}
- 1. Atomic concepts: Diety, Male, Female, Mortal . . . ⊆ ∆I
DietyI = {d1}, FemaleI = {d2},
- 2. Roles: hasParent, hasChildren . . . ⊆ ∆I × ∆I
hasParentI = {(d1, d2)}
- 3. Boolean combination of concepts: Diety ⊓ Male, Diety ⊔ Mortal, ¬Mortal
(Male ⊓ Diety)I = {d1}, (Male ⊔ Female)I = {d1, d2}
- 4. Existential restriction: ∃hasParent.Female
(∃hasParent.Female)I = {d1}
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 3 / 5
ALC extended with QFBAPA: ALCSCC++
d1 d2
hasParent Male, Diety Female
I = ∆I = {d1, d2}
- 1. Atomic concepts: Diety, Male, Female, Mortal . . . ⊆ ∆I
DietyI = {d1}, FemaleI = {d2},
- 2. Roles: hasParent, hasChildren . . . ⊆ ∆I × ∆I
hasParentI = {(d1, d2)}
- 3. Boolean combination of concepts: Diety ⊓ Male, Diety ⊔ Mortal, ¬Mortal
(Male ⊓ Diety)I = {d1}, (Male ⊔ Female)I = {d1, d2}
- 4. Existential restriction: ∃hasParent.Female
(∃hasParent.Female)I = {d1}
- 5. QFBAPA expressions: sat(Set/Cardinality Constraint)
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 3 / 5
ALC extended with QFBAPA: ALCSCC++
d1 d2
hasParent Male, Diety Female
I = ∆I = {d1, d2}
- 1. Atomic concepts: Diety, Male, Female, Mortal . . . ⊆ ∆I
DietyI = {d1}, FemaleI = {d2},
- 2. Roles: hasParent, hasChildren . . . ⊆ ∆I × ∆I
hasParentI = {(d1, d2)}
- 3. Boolean combination of concepts: Diety ⊓ Male, Diety ⊔ Mortal, ¬Mortal
(Male ⊓ Diety)I = {d1}, (Male ⊔ Female)I = {d1, d2}
- 4. Existential restriction: ∃hasParent.Female
(∃hasParent.Female)I = {d1}
- 5. QFBAPA expressions: sat(Set/Cardinality Constraint)
We use role/concept names in place of set variables.
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 3 / 5
ALC extended with QFBAPA: examples
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 4 / 5
ALC extended with QFBAPA: examples Roles are interpreted locally but concepts are interpreted globally.
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 4 / 5
ALC extended with QFBAPA: examples Roles are interpreted locally but concepts are interpreted globally. Zeus has at least 13 children
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 4 / 5
ALC extended with QFBAPA: examples Roles are interpreted locally but concepts are interpreted globally. Zeus has at least 13 children
- Number restrictions: ZeusI ∈ sat(|hasChildren| ≥ 13)
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 4 / 5
ALC extended with QFBAPA: examples Roles are interpreted locally but concepts are interpreted globally. Zeus has at least 13 children
- Number restrictions: ZeusI ∈ sat(|hasChildren| ≥ 13)
There is only one KingOfGods and there are exactly 12 Titans.
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 4 / 5
ALC extended with QFBAPA: examples Roles are interpreted locally but concepts are interpreted globally. Zeus has at least 13 children
- Number restrictions: ZeusI ∈ sat(|hasChildren| ≥ 13)
There is only one KingOfGods and there are exactly 12 Titans.
- Nominals: sat(|KingOfGods| = 1), sat(|Titan| = 12)
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 4 / 5
ALC extended with QFBAPA: examples Roles are interpreted locally but concepts are interpreted globally. Zeus has at least 13 children
- Number restrictions: ZeusI ∈ sat(|hasChildren| ≥ 13)
There is only one KingOfGods and there are exactly 12 Titans.
- Nominals: sat(|KingOfGods| = 1), sat(|Titan| = 12)
No more than 40% of Zeus’ children are Male?
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 4 / 5
ALC extended with QFBAPA: examples Roles are interpreted locally but concepts are interpreted globally. Zeus has at least 13 children
- Number restrictions: ZeusI ∈ sat(|hasChildren| ≥ 13)
There is only one KingOfGods and there are exactly 12 Titans.
- Nominals: sat(|KingOfGods| = 1), sat(|Titan| = 12)
No more than 40% of Zeus’ children are Male?
- KingOfGods ⊑ sat(|hasChildren ⊓ Male| ≤ 0.4|hasChildren|)
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 4 / 5
ALC extended with QFBAPA: examples Roles are interpreted locally but concepts are interpreted globally. Zeus has at least 13 children
- Number restrictions: ZeusI ∈ sat(|hasChildren| ≥ 13)
There is only one KingOfGods and there are exactly 12 Titans.
- Nominals: sat(|KingOfGods| = 1), sat(|Titan| = 12)
No more than 40% of Zeus’ children are Male?
- KingOfGods ⊑ sat(|hasChildren ⊓ Male| ≤ 0.4|hasChildren|)
Roles hasParent and hasChildren are disjoint.
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 4 / 5
ALC extended with QFBAPA: examples Roles are interpreted locally but concepts are interpreted globally. Zeus has at least 13 children
- Number restrictions: ZeusI ∈ sat(|hasChildren| ≥ 13)
There is only one KingOfGods and there are exactly 12 Titans.
- Nominals: sat(|KingOfGods| = 1), sat(|Titan| = 12)
No more than 40% of Zeus’ children are Male?
- KingOfGods ⊑ sat(|hasChildren ⊓ Male| ≤ 0.4|hasChildren|)
Roles hasParent and hasChildren are disjoint.
- sat(⊤ ⊆ sat(hasParent ∩ hasChildren ⊆ ∅))
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 4 / 5
ALC extended with QFBAPA: examples Roles are interpreted locally but concepts are interpreted globally. Zeus has at least 13 children
- Number restrictions: ZeusI ∈ sat(|hasChildren| ≥ 13)
There is only one KingOfGods and there are exactly 12 Titans.
- Nominals: sat(|KingOfGods| = 1), sat(|Titan| = 12)
No more than 40% of Zeus’ children are Male?
- KingOfGods ⊑ sat(|hasChildren ⊓ Male| ≤ 0.4|hasChildren|)
Roles hasParent and hasChildren are disjoint.
- sat(⊤ ⊆ sat(hasParent ∩ hasChildren ⊆ ∅))
A role r is universal, i.e. r I = ∆I × ∆I
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 4 / 5
ALC extended with QFBAPA: examples Roles are interpreted locally but concepts are interpreted globally. Zeus has at least 13 children
- Number restrictions: ZeusI ∈ sat(|hasChildren| ≥ 13)
There is only one KingOfGods and there are exactly 12 Titans.
- Nominals: sat(|KingOfGods| = 1), sat(|Titan| = 12)
No more than 40% of Zeus’ children are Male?
- KingOfGods ⊑ sat(|hasChildren ⊓ Male| ≤ 0.4|hasChildren|)
Roles hasParent and hasChildren are disjoint.
- sat(⊤ ⊆ sat(hasParent ∩ hasChildren ⊆ ∅))
A role r is universal, i.e. r I = ∆I × ∆I
- sat(⊤ ⊆ sat(|r| = |U|))
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 4 / 5
Our results
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 5 / 5
Our results Theorem The satisfiability problem for ALCSCC++ is NExpTime-complete.
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 5 / 5
Our results Theorem The satisfiability problem for ALCSCC++ is NExpTime-complete. Theorem Conjunctive query answering is undecidable for ALCSCC++.
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 5 / 5
Our results Theorem The satisfiability problem for ALCSCC++ is NExpTime-complete. Theorem Conjunctive query answering is undecidable for ALCSCC++. Theorem The satisfiability problem for ALCSCC++ with inverses is undecidable.
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 5 / 5
Our results Theorem The satisfiability problem for ALCSCC++ is NExpTime-complete. Theorem Conjunctive query answering is undecidable for ALCSCC++. Theorem The satisfiability problem for ALCSCC++ with inverses is undecidable. Theorem If global constraints are properly restrained we obtain ExpTime-completeness
- f both satisfiability problem and CQ entailment.
- B. Bednarczyk, F. Baader, S. Rudolph
SAT and CQs for DLs with Global&Local Cardinality Constr. 5 / 5