Professional Documents
Culture Documents
Preliminaries
HOCQA
Conclusions
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 1 / 43
Introduction
Preliminaries
HOCQA
Conclusions
Contents
1 Introduction DL4,×
D
Outline of the talk 3 HOCQA
4,×
Computable set theory for HOCQA for DLD
knowledge representation HOCQA for 4LQS R
4,×
Previous and current Procedure HOCQA-DLD
results 4 Conclusions
2 Preliminaries Conclusions
4LQS Future Work
4LQS R References
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 2 / 43
Introduction
Outline of the talk
Preliminaries
Computable set theory for knowledge representation
HOCQA
Previous and current results
Conclusions
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 3 / 43
Introduction
Outline of the talk
Preliminaries
Computable set theory for knowledge representation
HOCQA
Previous and current results
Conclusions
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 4 / 43
Introduction
Outline of the talk
Preliminaries
Computable set theory for knowledge representation
HOCQA
Previous and current results
Conclusions
Some results
MLSS×
2,m , (Cantone, Longo, Nicolosi-Asmundo 2010),
DLhMLSS×
2,m i , (Cantone, Longo, Pisasale 2010),
DLh∀π0,2 i , (Cantone, Longo, Nicolosi-Asmundo 2011),
DLh∀π0,2 i + metamodelling, (Cantone, Longo 2014),
DL4D , (Cantone, Longo, Nicolosi-Asmundo, Santamaria
2015).
DL4,×
D and the CQA problem (Cantone, Nicolosi-Asmundo,
Santamaria 2016).
DL4,×
D and the HOCQA problem (Cantone,
Nicolosi-Asmundo, Santamaria 2017).
Reasoner for DL4,×
D (work in progress).
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 5 / 43
Introduction
Outline of the talk
Preliminaries
Computable set theory for knowledge representation
HOCQA
Previous and current results
Conclusions
Some DL4,×
D Features
This work
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 7 / 43
Introduction
Outline of the talk
Preliminaries
Computable set theory for knowledge representation
HOCQA
Previous and current results
Conclusions
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 8 / 43
Introduction
4LQS
Preliminaries
4LQS R
HOCQA 4,×
DLD
Conclusions
Syntax of 4LQS
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 9 / 43
Introduction
4LQS
Preliminaries
4LQS R
HOCQA 4,×
DLD
Conclusions
Syntax of 4LQS
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 10 / 43
Introduction
4LQS
Preliminaries
4LQS R
HOCQA 4,×
DLD
Conclusions
Semantics of 4LQS
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 11 / 43
Introduction
4LQS
Preliminaries
4LQS R
HOCQA 4,×
DLD
Conclusions
Semantics of 4LQS
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 12 / 43
Introduction
4LQS
Preliminaries
4LQS R
HOCQA 4,×
DLD
Conclusions
Characterizing 4LQS R
Example
(∀Z 1 ) Z 1 ∈ X 2 ↔ (∀z) ( z ∈ Z 1 → z ∈ X 1 )
If M |= ¬ ( z ∈ Z 1 → z ∈ X 1 ) then M |= z ∈ Z 1
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 13 / 43
Introduction
4LQS
Preliminaries
4LQS R
HOCQA 4,×
DLD
Conclusions
Characterizing 4LQS R
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 14 / 43
Introduction
4LQS
Preliminaries
4LQS R
HOCQA 4,×
DLD
Conclusions
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 15 / 43
Introduction
4LQS
Preliminaries
4LQS R
HOCQA 4,×
DLD
Conclusions
A DL4,×
D -TBox is a set of statements of the following types:
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 16 / 43
Introduction
4LQS
Preliminaries
4LQS R
HOCQA 4,×
DLD
Conclusions
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 17 / 43
Introduction
4LQS
Preliminaries
4LQS R
HOCQA 4,×
DLD
Conclusions
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 18 / 43
Introduction
4LQS
Preliminaries
4LQS R
HOCQA 4,×
DLD
Conclusions
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 19 / 43
Introduction
4LQS
Preliminaries
4LQS R
HOCQA 4,×
DLD
Conclusions
Expressiveness of DL4,×
D
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 20 / 43
Introduction 4,×
HOCQA for DLD
Preliminaries
HOCQA for 4LQS R
HOCQA 4,×
Procedure HOCQA-DLD
Conclusions
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 21 / 43
Introduction 4,×
HOCQA for DLD
Preliminaries
HOCQA for 4LQS R
HOCQA 4,×
Procedure HOCQA-DLD
Conclusions
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 22 / 43
Introduction 4,×
HOCQA for DLD
Preliminaries
HOCQA for 4LQS R
HOCQA 4,×
Procedure HOCQA-DLD
Conclusions
A substitution
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 24 / 43
Introduction 4,×
HOCQA for DLD
Preliminaries
HOCQA for 4LQS R
HOCQA 4,×
Procedure HOCQA-DLD
Conclusions
Example:
KB 1 = ({hasParent · hasBrother v hasUncle},
{Female, Male},
{hasParent(Ann, Paul), hasParent(John, Ann),
Male(John), Male(Bob), Male(James), Male(Paul),
hasBrother(Paul, Bob), hasBrother(Ann, James)})
Q1 = hasParent(x, y ) ∧ hasUncle(x, James) ∧ Female(y )
Σ1 = {σ1 = {x/John, y /Ann}} ,
Q2 = hasUncle(x, z)
Σ2 = {σ2 = {x/Ann, z/Bob}, τ2 = {x/John, z/James}}.
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 25 / 43
Introduction 4,×
HOCQA for DLD
Preliminaries
HOCQA for 4LQS R
HOCQA 4,×
Procedure HOCQA-DLD
Conclusions
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 27 / 43
Introduction 4,×
HOCQA for DLD
Preliminaries
HOCQA for 4LQS R
HOCQA 4,×
Procedure HOCQA-DLD
Conclusions
Procedure HOCQA-DL4,×
D
Given
φKB corresponding to a DL4,×
D -knowledge base KB and
ψQ corresponding to a DL4,×
D -HO conjunctive query Q
It consists of:
a preliminary phase,
a saturation phase, and
a phase of construction of the answer set.
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 28 / 43
Introduction 4,×
HOCQA for DLD
Preliminaries
HOCQA for 4LQS R
HOCQA 4,×
Procedure HOCQA-DLD
Conclusions
Procedure HOCQA-DL4,×
D
We define
m
S
ΦKB =defAs Exp(Si ) ∪ {Fj : i = 1, . . . , k} ,
i=1
where
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 29 / 43
Introduction 4,×
HOCQA for DLD
Preliminaries
HOCQA for 4LQS R
HOCQA 4,×
Procedure HOCQA-DLD
Conclusions
Procedure HOCQA-DL4,×
D
Example:
Procedure HOCQA-DL4,×
D
Example:
xA ∈ XP1 }
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 31 / 43
Introduction 4,×
HOCQA for DLD
Preliminaries
HOCQA for 4LQS R
HOCQA 4,×
Procedure HOCQA-DLD
Conclusions
Procedure HOCQA-DL4,×
D
Expansion rules for the KE-tableau
β1 ∨ . . . ∨ βn Siβ
E-Rule PB-Rule
βi A | A
Procedure HOCQA-DL4,×
D - saturation phase
4,×
1: procedure HOCQA-DLD (ψQ ,φKB );
2: Σ0 := ∅;
3: - let ΦKB be the expansion of φKB ;
4: TKB := ΦKB ;
5: while TKB is not fulfilled do
6: - select an unfulfilled open branch ϑ of TKB and an unfulfilled
formula β1 ∨ . . . ∨ βn in ϑ;
7: if Sjβ is in ϑ, for some j ∈ {1, . . . , n} then
8: - apply the E-Rule to β1 ∨ . . . ∨ βn and Sjβ on ϑ;
9: else
10: - let B β be the collection of the formulae β 1 , . . . , β n present
in ϑ and let h be the lowest index such that β h ∈ / Bβ;
11: - apply the PB-rule to β h on ϑ;
12: end if;
13: end while; . procedure continues
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 33 / 43
Introduction 4,×
HOCQA for DLD
Preliminaries
HOCQA for 4LQS R
HOCQA 4,×
Procedure HOCQA-DLD
Conclusions
Procedure HOCQA-DL4,×
D - saturation phase
Example:
1 )∨x
¬(xA ∈ XKid 1
Ann ∈ XPerson
1 ) ∨ x ∈ X1
¬(xAnn ∈ XKid A VeryYoung
1
¬(xAnn ∈ XPerson 1
) ∨ ¬(xA ∈ XVeryYoung 1
) ∨ xAnn ∈ XKid
1
xAnn ∈ XPerson
PB-Rule
1
xAnn ∈ XVeryYoung 1
¬(xAnn ∈ XVeryYoung )
E-Rule E-Rule
xAnn ∈ 1
XKid 1 )
¬(xAnn ∈ XKid
Complete Complete
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 34 / 43
Introduction 4,×
HOCQA for DLD
Preliminaries
HOCQA for 4LQS R
HOCQA 4,×
Procedure HOCQA-DLD
Conclusions
Procedure HOCQA-DL4,×
D - equivalence axioms
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 35 / 43
Introduction 4,×
HOCQA for DLD
Preliminaries
HOCQA for 4LQS R
HOCQA 4,×
Procedure HOCQA-DLD
Conclusions
Procedure HOCQA-DL4,×
D - construction of the HO answer set
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 36 / 43
Introduction 4,×
HOCQA for DLD
Preliminaries
HOCQA for 4LQS R
HOCQA 4,×
Procedure HOCQA-DLD
Conclusions
Procedure HOCQA-DL4,×
D - construction of the HO answer set
36: M M
LitQ := LitQ \ {t};
37: - push (σ 0 ρ, ψQ σϑ σ 0 ρ) in S;
38: end while;
39: else
40: Σ0 := Σ0 ∪ {σϑ σ 0 };
41: end if;
42: end while;
43: end if; . end while of line 14
45: return (TKB , Σ0 ); . end of procedure
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 37 / 43
Introduction 4,×
HOCQA for DLD
Preliminaries
HOCQA for 4LQS R
HOCQA 4,×
Procedure HOCQA-DLD
Conclusions
Procedure HOCQA-DL4,×
D - construction of the HO answer set
Example:
1 )∨x
¬(xAnn ∈ XKid 1
Ann ∈ XPerson
1 )∨x
¬(xAnn ∈ XKid 1
Ann ∈ XVeryYoung
1
¬(xAnn ∈ XPerson 1
) ∨ ¬(xA ∈ XVeryYoung 1
) ∨ xAnn ∈ XKid
1
xAnn ∈ XPerson
PB-Rule
1
xAnn ∈ XVeryYoung 1
¬(xAnn ∈ XVeryYoung )
E-Rule E-Rule
1
xAnn ∈ XKid 1 )
¬(xAnn ∈ XKid
Complete Complete
1 ∧ y ∈ X1
h, x ∈ XKid VeryYoung i
1
h{x/xAnn }, y ∈ XVeryYoung i
h{x/xAnn , y /xAnn }, Λi
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 38 / 43
Introduction 4,×
HOCQA for DLD
Preliminaries
HOCQA for 4LQS R
HOCQA 4,×
Procedure HOCQA-DLD
Conclusions
Some remarks
Conclusions
4,×
We addressed the problem of HOCQA for DLD by
4,×
formalizing the notions of DLD -knowledge bases and of
DL4,× R
D -HO conjunctive queries in terms of 4LQS .
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 40 / 43
Introduction
Conclusions
Preliminaries
Future Work
HOCQA
References
Conclusions
References
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 42 / 43
Introduction
Conclusions
Preliminaries
Future Work
HOCQA
References
Conclusions
References
Cantone, Nicolosi-Asmundo, Santamaria Rule ML+RR 2017 - London, July 13, 2017 43 / 43