• Aucun résultat trouvé

Combining Existential Rules and Description Logics

N/A
N/A
Protected

Academic year: 2022

Partager "Combining Existential Rules and Description Logics"

Copied!
33
0
0

Texte intégral

(1)

Combining Existential Rules and Description Logics

Antoine Amarilli1,2, Michael Benedikt2

1Télécom ParisTech, Paris, France

2University of Oxford, Oxford, United Kingdom

July 28, 2015

1/8

(2)

Open-world query answering (QA)

Open-worldquery answering:

We are given:

RelationalinstanceI(ground facts)

! LogicalconstraintsΣ

? Boolean conjunctivequeryq

We ask:

Consider all possiblecompletionsJI

Restrict to those that satisfy theconstraintsΣ

Isqcertainamong them?

(3)

Open-world query answering (QA)

Open-worldquery answering:

We are given:

RelationalinstanceI(ground facts)

! LogicalconstraintsΣ

? Boolean conjunctivequeryq We ask:

Consider all possiblecompletionsJI

Restrict to those that satisfy theconstraintsΣ

Isqcertainamong them?

2/8

(4)

Open-world query answering (QA)

Open-worldquery answering: –query entailment orcontainment We are given:

RelationalinstanceI(ground facts) –A-Box

! LogicalconstraintsΣT-Box

? Boolean conjunctivequeryq We ask:

Consider all possiblecompletionsJI

Restrict to those that satisfy theconstraintsΣ

Isqcertainamong them?

(5)

Decidable constraint languages for QA

Rich description logics (DLs) Frontier-guarded existential rules

EmpCEO(Mgr.Emp) ∀pwv Acpt(p,w,v) →∃fTrip(p,f,v) Arity-twoonly Arbitraryarity

Rich(disjunction, etc.) Poor(conjunction and implication) Functionality asserts

Funct(Mgr) ! n/a

QA isdecidable foreither language

3/8

(6)

Decidable constraint languages for QA

Rich description logics (DLs) Frontier-guarded existential rules Emp CEO(Mgr.Emp) ∀pwv Acpt(p,w,v) →∃f Trip(p,f,v)

Arity-twoonly Arbitraryarity

Rich(disjunction, etc.) Poor(conjunction and implication) Functionality asserts

Funct(Mgr) ! n/a

QA isdecidable foreither language

(7)

Decidable constraint languages for QA

Rich description logics (DLs) Frontier-guarded existential rules

Emp CEO(Mgr.Emp) ∀pwv Acpt(p,w,v) →∃f Trip(p,f,v)

Arity-two only Arbitraryarity

Rich(disjunction, etc.) Poor(conjunction and implication) Functionality asserts

Funct(Mgr) ! n/a

QA isdecidable foreither language

3/8

(8)

Decidable constraint languages for QA

Rich description logics (DLs) Frontier-guarded existential rules

Emp CEO(Mgr.Emp) ∀pwv Acpt(p,w,v) →∃f Trip(p,f,v)

Arity-two only Arbitraryarity

Rich (disjunction, etc.) Poor(conjunction and implication)

Functionality asserts

Funct(Mgr) ! n/a

QA isdecidable foreither language

(9)

Decidable constraint languages for QA

Rich description logics (DLs) Frontier-guarded existential rules

Emp CEO(Mgr.Emp) ∀pwv Acpt(p,w,v) →∃f Trip(p,f,v)

Arity-two only Arbitraryarity

Rich (disjunction, etc.) Poor(conjunction and implication) Functionality asserts

Funct(Mgr) ! n/a

QA isdecidable foreither language

3/8

(10)

Decidable constraint languages for QA

Rich description logics (DLs) Frontier-guarded existential rules

Emp CEO(Mgr.Emp) ∀pwv Acpt(p,w,v) →∃f Trip(p,f,v)

Arity-two only Arbitraryarity

Rich (disjunction, etc.) Poor(conjunction and implication) Functionality asserts

Funct(Mgr) ! n/a

QA isdecidable foreither language

(11)

Our problem

Can we have the best of both worlds?

QA is decidable forrich DLs(i.e., expressible in GC2, guarded two-variable first-order logic with counting) QA is decidable forfrontier-guarded existential rules

Is QA decidable for rich DLs+ someclasses of rules? We show:

QA isundecidable for richDLsand frontier-guarded rules QA with rich DLs isdecidable for some newrule classes Functional dependencies can be added under someconditions

4/8

(12)

Our problem

Can we have the best of both worlds?

QA is decidable forrich DLs(i.e., expressible in GC2, guarded two-variable first-order logic with counting) QA is decidable forfrontier-guarded existential rules

Is QA decidable for rich DLs+ someclasses of rules?

We show:

QA isundecidable for richDLsand frontier-guarded rules QA with rich DLs isdecidable for some newrule classes Functional dependencies can be added under someconditions

(13)

Our problem

Can we have the best of both worlds?

QA is decidable forrich DLs(i.e., expressible in GC2, guarded two-variable first-order logic with counting) QA is decidable forfrontier-guarded existential rules

Is QA decidable for rich DLs+ someclasses of rules?

We show:

QA isundecidable for richDLsand frontier-guarded rules QA with rich DLs isdecidable for some newrule classes Functional dependencies can be added under someconditions

4/8

(14)

Our problem

Can we have the best of both worlds?

QA is decidable forrich DLs(i.e., expressible in GC2, guarded two-variable first-order logic with counting) QA is decidable forfrontier-guarded existential rules

Is QA decidable for rich DLs+ someclasses of rules?

We show:

QA isundecidable for richDLsand frontier-guarded rules QA with rich DLs isdecidable for some newrule classes Functional dependencies can be added under someconditions

(15)

Restricting the language

Theorem

QA isundecidablefor rich DLs and frontier-guarded rules

Problem: inclusion dependencies + Funct = ID/FD implication

Frontier-one rules: ∀xyϕ(x,y)→ ∃z ψ(x,z)

Theorem

QA isundecidablefor rich DLs and frontier-one rules Problem: cycles in rules + Funct = grid

Non-looping rules: prohibitcycles R(x,y)S(y,z)T(z,x)

R(x,y,z)S(x,y,z)

5/8

(16)

Restricting the language

Theorem

QA isundecidablefor rich DLs and frontier-guarded rules Problem: inclusion dependencies + Funct = ID/FD implication

Frontier-one rules: ∀xyϕ(x,y)→ ∃z ψ(x,z)

Theorem

QA isundecidablefor rich DLs and frontier-one rules Problem: cycles in rules + Funct = grid

Non-looping rules: prohibitcycles R(x,y)S(y,z)T(z,x)

R(x,y,z)S(x,y,z)

(17)

Restricting the language

Theorem

QA isundecidablefor rich DLs and frontier-guarded rules

Problem: inclusion dependencies + Funct = ID/FD implication

Frontier-one rules: ∀xyϕ(x,y)→ ∃z ψ(x,z)

Theorem

QA isundecidablefor rich DLs and frontier-one rules Problem: cycles in rules + Funct = grid

Non-looping rules: prohibitcycles R(x,y)S(y,z)T(z,x)

R(x,y,z)S(x,y,z)

5/8

(18)

Restricting the language

Theorem

QA isundecidablefor rich DLs and frontier-guarded rules

Problem: inclusion dependencies + Funct = ID/FD implication

Frontier-one rules: ∀xyϕ(x,y)→ ∃z ψ(x,z)

Theorem

QA isundecidablefor rich DLs and frontier-one rules

Problem: cycles in rules + Funct = grid

Non-looping rules: prohibitcycles R(x,y)S(y,z)T(z,x)

R(x,y,z)S(x,y,z)

(19)

Restricting the language

Theorem

QA isundecidablefor rich DLs and frontier-guarded rules

Problem: inclusion dependencies + Funct = ID/FD implication

Frontier-one rules: ∀xyϕ(x,y)→ ∃z ψ(x,z)

Theorem

QA isundecidablefor rich DLs and frontier-one rules Problem: cycles in rules + Funct = grid

Non-looping rules: prohibitcycles R(x,y)S(y,z)T(z,x)

R(x,y,z)S(x,y,z)

5/8

(20)

Restricting the language

Theorem

QA isundecidablefor rich DLs and frontier-guarded rules

Problem: inclusion dependencies + Funct = ID/FD implication

Frontier-one rules: ∀xyϕ(x,y)→ ∃z ψ(x,z)

Theorem

QA isundecidablefor rich DLs and frontier-one rules Problem: cycles in rules + Funct = grid

Non-looping rules: prohibitcycles R(x,y)S(y,z)T(z,x)

(21)

QA decidability

Non-loopingfrontier-one rules: no cycles in body and in head

We can shred them to DL rules Theorem

QA isdecidablefor non-looping frontier-one rules + rich DLs

Head-non-loopingfrontier-one rules: no cycles in head

We can treeify the rules, soundness byunravellingthe models Theorem

QA isdecidablefor head-non-looping frontier-one rules + rich DLs

6/8

(22)

QA decidability

Non-loopingfrontier-one rules: no cycles in body and in head

We can shredthem to DL rules Theorem

QA isdecidablefor non-looping frontier-one rules + rich DLs

Head-non-loopingfrontier-one rules: no cycles in head

We can treeify the rules, soundness byunravellingthe models Theorem

QA isdecidablefor head-non-looping frontier-one rules + rich DLs

(23)

QA decidability

Non-loopingfrontier-one rules: no cycles in body and in head

We can shredthem to DL rules Theorem

QA isdecidablefor non-looping frontier-one rules + rich DLs

Head-non-loopingfrontier-one rules: no cycles in head

We can treeify the rules, soundness byunravellingthe models Theorem

QA isdecidablefor head-non-looping frontier-one rules + rich DLs

6/8

(24)

QA decidability

Non-loopingfrontier-one rules: no cycles in body and in head

We can shredthem to DL rules Theorem

QA isdecidablefor non-looping frontier-one rules + rich DLs

Head-non-loopingfrontier-one rules: no cycles in head

We can treeify the rules, soundness byunravellingthe models Theorem

QA isdecidablefor head-non-looping frontier-one rules + rich DLs

(25)

Adding functional dependencies

Theorem

QA isdecidablefor head-non-looping frontier-one rules + rich DLs

We want to add:

Functional dependencies(FDs) onarbitrary predicates: Talk[speaker,session]determines Talk[title]

FDs plus single-head frontier-onerules already undecidable

Must impose thenon-conflicting condition

Theorem

Decidable QAfor: Rich DLconstraints

Single-head frontier-one rules Non-conflicting FDs

7/8

(26)

Adding functional dependencies

Theorem

QA isdecidablefor head-non-looping frontier-one rules + rich DLs

We want to add:

Functional dependencies(FDs) onarbitrary predicates:

Talk[speaker,session]determines Talk[title]

FDs plus single-head frontier-onerules already undecidable

Must impose thenon-conflicting condition

Theorem

Decidable QAfor: Rich DLconstraints

Single-head frontier-one rules Non-conflicting FDs

(27)

Adding functional dependencies

Theorem

QA isdecidablefor head-non-looping frontier-one rules + rich DLs

We want to add:

Functional dependencies(FDs) onarbitrary predicates:

Talk[speaker,session]determines Talk[title]

FDs plus single-head frontier-onerules already undecidable

Must impose thenon-conflicting condition

Theorem

Decidable QAfor: Rich DLconstraints

Single-head frontier-one rules Non-conflicting FDs

7/8

(28)

Adding functional dependencies

Theorem

QA isdecidablefor head-non-looping frontier-one rules + rich DLs

We want to add:

Functional dependencies(FDs) onarbitrary predicates:

Talk[speaker,session]determines Talk[title]

FDs plus single-head frontier-onerules already undecidable

Must impose thenon-conflicting condition

Theorem

Decidable QAfor:

Rich DLconstraints

(29)

Summary of results

Combining Existential Rules and Description Logics

Open-worldquery answering(QA) under: RichDLconstraints

Existential rules

For which rule classes is QA decidablewith rich DLs?

Must restrict tofrontier-one rules

Must prohibit cyclesin rule heads

QA isdecidable for head-non-looping frontier-one + rich DLs

Can add non-conflicting FDs

Thanks for your attention! More details: see poster 76

8/8

(30)

Summary of results

Combining Existential Rules and Description Logics

Open-worldquery answering(QA) under:

RichDLconstraints Existential rules

For which rule classes is QA decidablewith rich DLs?

Must restrict tofrontier-one rules

Must prohibit cyclesin rule heads

QA isdecidable for head-non-looping frontier-one + rich DLs

Can add non-conflicting FDs

Thanks for your attention! More details: see poster 76

(31)

Summary of results

Combining Existential Rules and Description Logics

Open-worldquery answering(QA) under:

RichDLconstraints Existential rules

For which rule classes is QA decidablewith rich DLs?

Must restrict tofrontier-one rules

Must prohibit cyclesin rule heads

QA isdecidable for head-non-looping frontier-one + rich DLs

Can add non-conflicting FDs

Thanks for your attention! More details: see poster 76

8/8

(32)

Summary of results

Combining Existential Rules and Description Logics

Open-worldquery answering(QA) under:

RichDLconstraints Existential rules

For which rule classes is QA decidablewith rich DLs?

Must restrict tofrontier-one rules

Must prohibit cyclesin rule heads

QA isdecidable for head-non-looping frontier-one + rich DLs

Can add non-conflicting FDs

Thanks for your attention! More details: see poster 76

(33)

Summary of results

Combining Existential Rules and Description Logics

Open-worldquery answering(QA) under:

RichDLconstraints Existential rules

For which rule classes is QA decidablewith rich DLs?

Must restrict tofrontier-one rules

Must prohibit cyclesin rule heads

QA isdecidable for head-non-looping frontier-one + rich DLs

Can add non-conflicting FDs

Thanks for your attention!

More details: see poster 76

8/8

Références

Documents relatifs

It is obvious that in the case of a consistent knowledge base, the corresponding argumentation framework has exactly one extension, which contains all arguments, in- dependently of

These results have a important practical impact, since they make it possible to identify those sets of binary guarded existential rules for which it is possible to answer every

The chase procedure (or simply chase) is considered as one of the most fundamental algorithmic tools in databases — it accepts as input a database D and a set Σ of con- straints and,

Moreover, PEM counteracted the elevation of the endoplasmic reticulum stress (ERS) signal produced upon low glucose availability, providing a molecular explanation for the

Luk and colleagues reported that the intracerebral injection of brain homogenates derived from old α-syn transgenic mice (which exhibited α-syn pathology) into the neocortex

For future work, we are working on identifying a more general class of datalog rewritable existential rules, optimising our rewriting algorithm and implementation, and

In the linear case, CRPQ answering is E XP T IME -complete in combined complexity, PS PACE - complete in combined complexity with bounded predicate arity and NL-complete in data

To fes (resp. fus) rules is naturally associated a finite breadth-first materialization (resp. query rewriting) process, whose maximal number of steps generally depends not only on