Chase-Based Computation of Cores for Existential Rules
Lukas Gerlach
Knowledge-Based Systems Group Technische Universit ¨at Dresden
16.09.2021
Existential Rules
∀ ~ x ∀ ~ y .Body( ~ x , ~ y ) → ∃ ~ z.Head( ~ x , ~ z )
• Body andHead: conjunctions of atoms
• ~x, ~y, ~z: pairwise disjoint lists of variables
Pizza(x) → ∃z.SameDeliverer(x , z) ∧ Pizza(z ) WeeklyOrder(y , x) → ∃z.WeeklyOrder(x , z)
Pizza(x) ∧ WeeklyOrder(x , y) → Pizza(y) ∧ SameDeliverer(x , y)
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Existential Rules
∀ ~ x ∀ ~ y .Body( ~ x , ~ y ) → ∃ ~ z.Head( ~ x , ~ z )
• Body andHead: conjunctions of atoms
• ~x, ~y, ~z: pairwise disjoint lists of variables
Pizza(x) → ∃z.SameDeliverer(x , z) ∧ Pizza(z ) WeeklyOrder(y , x) → ∃z.WeeklyOrder(x , z)
Pizza(x) ∧ WeeklyOrder(x , y) → Pizza(y) ∧ SameDeliverer(x , y)
Existential Rules
∀ ~ x ∀ ~ y .Body( ~ x , ~ y ) → ∃ ~ z.Head( ~ x , ~ z )
• Body andHead: conjunctions of atoms
• ~x, ~y, ~z: pairwise disjoint lists of variables
Pizza(x) → ∃z.SameDeliverer(x , z) ∧ Pizza(z)
WeeklyOrder(y , x) → ∃z.WeeklyOrder(x , z)
Pizza(x) ∧ WeeklyOrder(x , y) → Pizza(y) ∧ SameDeliverer(x , y)
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Existential Rules
∀ ~ x ∀ ~ y .Body( ~ x , ~ y ) → ∃ ~ z.Head( ~ x , ~ z )
• Body andHead: conjunctions of atoms
• ~x, ~y, ~z: pairwise disjoint lists of variables
Pizza(x) → ∃z.SameDeliverer(x , z) ∧ Pizza(z) WeeklyOrder(y , x) → ∃z.WeeklyOrder(x , z)
Pizza(x) ∧ WeeklyOrder(x , y) → Pizza(y) ∧ SameDeliverer(x , y)
Existential Rules
∀ ~ x ∀ ~ y .Body( ~ x , ~ y ) → ∃ ~ z.Head( ~ x , ~ z )
• Body andHead: conjunctions of atoms
• ~x, ~y, ~z: pairwise disjoint lists of variables
Pizza(x) → ∃z.SameDeliverer(x , z) ∧ Pizza(z) WeeklyOrder(y , x) → ∃z.WeeklyOrder(x , z)
Pizza(x) ∧ WeeklyOrder(x , y) → Pizza(y) ∧ SameDeliverer(x , y)
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Chasing a Universal Core Model
Pizza(x)→ ∃z.SameDeliverer(x,z)∧Pizza(z) WeeklyOrder(y,x)→ ∃z.WeeklyOrder(x,z)
Pizza(x)∧WeeklyOrder(x,y)→Pizza(y)∧SameDeliverer(x,y)
order1:Pizza n1:Pizza SameDeliverer
n2:Pizza SameDeliverer
order2
:Pizza
WeeklyOrder
n3
:Pizza
WeeklyOrder SameDeliverer
n4:Pizza SameDeliverer
SameDeliverer
. . . .
Therestricted chaseand it yields auniversal model. Thecore chaseand it yields auniversal core model.
Withoutalternative matches, therestricted chasealso yields auniversal core model.
Chasing a Universal Core Model
Pizza(x)→ ∃z.SameDeliverer(x,z)∧Pizza(z) WeeklyOrder(y,x)→ ∃z.WeeklyOrder(x,z)
Pizza(x)∧WeeklyOrder(x,y)→Pizza(y)∧SameDeliverer(x,y)
order1:Pizza
n1:Pizza SameDeliverer
n2:Pizza SameDeliverer
order2
:Pizza
WeeklyOrder
n3
:Pizza
WeeklyOrder SameDeliverer
n4:Pizza SameDeliverer
SameDeliverer
. . . .
Therestricted chaseand it yields auniversal model. Thecore chaseand it yields auniversal core model.
Withoutalternative matches, therestricted chasealso yields auniversal core model.
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Chasing a Universal Core Model
Pizza(x)→ ∃z.SameDeliverer(x,z)∧Pizza(z) WeeklyOrder(y,x)→ ∃z.WeeklyOrder(x,z)
Pizza(x)∧WeeklyOrder(x,y)→Pizza(y)∧SameDeliverer(x,y)
order1:Pizza n1:Pizza SameDeliverer
n2:Pizza SameDeliverer
order2
:Pizza
WeeklyOrder
n3
:Pizza
WeeklyOrder SameDeliverer
n4:Pizza SameDeliverer
SameDeliverer
. . . .
Therestricted chaseand it yields auniversal model. Thecore chaseand it yields auniversal core model.
Withoutalternative matches, therestricted chasealso yields auniversal core model.
Chasing a Universal Core Model
Pizza(x)→ ∃z.SameDeliverer(x,z)∧Pizza(z) WeeklyOrder(y,x)→ ∃z.WeeklyOrder(x,z)
Pizza(x)∧WeeklyOrder(x,y)→Pizza(y)∧SameDeliverer(x,y)
order1:Pizza n1:Pizza SameDeliverer
n2:Pizza SameDeliverer
order2
:Pizza
WeeklyOrder
n3
:Pizza
WeeklyOrder SameDeliverer
n4:Pizza SameDeliverer
SameDeliverer
. . . .
Therestricted chaseand it yields auniversal model. Thecore chaseand it yields auniversal core model.
Withoutalternative matches, therestricted chasealso yields auniversal core model.
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Chasing a Universal Core Model
Pizza(x)→ ∃z.SameDeliverer(x,z)∧Pizza(z) WeeklyOrder(y,x)→ ∃z.WeeklyOrder(x,z)
Pizza(x)∧WeeklyOrder(x,y)→Pizza(y)∧SameDeliverer(x,y)
order1:Pizza n1:Pizza SameDeliverer
n2:Pizza SameDeliverer
order2
:Pizza
WeeklyOrder
n3
:Pizza
WeeklyOrder
SameDeliverer
n4:Pizza SameDeliverer
SameDeliverer
. . . .
Therestricted chaseand it yields auniversal model. Thecore chaseand it yields auniversal core model.
Withoutalternative matches, therestricted chasealso yields auniversal core model.
Chasing a Universal Core Model
Pizza(x)→ ∃z.SameDeliverer(x,z)∧Pizza(z) WeeklyOrder(y,x)→ ∃z.WeeklyOrder(x,z)
Pizza(x)∧WeeklyOrder(x,y)→Pizza(y)∧SameDeliverer(x,y)
order1:Pizza n1:Pizza SameDeliverer
n2:Pizza SameDeliverer
order2:Pizza WeeklyOrder
n3
:Pizza
WeeklyOrder SameDeliverer
n4:Pizza SameDeliverer
SameDeliverer
. . . .
Therestricted chaseand it yields auniversal model. Thecore chaseand it yields auniversal core model.
Withoutalternative matches, therestricted chasealso yields auniversal core model.
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Chasing a Universal Core Model
Pizza(x)→ ∃z.SameDeliverer(x,z)∧Pizza(z) WeeklyOrder(y,x)→ ∃z.WeeklyOrder(x,z)
Pizza(x)∧WeeklyOrder(x,y)→Pizza(y)∧SameDeliverer(x,y)
order1:Pizza n1:Pizza SameDeliverer
n2:Pizza SameDeliverer
order2:Pizza WeeklyOrder
n3
:Pizza
WeeklyOrder SameDeliverer
n4:Pizza SameDeliverer
SameDeliverer
. . . .
Therestricted chaseand it yields auniversal model. Thecore chaseand it yields auniversal core model.
Withoutalternative matches, therestricted chasealso yields auniversal core model.
Chasing a Universal Core Model
Pizza(x)→ ∃z.SameDeliverer(x,z)∧Pizza(z) WeeklyOrder(y,x)→ ∃z.WeeklyOrder(x,z)
Pizza(x)∧WeeklyOrder(x,y)→Pizza(y)∧SameDeliverer(x,y)
order1:Pizza n1:Pizza SameDeliverer
n2:Pizza SameDeliverer
order2:Pizza WeeklyOrder
n3:Pizza WeeklyOrder
SameDeliverer
n4:Pizza SameDeliverer
SameDeliverer
. . . .
Therestricted chaseand it yields auniversal model. Thecore chaseand it yields auniversal core model.
Withoutalternative matches, therestricted chasealso yields auniversal core model.
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Chasing a Universal Core Model
Pizza(x)→ ∃z.SameDeliverer(x,z)∧Pizza(z) WeeklyOrder(y,x)→ ∃z.WeeklyOrder(x,z)
Pizza(x)∧WeeklyOrder(x,y)→Pizza(y)∧SameDeliverer(x,y)
order1:Pizza n1:Pizza SameDeliverer
n2:Pizza SameDeliverer
order2:Pizza WeeklyOrder
n3:Pizza WeeklyOrder
SameDeliverer
n4:Pizza SameDeliverer
SameDeliverer
. . . .
Therestricted chaseand it yields auniversal model. Thecore chaseand it yields auniversal core model.
Withoutalternative matches, therestricted chasealso yields auniversal core model.
Chasing a Universal Core Model
Pizza(x)→ ∃z.SameDeliverer(x,z)∧Pizza(z) WeeklyOrder(y,x)→ ∃z.WeeklyOrder(x,z)
Pizza(x)∧WeeklyOrder(x,y)→Pizza(y)∧SameDeliverer(x,y)
order1:Pizza n1:Pizza SameDeliverer
n2:Pizza SameDeliverer
order2:Pizza WeeklyOrder
n3:Pizza WeeklyOrder
SameDeliverer
n4:Pizza SameDeliverer
SameDeliverer
. . . .
Therestricted chaseand it yields auniversal model.
Thecore chaseand it yields auniversal core model.
Withoutalternative matches, therestricted chasealso yields auniversal core model.
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Chasing a Universal Core Model
Pizza(x)→ ∃z.SameDeliverer(x,z)∧Pizza(z) WeeklyOrder(y,x)→ ∃z.WeeklyOrder(x,z)
Pizza(x)∧WeeklyOrder(x,y)→Pizza(y)∧SameDeliverer(x,y)
order1:Pizza n1:Pizza SameDeliverer
n2:Pizza SameDeliverer
order2:Pizza WeeklyOrder
n3:Pizza WeeklyOrder
SameDeliverer
n4:Pizza SameDeliverer
SameDeliverer
. . . .
Therestricted chaseand it yields auniversal model.
Thecore chaseand it yields auniversal core model.
Withoutalternative matches, therestricted chasealso yields auniversal core model.
Chasing a Universal Core Model
Pizza(x)→ ∃z.SameDeliverer(x,z)∧Pizza(z) WeeklyOrder(y,x)→ ∃z.WeeklyOrder(x,z)
Pizza(x)∧WeeklyOrder(x,y)→Pizza(y)∧SameDeliverer(x,y)
order1:Pizza n1:Pizza SameDeliverer
n2:Pizza SameDeliverer
order2:Pizza WeeklyOrder
n3:Pizza WeeklyOrder
SameDeliverer
n4:Pizza SameDeliverer
SameDeliverer
. . . .
Therestricted chaseand it yields auniversal model.
Thecore chaseand it yields auniversal core model.
Withoutalternative matches, therestricted chasealso yields auniversal core model.
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Some Rule Set Classifications
R∈CTres∀∃
For the rule setRandallstarting fact sets,somerestrictedchase sequence terminates.
CTres∀∀ ⊂CTres∀∃⊂CTcore∀ Each of these classes is undecidable.
R∈AM∀∃
For the rule setRandallstarting fact sets,somerestricted chase sequence does not have an alternative match.
AM∀∀⊂AM∀∃
AM∀∃is undecidable whereas AM∀∀is decidable.
Some Rule Set Classifications
R∈CTres∀∃
For the rule setRandallstarting fact sets,somerestrictedchase sequence terminates.
CTres∀∀ ⊂CTres∀∃⊂CTcore∀
Each of these classes is undecidable.
R∈AM∀∃
For the rule setRandallstarting fact sets,somerestricted chase sequence does not have an alternative match.
AM∀∀⊂AM∀∃
AM∀∃is undecidable whereas AM∀∀is decidable.
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Some Rule Set Classifications
R∈CTres∀∃
For the rule setRandallstarting fact sets,somerestrictedchase sequence terminates.
CTres∀∀ ⊂CTres∀∃⊂CTcore∀ Each of these classes is undecidable.
R∈AM∀∃
For the rule setRandallstarting fact sets,somerestricted chase sequence does not have an alternative match.
AM∀∀⊂AM∀∃
AM∀∃is undecidable whereas AM∀∀is decidable.
Some Rule Set Classifications
R∈CTres∀∃
For the rule setRandallstarting fact sets,somerestrictedchase sequence terminates.
CTres∀∀ ⊂CTres∀∃⊂CTcore∀ Each of these classes is undecidable.
R∈AM∀∃
For the rule setRandallstarting fact sets,somerestricted chase sequence does not have an alternative match.
AM∀∀⊂AM∀∃
AM∀∃is undecidable whereas AM∀∀is decidable.
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Some Rule Set Classifications
R∈CTres∀∃
For the rule setRandallstarting fact sets,somerestrictedchase sequence terminates.
CTres∀∀ ⊂CTres∀∃⊂CTcore∀ Each of these classes is undecidable.
R∈AM∀∃
For the rule setRandallstarting fact sets,somerestricted chase sequence does not have an alternative match.
AM∀∀⊂AM∀∃
AM∀∃is undecidable whereas AM∀∀is decidable.
Some Rule Set Classifications
R∈CTres∀∃
For the rule setRandallstarting fact sets,somerestrictedchase sequence terminates.
CTres∀∀ ⊂CTres∀∃⊂CTcore∀ Each of these classes is undecidable.
R∈AM∀∃
For the rule setRandallstarting fact sets,somerestricted chase sequence does not have an alternative match.
AM∀∀⊂AM∀∃
AM∀∃is undecidable whereas AM∀∀is decidable.
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Relations between Rules [Kr ¨otzsch, 2020]
Definition
A ruleρrestrainsa ruleρ0, writtenρ≺ρ0, if the application ofρafterρ0may introduce an alternative match forρ0.
Proposition
Consider a chase. If for each ruleρ, all rulesρ0withρ0≺ρare applied exhaustively beforeρ, then the chase does not have an alternative match.
Proposition
A rule setRdoes not have restraining relations iffR∈AM∀∀.
If we respect restraining relations, we find a restricted chase sequence that yields a core.
Relations between Rules [Kr ¨otzsch, 2020]
Definition
A ruleρrestrainsa ruleρ0, writtenρ≺ρ0, if the application ofρafterρ0may introduce an alternative match forρ0.
Proposition
Consider a chase. If for each ruleρ, all rulesρ0withρ0≺ρare applied exhaustively beforeρ, then the chase does not have an alternative match.
Proposition
A rule setRdoes not have restraining relations iffR∈AM∀∀.
If we respect restraining relations, we find a restricted chase sequence that yields a core.
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Relations between Rules [Kr ¨otzsch, 2020]
Definition
A ruleρrestrainsa ruleρ0, writtenρ≺ρ0, if the application ofρafterρ0may introduce an alternative match forρ0.
Proposition
Consider a chase. If for each ruleρ, all rulesρ0withρ0≺ρare applied exhaustively beforeρ, then the chase does not have an alternative match.
Proposition
A rule setRdoes not have restraining relations iffR∈AM∀∀.
If we respect restraining relations, we find a restricted chase sequence that yields a core.
Relations between Rules [Kr ¨otzsch, 2020]
Definition
A ruleρrestrainsa ruleρ0, writtenρ≺ρ0, if the application ofρafterρ0may introduce an alternative match forρ0.
Proposition
Consider a chase. If for each ruleρ, all rulesρ0withρ0≺ρare applied exhaustively beforeρ, then the chase does not have an alternative match.
Proposition
A rule setRdoes not have restraining relations iffR∈AM∀∀.
If we respect restraining relations, we find a restricted chase sequence that yields a core.
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Relations between Rules [Kr ¨otzsch, 2020]
Definition
A ruleρ0positively relieson a ruleρ, writtenρ≺4ρ0, if the application ofρmay allowρ0to be applied.
Definition
Thedownward closureρ↓of a ruleρis the set containing each ruleρ0for that we find ρ0((≺4)∗◦ ≺)+ρ, i.e.ρ0directly or indirectly restrainsρ.
Definition
A rule set iscore-stratifiedif for every ruleρ, we haveρ /∈ρ↓.
Relations between Rules [Kr ¨otzsch, 2020]
Definition
A ruleρ0positively relieson a ruleρ, writtenρ≺4ρ0, if the application ofρmay allowρ0to be applied.
Definition
Thedownward closureρ↓of a ruleρis the set containing each ruleρ0for that we find ρ0((≺4)∗◦ ≺)+ρ, i.e.ρ0directly or indirectly restrainsρ.
Definition
A rule set iscore-stratifiedif for every ruleρ, we haveρ /∈ρ↓.
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Relations between Rules [Kr ¨otzsch, 2020]
Definition
A ruleρ0positively relieson a ruleρ, writtenρ≺4ρ0, if the application ofρmay allowρ0to be applied.
Definition
Thedownward closureρ↓of a ruleρis the set containing each ruleρ0for that we find ρ0((≺4)∗◦ ≺)+ρ, i.e.ρ0directly or indirectly restrainsρ.
Definition
A rule set iscore-stratifiedif for every ruleρ, we haveρ /∈ρ↓.
The Power of Core Stratification
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Core-Stratification is sufficient for AM ∀∃
Pizza(x)→ ∃z.SameDeliverer(x,z)∧Pizza(z) WeeklyOrder(y,x)→ ∃z.WeeklyOrder(x,z)
Pizza(x)∧WeeklyOrder(x,y)→Pizza(y)∧SameDeliverer(x,y) We findρ3≺ρ1,ρ2≺4ρ3,ρ3≺4ρ1andρi ≺4ρi for everyi ∈ {1,2,3}.
Thus, we haveρ1↓ ={ρ2,ρ3}andρ2↓=ρ3↓ =∅.
Theorem
If a rule set R is core stratified, then R∈AM∀∃.
(OriginallyR∈CTres∀∀is also required [Kr ¨otzsch, 2020].)
Core-Stratification is sufficient for AM ∀∃
Pizza(x)→ ∃z.SameDeliverer(x,z)∧Pizza(z) WeeklyOrder(y,x)→ ∃z.WeeklyOrder(x,z)
Pizza(x)∧WeeklyOrder(x,y)→Pizza(y)∧SameDeliverer(x,y) We findρ3≺ρ1,ρ2≺4ρ3,ρ3≺4ρ1andρi ≺4ρi for everyi ∈ {1,2,3}.
Thus, we haveρ1↓ ={ρ2,ρ3}andρ2↓=ρ3↓ =∅.
Theorem
If a rule set R is core stratified, then R∈AM∀∃.
(OriginallyR∈CTres∀∀is also required [Kr ¨otzsch, 2020].)
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Avoiding Alternative Matches when Chasing
Pizza(x)→ ∃z.SameDeliverer(x,z)∧Pizza(z) (R2) WeeklyOrder(y,x)→ ∃z.WeeklyOrder(x,z) (R1) Pizza(x)∧WeeklyOrder(x,y)→Pizza(y)∧SameDeliverer(x,y) (R1)
order1:Pizza
order2
:Pizza
WeeklyOrder
SameDeliverer
n3
:Pizza
WeeklyOrder SameDeliverer
. . .
unhappyOrder:Pizza
n4:Pizza SameDeliverer
. . .
λ11,λ12,λ13,λ14, . . .[,λ21,λ22, . . .]
This is atransfinite chase sequenceon arestrained partitioning. Observation:ρ1applications could be done earlier: λ11,λ12,λ21,λ13,λ14,λ22, . . .
Avoiding Alternative Matches when Chasing
Pizza(x)→ ∃z.SameDeliverer(x,z)∧Pizza(z) (R2) WeeklyOrder(y,x)→ ∃z.WeeklyOrder(x,z) (R1) Pizza(x)∧WeeklyOrder(x,y)→Pizza(y)∧SameDeliverer(x,y) (R1)
order1:Pizza
order2:Pizza WeeklyOrder
SameDeliverer
n3
:Pizza
WeeklyOrder SameDeliverer
. . .
unhappyOrder:Pizza
n4:Pizza SameDeliverer
. . .
λ11
,λ12,λ13,λ14, . . .[,λ21,λ22, . . .]
This is atransfinite chase sequenceon arestrained partitioning. Observation:ρ1applications could be done earlier: λ11,λ12,λ21,λ13,λ14,λ22, . . .
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Avoiding Alternative Matches when Chasing
Pizza(x)→ ∃z.SameDeliverer(x,z)∧Pizza(z) (R2) WeeklyOrder(y,x)→ ∃z.WeeklyOrder(x,z) (R1) Pizza(x)∧WeeklyOrder(x,y)→Pizza(y)∧SameDeliverer(x,y) (R1)
order1:Pizza
order2:Pizza WeeklyOrder
SameDeliverer
n3
:Pizza
WeeklyOrder
SameDeliverer
. . .
unhappyOrder:Pizza
n4:Pizza SameDeliverer
. . .
λ11,λ12
,λ13,λ14, . . .[,λ21,λ22, . . .]
This is atransfinite chase sequenceon arestrained partitioning. Observation:ρ1applications could be done earlier: λ11,λ12,λ21,λ13,λ14,λ22, . . .
Avoiding Alternative Matches when Chasing
Pizza(x)→ ∃z.SameDeliverer(x,z)∧Pizza(z) (R2) WeeklyOrder(y,x)→ ∃z.WeeklyOrder(x,z) (R1) Pizza(x)∧WeeklyOrder(x,y)→Pizza(y)∧SameDeliverer(x,y) (R1)
order1:Pizza
order2:Pizza WeeklyOrder
SameDeliverer
n3:Pizza WeeklyOrder
SameDeliverer
. . .
unhappyOrder:Pizza
n4:Pizza SameDeliverer
. . .
λ11,λ12,λ13
,λ14, . . .[,λ21,λ22, . . .]
This is atransfinite chase sequenceon arestrained partitioning. Observation:ρ1applications could be done earlier: λ11,λ12,λ21,λ13,λ14,λ22, . . .
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Avoiding Alternative Matches when Chasing
Pizza(x)→ ∃z.SameDeliverer(x,z)∧Pizza(z) (R2) WeeklyOrder(y,x)→ ∃z.WeeklyOrder(x,z) (R1) Pizza(x)∧WeeklyOrder(x,y)→Pizza(y)∧SameDeliverer(x,y) (R1)
order1:Pizza
order2:Pizza WeeklyOrder
SameDeliverer
n3:Pizza WeeklyOrder
SameDeliverer
. . . unhappyOrder:Pizza
n4:Pizza SameDeliverer
. . .
λ11,λ12,λ13,λ14, . . .
[,λ21,λ22, . . .]
This is atransfinite chase sequenceon arestrained partitioning. Observation:ρ1applications could be done earlier: λ11,λ12,λ21,λ13,λ14,λ22, . . .
Avoiding Alternative Matches when Chasing
Pizza(x)→ ∃z.SameDeliverer(x,z)∧Pizza(z) (R2) WeeklyOrder(y,x)→ ∃z.WeeklyOrder(x,z) (R1) Pizza(x)∧WeeklyOrder(x,y)→Pizza(y)∧SameDeliverer(x,y) (R1)
order1:Pizza
order2:Pizza WeeklyOrder
SameDeliverer
n3:Pizza WeeklyOrder
SameDeliverer
. . . unhappyOrder:Pizza
n4:Pizza SameDeliverer
. . .
λ11,λ12,λ13,λ14, . . .[,λ21,λ22, . . .]
This is atransfinite chase sequenceon arestrained partitioning. Observation:ρ1applications could be done earlier: λ11,λ12,λ21,λ13,λ14,λ22, . . .
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Avoiding Alternative Matches when Chasing
Pizza(x)→ ∃z.SameDeliverer(x,z)∧Pizza(z) (R2) WeeklyOrder(y,x)→ ∃z.WeeklyOrder(x,z) (R1) Pizza(x)∧WeeklyOrder(x,y)→Pizza(y)∧SameDeliverer(x,y) (R1)
order1:Pizza
order2:Pizza WeeklyOrder
SameDeliverer
n3:Pizza WeeklyOrder
SameDeliverer
. . . unhappyOrder:Pizza
n4:Pizza SameDeliverer
. . .
λ11,λ12,λ13,λ14, . . .[,λ21,λ22, . . .]
This is atransfinite chase sequenceon arestrained partitioning.
Observation:ρ1applications could be done earlier: λ11,λ12,λ21,λ13,λ14,λ22, . . .
Avoiding Alternative Matches when Chasing
Pizza(x)→ ∃z.SameDeliverer(x,z)∧Pizza(z) (R2) WeeklyOrder(y,x)→ ∃z.WeeklyOrder(x,z) (R1) Pizza(x)∧WeeklyOrder(x,y)→Pizza(y)∧SameDeliverer(x,y) (R1)
order1:Pizza
order2:Pizza WeeklyOrder
SameDeliverer
n3:Pizza WeeklyOrder
SameDeliverer
. . . unhappyOrder:Pizza
n4:Pizza SameDeliverer
. . .
λ11,λ12,λ13,λ14, . . .[,λ21,λ22, . . .]
This is atransfinite chase sequenceon arestrained partitioning.
Observation:ρ1applications could be done earlier: λ11,λ12,λ21,λ13,λ14,λ22, . . .
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Restricted and Core Chase coincide
Theorem
For a rule set R∈AM∀∃, we have R∈CTres∀∃iff R∈CTcore∀ .
Corollary
A transfinite chase sequence on a restrained partitioning terminates (yielding a finite universal core model) iff a finite universal (core) model exists.
Theorem
For a rule set R∈AM∀∀, we have R∈CTres∀∀iff R∈CTres∀∃iff R∈CTcore∀ . (CTres∀∀is decidable for single-head guarded existential rules.)
Restricted and Core Chase coincide
Theorem
For a rule set R∈AM∀∃, we have R∈CTres∀∃iff R∈CTcore∀ .
Corollary
A transfinite chase sequence on a restrained partitioning terminates (yielding a finite universal core model) iff a finite universal (core) model exists.
Theorem
For a rule set R∈AM∀∀, we have R∈CTres∀∀iff R∈CTres∀∃iff R∈CTcore∀ . (CTres∀∀is decidable for single-head guarded existential rules.)
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Restricted and Core Chase coincide
Theorem
For a rule set R∈AM∀∃, we have R∈CTres∀∃iff R∈CTcore∀ .
Corollary
A transfinite chase sequence on a restrained partitioning terminates (yielding a finite universal core model) iff a finite universal (core) model exists.
Theorem
For a rule set R∈AM∀∀, we have R∈CTres∀∀iff R∈CTres∀∃iff R∈CTcore∀ . (CTres∀∀is decidable for single-head guarded existential rules.)
Decidability of CT res ∀∀
Proposition (Fairness Theorem [Gogacz et al., 2020])
For a rule set of only single-head rules, if there exists an unfair non-terminating restricted chase sequence, then there exists a fair non-terminating restricted chase sequence.
The problem of the Fairness Theorem [Gogacz et al., 2020]: S(a,b,b)
ρ1:=S(x,y,y)→ ∃z.S(x,z,y)∧S(z,y,y) ρ2:=S(x,y,z)→S(z,z,z)
Byρ1, we obtain:
S(a,n1,b),S(n1,b,b),S(n1,n2,b),S(n2,b,b), . . .
Any application ofρ2yieldsS(b,b,b)and blocks all (further) applications ofρ1. ρ2restrainsρ1and no infinite fair sequence exists.
However:There are also single-head rules that restrain each other.
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Decidability of CT res ∀∀
Proposition (Fairness Theorem [Gogacz et al., 2020])
For a rule set of only single-head rules, if there exists an unfair non-terminating restricted chase sequence, then there exists a fair non-terminating restricted chase sequence.
The problem of the Fairness Theorem [Gogacz et al., 2020]:
S(a,b,b)
ρ1:=S(x,y,y)→ ∃z.S(x,z,y)∧S(z,y,y) ρ2:=S(x,y,z)→S(z,z,z)
Byρ1, we obtain:
S(a,n1,b),S(n1,b,b),S(n1,n2,b),S(n2,b,b), . . .
Any application ofρ2yieldsS(b,b,b)and blocks all (further) applications ofρ1. ρ2restrainsρ1and no infinite fair sequence exists.
However:There are also single-head rules that restrain each other.
Decidability of CT res ∀∀
Proposition (Fairness Theorem [Gogacz et al., 2020])
For a rule set of only single-head rules, if there exists an unfair non-terminating restricted chase sequence, then there exists a fair non-terminating restricted chase sequence.
The problem of the Fairness Theorem [Gogacz et al., 2020]:
S(a,b,b)
ρ1:=S(x,y,y)→ ∃z.S(x,z,y)∧S(z,y,y) ρ2:=S(x,y,z)→S(z,z,z)
Byρ1, we obtain:
S(a,n1,b),S(n1,b,b),S(n1,n2,b),S(n2,b,b), . . .
Any application ofρ2yieldsS(b,b,b)and blocks all (further) applications ofρ1. ρ2restrainsρ1and no infinite fair sequence exists.
However:There are also single-head rules that restrain each other.
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Decidability of CT res ∀∀
Proposition (Fairness Theorem [Gogacz et al., 2020])
For a rule set of only single-head rules, if there exists an unfair non-terminating restricted chase sequence, then there exists a fair non-terminating restricted chase sequence.
The problem of the Fairness Theorem [Gogacz et al., 2020]:
S(a,b,b)
ρ1:=S(x,y,y)→ ∃z.S(x,z,y)∧S(z,y,y) ρ2:=S(x,y,z)→S(z,z,z)
Byρ1, we obtain:
S(a,n1,b),S(n1,b,b)
,S(n1,n2,b),S(n2,b,b), . . .
Any application ofρ2yieldsS(b,b,b)and blocks all (further) applications ofρ1. ρ2restrainsρ1and no infinite fair sequence exists.
However:There are also single-head rules that restrain each other.
Decidability of CT res ∀∀
Proposition (Fairness Theorem [Gogacz et al., 2020])
For a rule set of only single-head rules, if there exists an unfair non-terminating restricted chase sequence, then there exists a fair non-terminating restricted chase sequence.
The problem of the Fairness Theorem [Gogacz et al., 2020]:
S(a,b,b)
ρ1:=S(x,y,y)→ ∃z.S(x,z,y)∧S(z,y,y) ρ2:=S(x,y,z)→S(z,z,z)
Byρ1, we obtain:
S(a,n1,b),S(n1,b,b),S(n1,n2,b),S(n2,b,b)
, . . .
Any application ofρ2yieldsS(b,b,b)and blocks all (further) applications ofρ1. ρ2restrainsρ1and no infinite fair sequence exists.
However:There are also single-head rules that restrain each other.
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Decidability of CT res ∀∀
Proposition (Fairness Theorem [Gogacz et al., 2020])
For a rule set of only single-head rules, if there exists an unfair non-terminating restricted chase sequence, then there exists a fair non-terminating restricted chase sequence.
The problem of the Fairness Theorem [Gogacz et al., 2020]:
S(a,b,b)
ρ1:=S(x,y,y)→ ∃z.S(x,z,y)∧S(z,y,y) ρ2:=S(x,y,z)→S(z,z,z)
Byρ1, we obtain:
S(a,n1,b),S(n1,b,b),S(n1,n2,b),S(n2,b,b), . . .
Any application ofρ2yieldsS(b,b,b)and blocks all (further) applications ofρ1. ρ2restrainsρ1and no infinite fair sequence exists.
However:There are also single-head rules that restrain each other.
Decidability of CT res ∀∀
Proposition (Fairness Theorem [Gogacz et al., 2020])
For a rule set of only single-head rules, if there exists an unfair non-terminating restricted chase sequence, then there exists a fair non-terminating restricted chase sequence.
The problem of the Fairness Theorem [Gogacz et al., 2020]:
S(a,b,b)
ρ1:=S(x,y,y)→ ∃z.S(x,z,y)∧S(z,y,y) ρ2:=S(x,y,z)→S(z,z,z)
Byρ1, we obtain:
S(a,n1,b),S(n1,b,b),S(n1,n2,b),S(n2,b,b), . . .
Any application ofρ2yieldsS(b,b,b)and blocks all (further) applications ofρ1.
ρ2restrainsρ1and no infinite fair sequence exists.
However:There are also single-head rules that restrain each other.
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Decidability of CT res ∀∀
Proposition (Fairness Theorem [Gogacz et al., 2020])
For a rule set of only single-head rules, if there exists an unfair non-terminating restricted chase sequence, then there exists a fair non-terminating restricted chase sequence.
The problem of the Fairness Theorem [Gogacz et al., 2020]:
S(a,b,b)
ρ1:=S(x,y,y)→ ∃z.S(x,z,y)∧S(z,y,y) ρ2:=S(x,y,z)→S(z,z,z)
Byρ1, we obtain:
S(a,n1,b),S(n1,b,b),S(n1,n2,b),S(n2,b,b), . . .
Any application ofρ2yieldsS(b,b,b)and blocks all (further) applications ofρ1. ρ2restrainsρ1and no infinite fair sequence exists.
However:There are also single-head rules that restrain each other.
Decidability of CT res ∀∀
Proposition (Fairness Theorem [Gogacz et al., 2020])
For a rule set of only single-head rules, if there exists an unfair non-terminating restricted chase sequence, then there exists a fair non-terminating restricted chase sequence.
The problem of the Fairness Theorem [Gogacz et al., 2020]:
S(a,b,b)
ρ1:=S(x,y,y)→ ∃z.S(x,z,y)∧S(z,y,y) ρ2:=S(x,y,z)→S(z,z,z)
Byρ1, we obtain:
S(a,n1,b),S(n1,b,b),S(n1,n2,b),S(n2,b,b), . . .
Any application ofρ2yieldsS(b,b,b)and blocks all (further) applications ofρ1. ρ2restrainsρ1and no infinite fair sequence exists.
However:There are also single-head rules that restrain each other.
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Decidability of CT res ∀∀
Proposition (Fairness Theorem [Gogacz et al., 2020])
For a rule set of only single-head rules, if there exists an unfair non-terminating restricted chase sequence, then there exists a fair non-terminating restricted chase sequence.
The problem of the Fairness Theorem [Gogacz et al., 2020]:
S(a,b,b)
ρ1:=S(x,y,y)→ ∃z.S(x,z,y)∧S(z,y,y) ρ2:=S(x,y,z)→S(z,z,z)
Byρ1, we obtain:
S(a,n1,b),S(n1,b,b),S(n1,n2,b),S(n2,b,b), . . .
Any application ofρ2yieldsS(b,b,b)and blocks all (further) applications ofρ1. ρ2strongly restrainsρ1and no infinite fair sequence exists.
However:There are also single-head rules that restrain each other.
Decidability of CT res ∀∀
Proposition (Fairness Theorem [Gogacz et al., 2020])
For a rule set of only single-head rules, if there exists an unfair non-terminating restricted chase sequence, then there exists a fair non-terminating restricted chase sequence.
Theorem
For a rule set without strong restraining relations, if there exists an unfair non-terminating restricted chase sequence, then there exists a fair non-terminating restricted chase sequence.
Conjecture
Consider a guarded rule setRwithout strong restraining relations. It is decidable if R∈CTres∀∀.
(We obtain decidability for CTcore∀ for guarded rule sets without restraining relations.)
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Decidability of CT res ∀∀
Proposition (Fairness Theorem [Gogacz et al., 2020])
For a rule set of only single-head rules, if there exists an unfair non-terminating restricted chase sequence, then there exists a fair non-terminating restricted chase sequence.
Theorem
For a rule set without strong restraining relations, if there exists an unfair non-terminating restricted chase sequence, then there exists a fair non-terminating restricted chase sequence.
Conjecture
Consider a guarded rule setRwithout strong restraining relations. It is decidable if R∈CTres∀∀.
(We obtain decidability for CTcore∀ for guarded rule sets without restraining relations.)
Decidability of CT res ∀∀
Proposition (Fairness Theorem [Gogacz et al., 2020])
For a rule set of only single-head rules, if there exists an unfair non-terminating restricted chase sequence, then there exists a fair non-terminating restricted chase sequence.
Theorem
For a rule set without strong restraining relations, if there exists an unfair non-terminating restricted chase sequence, then there exists a fair non-terminating restricted chase sequence.
Conjecture
Consider a guarded rule setRwithout strong restraining relations. It is decidable if R∈CTres∀∀.
(We obtain decidability for CTcore∀ for guarded rule sets without restraining relations.)
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Computing Cores for Non-Core-Stratified Rule Sets
Computing Cores directly with Alternative Matches
Pizza(x)→ ∃z.SameDeliverer(x,z)∧Pizza(z) WeeklyOrder(y,x)→ ∃z.WeeklyOrder(x,z)
Pizza(x)∧WeeklyOrder(x,y)→Pizza(y)∧SameDeliverer(x,y)
order1:Pizza n1:Pizza SameDeliverer
n2:Pizza SameDeliverer
. . .
order2:Pizza WeeklyOrder
SameDeliverer
n3:Pizza WeeklyOrder
. . . n4:Pizza
SameDeliverer . . .
SameDeliverer
Problem: Alternative Matches do not always yield an endomorphism over the fact set.
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Computing Cores directly with Alternative Matches
Pizza(x)→ ∃z.SameDeliverer(x,z)∧Pizza(z) WeeklyOrder(y,x)→ ∃z.WeeklyOrder(x,z)
Pizza(x)∧WeeklyOrder(x,y)→Pizza(y)∧SameDeliverer(x,y)
order1:Pizza n1:Pizza SameDeliverer
n2:Pizza SameDeliverer
. . .
order2:Pizza WeeklyOrder
SameDeliverer
n3:Pizza WeeklyOrder
. . . n4:Pizza
SameDeliverer . . .
SameDeliverer
Problem: Alternative Matches do not always yield an endomorphism over the fact set.
Compute Cores directly with Alternative Matches
→ ∃z.P(z) P(x)→ ∃z.Q(x,z)
Q(x,y)→ ∃z.Q(z,y)∧Q(z,c)∧P(z)∧S(z,y) Q(x,y)∧S(x,z)→S(x,y)
c
n1:P
n2
Q n3:P
Q S Q
S
n4:P Q
S
Problem:After remappings of nulls, other remappings may be necessary that are not captured by alternative matches.
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Compute Cores directly with Alternative Matches
→ ∃z.P(z) P(x)→ ∃z.Q(x,z)
Q(x,y)→ ∃z.Q(z,y)∧Q(z,c)∧P(z)∧S(z,y) Q(x,y)∧S(x,z)→S(x,y)
c n1:P
n2
Q n3:P
Q S Q
S
n4:P Q
S
Problem:After remappings of nulls, other remappings may be necessary that are not captured by alternative matches.
Compute Cores directly with Alternative Matches
→ ∃z.P(z) P(x)→ ∃z.Q(x,z)
Q(x,y)→ ∃z.Q(z,y)∧Q(z,c)∧P(z)∧S(z,y) Q(x,y)∧S(x,z)→S(x,y)
c n1:P
n2
Q
n3:P Q
S Q
S
n4:P Q
S
Problem:After remappings of nulls, other remappings may be necessary that are not captured by alternative matches.
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Compute Cores directly with Alternative Matches
→ ∃z.P(z) P(x)→ ∃z.Q(x,z)
Q(x,y)→ ∃z.Q(z,y)∧Q(z,c)∧P(z)∧S(z,y) Q(x,y)∧S(x,z)→S(x,y)
c n1:P
n2
Q n3:P
Q S Q
S
n4:P Q
S
Problem:After remappings of nulls, other remappings may be necessary that are not captured by alternative matches.
Compute Cores directly with Alternative Matches
→ ∃z.P(z) P(x)→ ∃z.Q(x,z)
Q(x,y)→ ∃z.Q(z,y)∧Q(z,c)∧P(z)∧S(z,y) Q(x,y)∧S(x,z)→S(x,y)
c n1:P
n2
Q n3:P
Q S Q
S
n4:P Q
S
Problem:After remappings of nulls, other remappings may be necessary that are not captured by alternative matches.
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Compute Cores directly with Alternative Matches
→ ∃z.P(z) P(x)→ ∃z.Q(x,z)
Q(x,y)→ ∃z.Q(z,y)∧Q(z,c)∧P(z)∧S(z,y) Q(x,y)∧S(x,z)→S(x,y)
c n1:P
n2
Q n3:P
Q S Q
S
n4:P Q
S
Problem:After remappings of nulls, other remappings may be necessary
The Hybrid Chase
P(x)→ ∃z.Q(x,z) (R1)
Q(x,y)→ ∃z.Q(z,y)∧Q(z,c)∧P(z)∧S(z,y) (R2)
Q(x,y)∧S(x,z)→S(x,y) (R1)
Thehybrid chaseon arelaxed restrained partitioningis defined like the transfinite chase but uses the core chase in the last sequence.
c a:P
S
n2
Q S
n3:P Q
S Q
S
n4:P Q
S
Nulls that are introduced before the last sequence can be treated as constants.
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
The Hybrid Chase
P(x)→ ∃z.Q(x,z) (R1)
Q(x,y)→ ∃z.Q(z,y)∧Q(z,c)∧P(z)∧S(z,y) (R2)
Q(x,y)∧S(x,z)→S(x,y) (R1)
Thehybrid chaseon arelaxed restrained partitioningis defined like the transfinite chase but uses the core chase in the last sequence.
c a:P
S
n2
Q
S
n3:P Q
S Q
S
n4:P Q
S
Nulls that are introduced before the last sequence can be treated as constants.
The Hybrid Chase
P(x)→ ∃z.Q(x,z) (R1)
Q(x,y)→ ∃z.Q(z,y)∧Q(z,c)∧P(z)∧S(z,y) (R2)
Q(x,y)∧S(x,z)→S(x,y) (R1)
Thehybrid chaseon arelaxed restrained partitioningis defined like the transfinite chase but uses the core chase in the last sequence.
c a:P
S
n2
Q S
n3:P Q
S Q
S
n4:P Q
S
Nulls that are introduced before the last sequence can be treated as constants.
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
The Hybrid Chase
P(x)→ ∃z.Q(x,z) (R1)
Q(x,y)→ ∃z.Q(z,y)∧Q(z,c)∧P(z)∧S(z,y) (R2)
Q(x,y)∧S(x,z)→S(x,y) (R1)
Thehybrid chaseon arelaxed restrained partitioningis defined like the transfinite chase but uses the core chase in the last sequence.
c a:P
S
n2
Q S
n3:P Q
S Q
S
n4:P Q
S
Nulls that are introduced before the last sequence can be treated as constants.
The Hybrid Chase
P(x)→ ∃z.Q(x,z) (R1)
Q(x,y)→ ∃z.Q(z,y)∧Q(z,c)∧P(z)∧S(z,y) (R2)
Q(x,y)∧S(x,z)→S(x,y) (R1)
Thehybrid chaseon arelaxed restrained partitioningis defined like the transfinite chase but uses the core chase in the last sequence.
c a:P
S
n2
Q S
n3:P Q
S Q
S
n4:P Q
S
Nulls that are introduced before the last sequence can be treated as constants.
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
The Hybrid Chase
P(x)→ ∃z.Q(x,z) (R1)
Q(x,y)→ ∃z.Q(z,y)∧Q(z,c)∧P(z)∧S(z,y) (R2)
Q(x,y)∧S(x,z)→S(x,y) (R1)
Thehybrid chaseon arelaxed restrained partitioningis defined like the transfinite chase but uses the core chase in the last sequence.
c a:P
S
n2
Q S
n3:P Q
S Q
S
n4:P Q
S
Nulls that are introduced before the last sequence can be treated as constants.
The Hybrid Chase
P(x)→ ∃z.Q(x,z) (R1)
Q(x,y)→ ∃z.Q(z,y)∧Q(z,c)∧P(z)∧S(z,y) (R2)
Q(x,y)∧S(x,z)→S(x,y) (R1)
Thehybrid chaseon arelaxed restrained partitioningis defined like the transfinite chase but uses the core chase in the last sequence.
c a:P
S
n2
Q S
n3:P Q
S Q
S
n4:P Q
S
Nulls that are introduced before the last sequence can be treated as constants.
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
The Hybrid Chase
P(x)→ ∃z.Q(x,z) (R1)
Q(x,y)→ ∃z.Q(z,y)∧Q(z,c)∧P(z)∧S(z,y) (R2)
Q(x,y)∧S(x,z)→S(x,y) (R1)
Thehybrid chaseon arelaxed restrained partitioningis defined like the transfinite chase but uses the core chase in the last sequence.
c a:P
S
n2
Q S
n3:P Q
S Q
S
n4:P Q
S
Summary
Results:
• Restricted and core chase coincide for core-stratified rule sets.
• Conjecture: Slightly larger fragment of guarded rules for which CTres∀∀ is decidable.
• Ideas for more efficient computation of universal core models for arbitrary rule sets.
Open Questions / Future Work:
• Is AM∀∃decidable for (single-head) guarded existential rules?
• Is CTres∀∃ decidable for (single-head) guarded existential rules?
• Verify decidability of CTres∀∀ for guarded rules without strong restraining relations.
• Implement/Evaluate/Improve core computation heuristic and hybrid chase.
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
Summary
Results:
• Restricted and core chase coincide for core-stratified rule sets.
• Conjecture: Slightly larger fragment of guarded rules for which CTres∀∀ is decidable.
• Ideas for more efficient computation of universal core models for arbitrary rule sets.
Open Questions / Future Work:
• Is AM∀∃decidable for (single-head) guarded existential rules?
• Is CTres∀∃ decidable for (single-head) guarded existential rules?
• Verify decidability of CTres∀∀ for guarded rules without strong restraining relations.
• Implement/Evaluate/Improve core computation heuristic and hybrid chase.
Summary
Results:
• Restricted and core chase coincide for core-stratified rule sets.
• Conjecture: Slightly larger fragment of guarded rules for which CTres∀∀ is decidable.
• Ideas for more efficient computation of universal core models for arbitrary rule sets.
Open Questions / Future Work:
• Is AM∀∃decidable for (single-head) guarded existential rules?
• Is CTres∀∃ decidable for (single-head) guarded existential rules?
• Verify decidability of CTres∀∀ for guarded rules without strong restraining relations.
• Implement/Evaluate/Improve core computation heuristic and hybrid chase.
Lukas Gerlach Chase-Based Computation of Cores for Existential Rules 16.09.2021
References I
(2010).
Proceedings of the 25th Annual IEEE Symposium on Logic in Computer Science, LICS 2010, 11-14 July 2010, Edinburgh, United Kingdom. IEEE Computer Society.
Abiteboul, S., Hull, R., and Vianu, V. (1995).
Foundations of Databases.
Addison-Wesley.
Baget, J., Lecl `ere, M., Mugnier, M., and Salvat, E. (2011a).
On rules with existential variables: Walking the decidability line.
Artif. Intell., 175(9-10):1620–1654.
Baget, J., Mugnier, M., Rudolph, S., and Thomazo, M. (2011b).
Walking the complexity lines for generalized guarded existential rules.
In [Walsh, 2011], pages 712–717.
References II
B ´ar ´any, V., Gottlob, G., and Otto, M. (2010).
Querying the guarded fragment.
In [DBL, 2010], pages 1–10.
Barcel ´o, P. and Calautti, M., editors (2019).
22nd International Conference on Database Theory, ICDT 2019, March 26-28, 2019, Lisbon, Portugal, volume 127 ofLIPIcs. Schloss Dagstuhl - Leibniz-Zentrum f ¨ur Informatik.
Bauslaugh, B. L. (1995).
Core-like properties of infinite graphs and structures.
Discret. Math., 138(1-3):101–111.
Beeri, C. and Vardi, M. Y. (1981).
The implication problem for data dependencies.
In [Even and Kariv, 1981], pages 73–85.
References III
Beeri, C. and Vardi, M. Y. (1984).
A proof procedure for data dependencies.
J. ACM, 31(4):718–741.
Benedikt, M., Konstantinidis, G., Mecca, G., Motik, B., Papotti, P., Santoro, D., and Tsamoura, E. (2017).
Benchmarking the chase.
In [Sallinger et al., 2017], pages 37–52.
Boutilier, C., editor (2009).
IJCAI 2009, Proceedings of the 21st International Joint Conference on Artificial Intelligence, Pasadena, California, USA, July 11-17, 2009.
Calautti, M., Gottlob, G., and Pieris, A. (2015).
Chase termination for guarded existential rules.
In [Milo and Calvanese, 2015], pages 91–103.
References IV
Calvanese, D., Erdem, E., and Thielscher, M., editors (2020).
Proceedings of the 17th International Conference on Principles of Knowledge Representation and Reasoning, KR 2020, Rhodes, Greece, September 12-18, 2020.
Carral, D., Dragoste, I., and Kr ¨otzsch, M. (2017).
Restricted chase (non)termination for existential rules with disjunctions.
In [Sierra, 2017], pages 922–928.
Carral, D., Kr ¨otzsch, M., Marx, M., Ozaki, A., and Rudolph, S. (2018).
Preserving constraints with the stable chase.
In [Kimelfeld and Amsterdamer, 2018], pages 12:1–12:19.
Deutsch, A., Nash, A., and Remmel, J. B. (2008).
The chase revisited.
In [Lenzerini and Lembo, 2008], pages 149–158.