SlideShare une entreprise Scribd logo
1  sur  60
Télécharger pour lire hors ligne
Explanations for
DL-Lite
Alexander Borgida 2
Diego Calvanese 1
Mariano Rodríguez-Muro 1
1
1 Free University of Bozen Bolzano
2 Rutgers University
ODBASE 08 - Monterrey, México
Thursday, August 8, 13
Outline
• Explanations
• DL-Lite and Explanations for DL-Lite
• Explanations for traditional services
• Explanations for conjunctive queries
• Conclusions and future work
2 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
Explanations
3 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
Explanations
Why explanations?
3 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
Explanations
Why explanations?
What are explanations?
3 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
Explanations
Why explanations?
What are explanations?
• Explanations are formal proofs, constructed
from premises using rules of inference.
3 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
Explanations
Why explanations?
What are explanations?
• Explanations are formal proofs, constructed
from premises using rules of inference.
3
Features of an explanation:
ODBASE 08 - Monterrey, México
Thursday, August 8, 13
Explanations
Why explanations?
What are explanations?
• Explanations are formal proofs, constructed
from premises using rules of inference.
3
Features of an explanation:
• Style
• Length
• Presentation
ODBASE 08 - Monterrey, México
Thursday, August 8, 13
Explanations (cont.)
4 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
Explanations (cont.)
Audience: KB developer, End user
4 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
Explanations (cont.)
Audience: KB developer, End user
4
1. Style. Understandable inference rules (NOT
refutation or resolution)
ODBASE 08 - Monterrey, México
Thursday, August 8, 13
Explanations (cont.)
Audience: KB developer, End user
4
1. Style. Understandable inference rules (NOT
refutation or resolution)
2. Length: 'shorter' preferred
ODBASE 08 - Monterrey, México
Thursday, August 8, 13
Explanations (cont.)
Audience: KB developer, End user
4
1. Style. Understandable inference rules (NOT
refutation or resolution)
2. Length: 'shorter' preferred
3. Presentation: Complete proof vs Iterative process. as
indicated by the user. Possibly eliminating 'obvious'
parts (not addressed here)
ODBASE 08 - Monterrey, México
Thursday, August 8, 13
DL-Litef
Concept constructs
B ::= A | ƎP | ƎP-
C::= B | ¬B | C1 ⊓ C2
TBox Assertions
B ⊑ C
(funct P) (funt P-)
ABox Assertions
A(a) R(a,b)
5 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
DL-Litef
Is-A Hierarchies
Class disjointness
Role-typing
Participation constraints
Non-participation constraints
Functionality restrictions
A1 ⊑ A2
A1 ⊑ ¬A2
ƎP ⊑ A1
ƎP- ⊑ A1
A1 ⊑ ƎP
A1 ⊑ ƎP-
A1 ⊑ ¬ƎP
A1 ⊑ ¬ƎP-
(funct P) (funct P-)
6 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
DL-Litef
A1 ⊑ A2
A1 ⊑ ¬A2
ƎP ⊑ A1
ƎP- ⊑ A1
A1 ⊑ ƎP
A1 ⊑ ƎP-
A1 ⊑ ¬ƎP
A1 ⊑ ¬ƎP-
(funct P) (funct P-)
A1 ⊑ A2
disjoint(A1,A2)
domain(P) ⊑ A1
range(P) ⊑ A1
A1 ⊑ domain(P)
A1 ⊑ range(P)
disjoint(A1, domain(P))
disjoint(A1, range(P))
(funct P) (funct P-)
6 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
Reasoning services
7 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
Reasoning services
• Standard Inferences
• TBox reasoning (concept consistency, subsumption)
• ABox reasoning (KB satisfiability, Instance checking*)
7 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
Reasoning services
• Standard Inferences
• TBox reasoning (concept consistency, subsumption)
• ABox reasoning (KB satisfiability, Instance checking*)
✦ Finite model reasoning
7 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
Reasoning services
• Standard Inferences
• TBox reasoning (concept consistency, subsumption)
• ABox reasoning (KB satisfiability, Instance checking*)
✦ Finite model reasoning
• Conjunctive Query Answering
7 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
Reasoning services
• Standard Inferences
• TBox reasoning (concept consistency, subsumption)
• ABox reasoning (KB satisfiability, Instance checking*)
✦ Finite model reasoning
• Conjunctive Query Answering
• Successful queries
• Failed queries
7 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
B C
A
D
Concept Subsumption
8 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
B C
A
D
Concept Subsumption
• Hierarchy Traversing
8 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
B C
A
D
Concept Subsumption
• Hierarchy Traversing
A ⊑ D ⊓ C
8 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
B C
A
D
Concept Subsumption
• Hierarchy Traversing
A ⊑ D ⊓ C
A ⊑ C
A ⊑ B
B ⊑ D
8 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
B C
A
D
Concept Subsumption
• Hierarchy Traversing
A ⊑ D ⊓ C
A ⊑ C
A ⊑ B
B ⊑ D
• Minimal size explanations
8 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
B1
C2
C1
A
C3
B2
B3
disjoint
n j
9
A is unsatisfiable
ODBASE 08 - Monterrey, México
Thursday, August 8, 13
B1
C2
C1
A
C3
B2
B3
disjoint
n j
9
Explanation
length
n + j = 6
A is unsatisfiable
ODBASE 08 - Monterrey, México
Thursday, August 8, 13
B1
C2
C1
A
E3
E2
E1D1
C3
E4
B2
B3
disjoint
disjoint
n j k l
10
A is unsatisfiable
ODBASE 08 - Monterrey, México
Thursday, August 8, 13
B1
C2
C1
A
E3
E2
E1D1
C3
E4
B2
B3
disjoint
disjoint
Explanation
length
k + l = 5
Explanation
length
n + j = 6
n j k l
10
A is unsatisfiable
ODBASE 08 - Monterrey, México
Thursday, August 8, 13
KB is inconsistent
11
1. PhD ⊑ Student
2. disjoint(Professor, Student)
3. range(supervisedBy) ⊑ Professor
4. PhD(al)
5. supevisedBy(tim, al)
ODBASE 08 - Monterrey, México
Thursday, August 8, 13
KB is inconsistent
11
1. PhD ⊑ Student
2. disjoint(Professor, Student)
3. range(supervisedBy) ⊑ Professor
4. PhD(al)
5. supevisedBy(tim, al)
al is a Student
al is a Professor
no Student can be a Professor ➔	 2
ODBASE 08 - Monterrey, México
Thursday, August 8, 13
KB is inconsistent
11
1. PhD ⊑ Student
2. disjoint(Professor, Student)
3. range(supervisedBy) ⊑ Professor
4. PhD(al)
5. supevisedBy(tim, al)
al is a Student
!every PhD is also a Student ➔	 1
!al is a PhD ➔	 4
al is a Professor
no Student can be a Professor ➔	 2
ODBASE 08 - Monterrey, México
Thursday, August 8, 13
KB is inconsistent
11
1. PhD ⊑ Student
2. disjoint(Professor, Student)
3. range(supervisedBy) ⊑ Professor
4. PhD(al)
5. supevisedBy(tim, al)
al is a Student
!every PhD is also a Student ➔	 1
!al is a PhD ➔	 4
al is a Professor
everything in the range of supervisedBy is also
a Professor ➔	 3
al is in range of supervisedBy
no Student can be a Professor ➔	 2
ODBASE 08 - Monterrey, México
Thursday, August 8, 13
KB is inconsistent
11
1. PhD ⊑ Student
2. disjoint(Professor, Student)
3. range(supervisedBy) ⊑ Professor
4. PhD(al)
5. supevisedBy(tim, al)
al is a Student
!every PhD is also a Student ➔	 1
!al is a PhD ➔	 4
al is a Professor
everything in the range of supervisedBy is also
a Professor ➔	 3
al is in range of supervisedBy
tim supervisedBy al ➔	 5
no Student can be a Professor ➔	 2
ODBASE 08 - Monterrey, México
Thursday, August 8, 13
Query Answering
• Successful queries
12 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
⋮
Student(bob)
Student(juan)
supervisedBy(tom, bob)
Student(al)
supervisedBy(tim, al)
teaches(al, ben)
teaches(sam, ben)
teaches(sam, john)
teaches(sam, karl)
⋮
CQs in regular DBs
q(x) :- Student(x), supervisedBy(y,x), teaches(x,z)
13 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
⋮
Student(bob)
Student(juan)
supervisedBy(tom, bob)
Student(al)
supervisedBy(tim, al)
teaches(al, ben)
teaches(sam, ben)
teaches(sam, john)
teaches(sam, karl)
⋮
CQs in regular DBs
q(x) :- Student(x), supervisedBy(y,x), teaches(x,z)
q(al)
13 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
⋮
Student(bob)
Student(juan)
supervisedBy(tom, bob)
Student(al)
supervisedBy(tim, al)
teaches(al, ben)
teaches(sam, ben)
teaches(sam, john)
teaches(sam, karl)
⋮
CQs in regular DBs
q(x) :- Student(x), supervisedBy(y,x), teaches(x,z)
q(al)
Student(al), x=al
supervisedBy(tim, al), y=tim
teaches(al, ben), z = ben
13 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
1.PhD ⊑ Student
2.PhD ⊑ dom(supervisedBy)
3.range(supervisedBy) ⊑ Professor
4.Professor ⊑ domain(teaches)
5.PhD(al)
q(x) :- Student(x), supervisedBy(x,y),
teaches(y,z)
14 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
1.PhD ⊑ Student
2.PhD ⊑ dom(supervisedBy)
3.range(supervisedBy) ⊑ Professor
4.Professor ⊑ domain(teaches)
5.PhD(al)
q(x) :- Student(x), supervisedBy(x,y),
teaches(y,z)
q(al)
14 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
al supervisedBy @1!!
1.PhD ⊑ Student
2.PhD ⊑ dom(supervisedBy)
3.range(supervisedBy) ⊑ Professor
4.Professor ⊑ domain(teaches)
5.PhD(al)
@1 teaches @2
al is a Student
q(x) :- Student(x), supervisedBy(x,y),
teaches(y,z)
q(al)
14 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
al supervisedBy @1!!
1.PhD ⊑ Student
2.PhD ⊑ dom(supervisedBy)
3.range(supervisedBy) ⊑ Professor
4.Professor ⊑ domain(teaches)
5.PhD(al)
@1 teaches @2
al is a Student
every PhD is also a Student ➔ 1
al is a PhD ➔	 5	 
q(x) :- Student(x), supervisedBy(x,y),
teaches(y,z)
q(al)
14 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
al supervisedBy @1!!
al is in the domain of supervisedBy
1.PhD ⊑ Student
2.PhD ⊑ dom(supervisedBy)
3.range(supervisedBy) ⊑ Professor
4.Professor ⊑ domain(teaches)
5.PhD(al)
@1 teaches @2
al is a Student
every PhD is also a Student ➔ 1
al is a PhD ➔	 5	 
q(x) :- Student(x), supervisedBy(x,y),
teaches(y,z)
q(al)
14 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
al supervisedBy @1!!
al is in the domain of supervisedBy
every PhD is also in the domain of supervisedBy ➔	 2
al is a PhD ➔	 5
1.PhD ⊑ Student
2.PhD ⊑ dom(supervisedBy)
3.range(supervisedBy) ⊑ Professor
4.Professor ⊑ domain(teaches)
5.PhD(al)
@1 teaches @2
al is a Student
every PhD is also a Student ➔ 1
al is a PhD ➔	 5	 
q(x) :- Student(x), supervisedBy(x,y),
teaches(y,z)
q(al)
14 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
al supervisedBy @1!!
al is in the domain of supervisedBy
every PhD is also in the domain of supervisedBy ➔	 2
al is a PhD ➔	 5
1.PhD ⊑ Student
2.PhD ⊑ dom(supervisedBy)
3.range(supervisedBy) ⊑ Professor
4.Professor ⊑ domain(teaches)
5.PhD(al)
@1 teaches @2
every Professor is in the domain of teaches ➔	 4
@1 is a Professor
al is a Student
every PhD is also a Student ➔ 1
al is a PhD ➔	 5	 
q(x) :- Student(x), supervisedBy(x,y),
teaches(y,z)
q(al)
14 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
al supervisedBy @1!!
al is in the domain of supervisedBy
every PhD is also in the domain of supervisedBy ➔	 2
al is a PhD ➔	 5
1.PhD ⊑ Student
2.PhD ⊑ dom(supervisedBy)
3.range(supervisedBy) ⊑ Professor
4.Professor ⊑ domain(teaches)
5.PhD(al)
@1 teaches @2
every Professor is in the domain of teaches ➔	 4
@1 is a Professor
@1 is in the range of supervisedBy
everything in the range of supervisedBy is a
Professor ➔	 3
al is a Student
every PhD is also a Student ➔ 1
al is a PhD ➔	 5	 
q(x) :- Student(x), supervisedBy(x,y),
teaches(y,z)
q(al)
14 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
al supervisedBy @1!!
al is in the domain of supervisedBy
every PhD is also in the domain of supervisedBy ➔	 2
al is a PhD ➔	 5
1.PhD ⊑ Student
2.PhD ⊑ dom(supervisedBy)
3.range(supervisedBy) ⊑ Professor
4.Professor ⊑ domain(teaches)
5.PhD(al)
@1 teaches @2
every Professor is in the domain of teaches ➔	 4
@1 is a Professor
@1 is in the range of supervisedBy
everything in the range of supervisedBy is a
Professor ➔	 3
al is a Student
every PhD is also a Student ➔ 1
al is a PhD ➔	 5	 
q(x) :- Student(x), supervisedBy(x,y),
teaches(y,z)
q(al)
14 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
Query Answering
15 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
Query Answering
• Successful queries
• Failed queries
15 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
Query Answering
• Successful queries
• Failed queries
• Due to missing information
15 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
Query Answering
• Successful queries
• Failed queries
• Due to missing information
• Due to unsatisfiability
15 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
1.PhD ⊑ Student
2.range(supervisedBy) ⊑ Professor
3.disjoint(Professor,Student)
q(x):- PhD(x), supervisedBy(y, x)
q inconsistent
16 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
@1 is a Professor
@1 is a Student
1.PhD ⊑ Student
2.range(supervisedBy) ⊑ Professor
3.disjoint(Professor,Student)
q(x):- PhD(x), supervisedBy(y, x)
q inconsistent
q(@1) :- PhD(@1), supervisedBy(@2, @1)
no Student can be a Professor ➔	 3
16 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
@1 is a Professor
@1 is a Student
@1 is a PhD
every PhD is also a Student ➔	 1
1.PhD ⊑ Student
2.range(supervisedBy) ⊑ Professor
3.disjoint(Professor,Student)
q(x):- PhD(x), supervisedBy(y, x)
q inconsistent
q(@1) :- PhD(@1), supervisedBy(@2, @1)
no Student can be a Professor ➔	 3
16 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
@1 is a Professor
@1 is a Student
@1 is a PhD
every PhD is also a Student ➔	 1
1.PhD ⊑ Student
2.range(supervisedBy) ⊑ Professor
3.disjoint(Professor,Student)
q(x):- PhD(x), supervisedBy(y, x)
q inconsistent
q(@1) :- PhD(@1), supervisedBy(@2, @1)
no Student can be a Professor ➔	 3
16 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
@1 is a Professor
@2 supervisedBy @1
everything in the range of supervisedBy is a Professor ➔ 2
@1 is a Student
@1 is a PhD
every PhD is also a Student ➔	 1
1.PhD ⊑ Student
2.range(supervisedBy) ⊑ Professor
3.disjoint(Professor,Student)
q(x):- PhD(x), supervisedBy(y, x)
q inconsistent
q(@1) :- PhD(@1), supervisedBy(@2, @1)
no Student can be a Professor ➔	 3
16 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
@1 is a Professor
@2 supervisedBy @1
everything in the range of supervisedBy is a Professor ➔ 2
@1 is a Student
@1 is a PhD
every PhD is also a Student ➔	 1
1.PhD ⊑ Student
2.range(supervisedBy) ⊑ Professor
3.disjoint(Professor,Student)
q(x):- PhD(x), supervisedBy(y, x)
q inconsistent
q(@1) :- PhD(@1), supervisedBy(@2, @1)
no Student can be a Professor ➔	 3
16 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
Conclusions
• We addressed DL-Lite explanations can be given for
traditional reasoning services (shortness of proof).
• Finite model case.
• Explaining conjunctive queries when reasoning is
present by a) exploiting existing DL-Lite query
rewriting algorithm and b) Prolog-based program.
• We looked into the problem of explaining failed
answers to queries.
17 ODBASE 08 - Monterrey, México
Thursday, August 8, 13
Future Work
• Explanation of failed answers to CQs over
DL-Lite ontologies.
• Integration of prototype with the QuOnto
Reasoner.
• Explanation in Ontology Based Data Access
(presence of mappings).
• Field testing of the algorithms.
18 ODBASE 08 - Monterrey, México
Thursday, August 8, 13

Contenu connexe

Similaire à ODBASE'08 dl-lite explanations

Approaches for the Integration of Visual and Computational Analysis of Biomed...
Approaches for the Integration of Visual and Computational Analysis of Biomed...Approaches for the Integration of Visual and Computational Analysis of Biomed...
Approaches for the Integration of Visual and Computational Analysis of Biomed...Nils Gehlenborg
 
Automatic extraction of bioactivity data from patents
Automatic extraction of bioactivity data from patentsAutomatic extraction of bioactivity data from patents
Automatic extraction of bioactivity data from patentsNextMove Software
 
Analyze an Argument_ Practice 1 (English I Reading) _ Texas Gateway.pdf
Analyze an Argument_ Practice 1 (English I Reading) _ Texas Gateway.pdfAnalyze an Argument_ Practice 1 (English I Reading) _ Texas Gateway.pdf
Analyze an Argument_ Practice 1 (English I Reading) _ Texas Gateway.pdfrrrrrrrrr4
 
Linked data in libraries: another fad or paradigm shift?
Linked data in libraries: another fad or paradigm shift?Linked data in libraries: another fad or paradigm shift?
Linked data in libraries: another fad or paradigm shift?Amber Billey
 
Introduction to query rewriting optimisation with dependencies
Introduction to query rewriting optimisation with dependenciesIntroduction to query rewriting optimisation with dependencies
Introduction to query rewriting optimisation with dependenciesMariano Rodriguez-Muro
 
Revealing Entities From Texts With a Hybrid Approach
Revealing Entities From Texts With a Hybrid ApproachRevealing Entities From Texts With a Hybrid Approach
Revealing Entities From Texts With a Hybrid ApproachJulien PLU
 
A Practical Ontology for the Large-Scale Modeling of Scholarly Artifacts and ...
A Practical Ontology for the Large-Scale Modeling of Scholarly Artifacts and ...A Practical Ontology for the Large-Scale Modeling of Scholarly Artifacts and ...
A Practical Ontology for the Large-Scale Modeling of Scholarly Artifacts and ...Marko Rodriguez
 
Sharing Data Sets to Personalize Learning
Sharing Data Sets to Personalize LearningSharing Data Sets to Personalize Learning
Sharing Data Sets to Personalize LearningHendrik Drachsler
 
Propagation of Policies in Rich Data Flows
Propagation of Policies in Rich Data FlowsPropagation of Policies in Rich Data Flows
Propagation of Policies in Rich Data FlowsEnrico Daga
 
Constructing Semantic Gazetteers: Managing GeoSpatial Vocabularies Using Open...
Constructing Semantic Gazetteers: Managing GeoSpatial Vocabularies Using Open...Constructing Semantic Gazetteers: Managing GeoSpatial Vocabularies Using Open...
Constructing Semantic Gazetteers: Managing GeoSpatial Vocabularies Using Open...Stephane Fellah
 
Studi Penerapan Ontologi dalam Bahasa Inggris sebagai Kerangka
Studi Penerapan Ontologi dalam Bahasa Inggris sebagai KerangkaStudi Penerapan Ontologi dalam Bahasa Inggris sebagai Kerangka
Studi Penerapan Ontologi dalam Bahasa Inggris sebagai KerangkaMetilova Sitorus
 

Similaire à ODBASE'08 dl-lite explanations (14)

DL'12 dl-lite explanations
DL'12 dl-lite explanationsDL'12 dl-lite explanations
DL'12 dl-lite explanations
 
Approaches for the Integration of Visual and Computational Analysis of Biomed...
Approaches for the Integration of Visual and Computational Analysis of Biomed...Approaches for the Integration of Visual and Computational Analysis of Biomed...
Approaches for the Integration of Visual and Computational Analysis of Biomed...
 
Automatic extraction of bioactivity data from patents
Automatic extraction of bioactivity data from patentsAutomatic extraction of bioactivity data from patents
Automatic extraction of bioactivity data from patents
 
Analyze an Argument_ Practice 1 (English I Reading) _ Texas Gateway.pdf
Analyze an Argument_ Practice 1 (English I Reading) _ Texas Gateway.pdfAnalyze an Argument_ Practice 1 (English I Reading) _ Texas Gateway.pdf
Analyze an Argument_ Practice 1 (English I Reading) _ Texas Gateway.pdf
 
Loupe model - Use Cases and Requirements
Loupe model - Use Cases and Requirements Loupe model - Use Cases and Requirements
Loupe model - Use Cases and Requirements
 
Linked data in libraries: another fad or paradigm shift?
Linked data in libraries: another fad or paradigm shift?Linked data in libraries: another fad or paradigm shift?
Linked data in libraries: another fad or paradigm shift?
 
Introduction to query rewriting optimisation with dependencies
Introduction to query rewriting optimisation with dependenciesIntroduction to query rewriting optimisation with dependencies
Introduction to query rewriting optimisation with dependencies
 
Revealing Entities From Texts With a Hybrid Approach
Revealing Entities From Texts With a Hybrid ApproachRevealing Entities From Texts With a Hybrid Approach
Revealing Entities From Texts With a Hybrid Approach
 
A Practical Ontology for the Large-Scale Modeling of Scholarly Artifacts and ...
A Practical Ontology for the Large-Scale Modeling of Scholarly Artifacts and ...A Practical Ontology for the Large-Scale Modeling of Scholarly Artifacts and ...
A Practical Ontology for the Large-Scale Modeling of Scholarly Artifacts and ...
 
Sharing Data Sets to Personalize Learning
Sharing Data Sets to Personalize LearningSharing Data Sets to Personalize Learning
Sharing Data Sets to Personalize Learning
 
Propagation of Policies in Rich Data Flows
Propagation of Policies in Rich Data FlowsPropagation of Policies in Rich Data Flows
Propagation of Policies in Rich Data Flows
 
Constructing Semantic Gazetteers: Managing GeoSpatial Vocabularies Using Open...
Constructing Semantic Gazetteers: Managing GeoSpatial Vocabularies Using Open...Constructing Semantic Gazetteers: Managing GeoSpatial Vocabularies Using Open...
Constructing Semantic Gazetteers: Managing GeoSpatial Vocabularies Using Open...
 
Studi Penerapan Ontologi dalam Bahasa Inggris sebagai Kerangka
Studi Penerapan Ontologi dalam Bahasa Inggris sebagai KerangkaStudi Penerapan Ontologi dalam Bahasa Inggris sebagai Kerangka
Studi Penerapan Ontologi dalam Bahasa Inggris sebagai Kerangka
 
CV_Ind
CV_IndCV_Ind
CV_Ind
 

Plus de Mariano Rodriguez-Muro

SWT Lecture Session 9 - RDB2RDF direct mapping
SWT Lecture Session 9 - RDB2RDF direct mappingSWT Lecture Session 9 - RDB2RDF direct mapping
SWT Lecture Session 9 - RDB2RDF direct mappingMariano Rodriguez-Muro
 
SWT Lecture Session 8 - Inference in jena
SWT Lecture Session 8 - Inference in jenaSWT Lecture Session 8 - Inference in jena
SWT Lecture Session 8 - Inference in jenaMariano Rodriguez-Muro
 
SWT Lecture Session 7 - Advanced uses of RDFS
SWT Lecture Session 7 - Advanced uses of RDFSSWT Lecture Session 7 - Advanced uses of RDFS
SWT Lecture Session 7 - Advanced uses of RDFSMariano Rodriguez-Muro
 
SWT Lecture Session 6 - RDFS semantics, inference techniques, sesame rdfs
SWT Lecture Session 6 - RDFS semantics, inference techniques, sesame rdfsSWT Lecture Session 6 - RDFS semantics, inference techniques, sesame rdfs
SWT Lecture Session 6 - RDFS semantics, inference techniques, sesame rdfsMariano Rodriguez-Muro
 
SWT Lecture Session 4 - SW architectures and SPARQL
SWT Lecture Session 4 - SW architectures and SPARQLSWT Lecture Session 4 - SW architectures and SPARQL
SWT Lecture Session 4 - SW architectures and SPARQLMariano Rodriguez-Muro
 

Plus de Mariano Rodriguez-Muro (20)

SWT Lecture Session 2 - RDF
SWT Lecture Session 2 - RDFSWT Lecture Session 2 - RDF
SWT Lecture Session 2 - RDF
 
SWT Lab 3
SWT Lab 3SWT Lab 3
SWT Lab 3
 
SWT Lab 5
SWT Lab 5SWT Lab 5
SWT Lab 5
 
SWT Lab 2
SWT Lab 2SWT Lab 2
SWT Lab 2
 
SWT Lab 1
SWT Lab 1SWT Lab 1
SWT Lab 1
 
SWT Lecture Session 11 - R2RML part 2
SWT Lecture Session 11 - R2RML part 2SWT Lecture Session 11 - R2RML part 2
SWT Lecture Session 11 - R2RML part 2
 
SWT Lecture Session 10 R2RML Part 1
SWT Lecture Session 10 R2RML Part 1SWT Lecture Session 10 R2RML Part 1
SWT Lecture Session 10 R2RML Part 1
 
SWT Lecture Session 9 - RDB2RDF direct mapping
SWT Lecture Session 9 - RDB2RDF direct mappingSWT Lecture Session 9 - RDB2RDF direct mapping
SWT Lecture Session 9 - RDB2RDF direct mapping
 
SWT Lecture Session 8 - Rules
SWT Lecture Session 8 - RulesSWT Lecture Session 8 - Rules
SWT Lecture Session 8 - Rules
 
SWT Lecture Session 8 - Inference in jena
SWT Lecture Session 8 - Inference in jenaSWT Lecture Session 8 - Inference in jena
SWT Lecture Session 8 - Inference in jena
 
SWT Lecture Session 7 - Advanced uses of RDFS
SWT Lecture Session 7 - Advanced uses of RDFSSWT Lecture Session 7 - Advanced uses of RDFS
SWT Lecture Session 7 - Advanced uses of RDFS
 
SWT Lecture Session 6 - RDFS semantics, inference techniques, sesame rdfs
SWT Lecture Session 6 - RDFS semantics, inference techniques, sesame rdfsSWT Lecture Session 6 - RDFS semantics, inference techniques, sesame rdfs
SWT Lecture Session 6 - RDFS semantics, inference techniques, sesame rdfs
 
SWT Lecture Session 5 - RDFS
SWT Lecture Session 5 - RDFSSWT Lecture Session 5 - RDFS
SWT Lecture Session 5 - RDFS
 
SWT Lecture Session 4 - SW architectures and SPARQL
SWT Lecture Session 4 - SW architectures and SPARQLSWT Lecture Session 4 - SW architectures and SPARQL
SWT Lecture Session 4 - SW architectures and SPARQL
 
SWT Lecture Session 4 - Sesame
SWT Lecture Session 4 - SesameSWT Lecture Session 4 - Sesame
SWT Lecture Session 4 - Sesame
 
SWT Lecture Session 3 - SPARQL
SWT Lecture Session 3 - SPARQLSWT Lecture Session 3 - SPARQL
SWT Lecture Session 3 - SPARQL
 
7 advanced uses of rdfs
7 advanced uses of rdfs7 advanced uses of rdfs
7 advanced uses of rdfs
 
5 rdfs
5 rdfs5 rdfs
5 rdfs
 
4 sw architectures and sparql
4 sw architectures and sparql4 sw architectures and sparql
4 sw architectures and sparql
 
4 sesame
4 sesame4 sesame
4 sesame
 

Dernier

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 

Dernier (20)

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 

ODBASE'08 dl-lite explanations

  • 1. Explanations for DL-Lite Alexander Borgida 2 Diego Calvanese 1 Mariano Rodríguez-Muro 1 1 1 Free University of Bozen Bolzano 2 Rutgers University ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 2. Outline • Explanations • DL-Lite and Explanations for DL-Lite • Explanations for traditional services • Explanations for conjunctive queries • Conclusions and future work 2 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 3. Explanations 3 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 4. Explanations Why explanations? 3 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 5. Explanations Why explanations? What are explanations? 3 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 6. Explanations Why explanations? What are explanations? • Explanations are formal proofs, constructed from premises using rules of inference. 3 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 7. Explanations Why explanations? What are explanations? • Explanations are formal proofs, constructed from premises using rules of inference. 3 Features of an explanation: ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 8. Explanations Why explanations? What are explanations? • Explanations are formal proofs, constructed from premises using rules of inference. 3 Features of an explanation: • Style • Length • Presentation ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 9. Explanations (cont.) 4 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 10. Explanations (cont.) Audience: KB developer, End user 4 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 11. Explanations (cont.) Audience: KB developer, End user 4 1. Style. Understandable inference rules (NOT refutation or resolution) ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 12. Explanations (cont.) Audience: KB developer, End user 4 1. Style. Understandable inference rules (NOT refutation or resolution) 2. Length: 'shorter' preferred ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 13. Explanations (cont.) Audience: KB developer, End user 4 1. Style. Understandable inference rules (NOT refutation or resolution) 2. Length: 'shorter' preferred 3. Presentation: Complete proof vs Iterative process. as indicated by the user. Possibly eliminating 'obvious' parts (not addressed here) ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 14. DL-Litef Concept constructs B ::= A | ƎP | ƎP- C::= B | ¬B | C1 ⊓ C2 TBox Assertions B ⊑ C (funct P) (funt P-) ABox Assertions A(a) R(a,b) 5 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 15. DL-Litef Is-A Hierarchies Class disjointness Role-typing Participation constraints Non-participation constraints Functionality restrictions A1 ⊑ A2 A1 ⊑ ¬A2 ƎP ⊑ A1 ƎP- ⊑ A1 A1 ⊑ ƎP A1 ⊑ ƎP- A1 ⊑ ¬ƎP A1 ⊑ ¬ƎP- (funct P) (funct P-) 6 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 16. DL-Litef A1 ⊑ A2 A1 ⊑ ¬A2 ƎP ⊑ A1 ƎP- ⊑ A1 A1 ⊑ ƎP A1 ⊑ ƎP- A1 ⊑ ¬ƎP A1 ⊑ ¬ƎP- (funct P) (funct P-) A1 ⊑ A2 disjoint(A1,A2) domain(P) ⊑ A1 range(P) ⊑ A1 A1 ⊑ domain(P) A1 ⊑ range(P) disjoint(A1, domain(P)) disjoint(A1, range(P)) (funct P) (funct P-) 6 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 17. Reasoning services 7 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 18. Reasoning services • Standard Inferences • TBox reasoning (concept consistency, subsumption) • ABox reasoning (KB satisfiability, Instance checking*) 7 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 19. Reasoning services • Standard Inferences • TBox reasoning (concept consistency, subsumption) • ABox reasoning (KB satisfiability, Instance checking*) ✦ Finite model reasoning 7 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 20. Reasoning services • Standard Inferences • TBox reasoning (concept consistency, subsumption) • ABox reasoning (KB satisfiability, Instance checking*) ✦ Finite model reasoning • Conjunctive Query Answering 7 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 21. Reasoning services • Standard Inferences • TBox reasoning (concept consistency, subsumption) • ABox reasoning (KB satisfiability, Instance checking*) ✦ Finite model reasoning • Conjunctive Query Answering • Successful queries • Failed queries 7 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 22. B C A D Concept Subsumption 8 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 23. B C A D Concept Subsumption • Hierarchy Traversing 8 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 24. B C A D Concept Subsumption • Hierarchy Traversing A ⊑ D ⊓ C 8 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 25. B C A D Concept Subsumption • Hierarchy Traversing A ⊑ D ⊓ C A ⊑ C A ⊑ B B ⊑ D 8 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 26. B C A D Concept Subsumption • Hierarchy Traversing A ⊑ D ⊓ C A ⊑ C A ⊑ B B ⊑ D • Minimal size explanations 8 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 27. B1 C2 C1 A C3 B2 B3 disjoint n j 9 A is unsatisfiable ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 28. B1 C2 C1 A C3 B2 B3 disjoint n j 9 Explanation length n + j = 6 A is unsatisfiable ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 29. B1 C2 C1 A E3 E2 E1D1 C3 E4 B2 B3 disjoint disjoint n j k l 10 A is unsatisfiable ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 30. B1 C2 C1 A E3 E2 E1D1 C3 E4 B2 B3 disjoint disjoint Explanation length k + l = 5 Explanation length n + j = 6 n j k l 10 A is unsatisfiable ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 31. KB is inconsistent 11 1. PhD ⊑ Student 2. disjoint(Professor, Student) 3. range(supervisedBy) ⊑ Professor 4. PhD(al) 5. supevisedBy(tim, al) ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 32. KB is inconsistent 11 1. PhD ⊑ Student 2. disjoint(Professor, Student) 3. range(supervisedBy) ⊑ Professor 4. PhD(al) 5. supevisedBy(tim, al) al is a Student al is a Professor no Student can be a Professor ➔ 2 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 33. KB is inconsistent 11 1. PhD ⊑ Student 2. disjoint(Professor, Student) 3. range(supervisedBy) ⊑ Professor 4. PhD(al) 5. supevisedBy(tim, al) al is a Student !every PhD is also a Student ➔ 1 !al is a PhD ➔ 4 al is a Professor no Student can be a Professor ➔ 2 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 34. KB is inconsistent 11 1. PhD ⊑ Student 2. disjoint(Professor, Student) 3. range(supervisedBy) ⊑ Professor 4. PhD(al) 5. supevisedBy(tim, al) al is a Student !every PhD is also a Student ➔ 1 !al is a PhD ➔ 4 al is a Professor everything in the range of supervisedBy is also a Professor ➔ 3 al is in range of supervisedBy no Student can be a Professor ➔ 2 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 35. KB is inconsistent 11 1. PhD ⊑ Student 2. disjoint(Professor, Student) 3. range(supervisedBy) ⊑ Professor 4. PhD(al) 5. supevisedBy(tim, al) al is a Student !every PhD is also a Student ➔ 1 !al is a PhD ➔ 4 al is a Professor everything in the range of supervisedBy is also a Professor ➔ 3 al is in range of supervisedBy tim supervisedBy al ➔ 5 no Student can be a Professor ➔ 2 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 36. Query Answering • Successful queries 12 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 37. ⋮ Student(bob) Student(juan) supervisedBy(tom, bob) Student(al) supervisedBy(tim, al) teaches(al, ben) teaches(sam, ben) teaches(sam, john) teaches(sam, karl) ⋮ CQs in regular DBs q(x) :- Student(x), supervisedBy(y,x), teaches(x,z) 13 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 38. ⋮ Student(bob) Student(juan) supervisedBy(tom, bob) Student(al) supervisedBy(tim, al) teaches(al, ben) teaches(sam, ben) teaches(sam, john) teaches(sam, karl) ⋮ CQs in regular DBs q(x) :- Student(x), supervisedBy(y,x), teaches(x,z) q(al) 13 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 39. ⋮ Student(bob) Student(juan) supervisedBy(tom, bob) Student(al) supervisedBy(tim, al) teaches(al, ben) teaches(sam, ben) teaches(sam, john) teaches(sam, karl) ⋮ CQs in regular DBs q(x) :- Student(x), supervisedBy(y,x), teaches(x,z) q(al) Student(al), x=al supervisedBy(tim, al), y=tim teaches(al, ben), z = ben 13 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 40. 1.PhD ⊑ Student 2.PhD ⊑ dom(supervisedBy) 3.range(supervisedBy) ⊑ Professor 4.Professor ⊑ domain(teaches) 5.PhD(al) q(x) :- Student(x), supervisedBy(x,y), teaches(y,z) 14 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 41. 1.PhD ⊑ Student 2.PhD ⊑ dom(supervisedBy) 3.range(supervisedBy) ⊑ Professor 4.Professor ⊑ domain(teaches) 5.PhD(al) q(x) :- Student(x), supervisedBy(x,y), teaches(y,z) q(al) 14 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 42. al supervisedBy @1!! 1.PhD ⊑ Student 2.PhD ⊑ dom(supervisedBy) 3.range(supervisedBy) ⊑ Professor 4.Professor ⊑ domain(teaches) 5.PhD(al) @1 teaches @2 al is a Student q(x) :- Student(x), supervisedBy(x,y), teaches(y,z) q(al) 14 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 43. al supervisedBy @1!! 1.PhD ⊑ Student 2.PhD ⊑ dom(supervisedBy) 3.range(supervisedBy) ⊑ Professor 4.Professor ⊑ domain(teaches) 5.PhD(al) @1 teaches @2 al is a Student every PhD is also a Student ➔ 1 al is a PhD ➔ 5 q(x) :- Student(x), supervisedBy(x,y), teaches(y,z) q(al) 14 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 44. al supervisedBy @1!! al is in the domain of supervisedBy 1.PhD ⊑ Student 2.PhD ⊑ dom(supervisedBy) 3.range(supervisedBy) ⊑ Professor 4.Professor ⊑ domain(teaches) 5.PhD(al) @1 teaches @2 al is a Student every PhD is also a Student ➔ 1 al is a PhD ➔ 5 q(x) :- Student(x), supervisedBy(x,y), teaches(y,z) q(al) 14 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 45. al supervisedBy @1!! al is in the domain of supervisedBy every PhD is also in the domain of supervisedBy ➔ 2 al is a PhD ➔ 5 1.PhD ⊑ Student 2.PhD ⊑ dom(supervisedBy) 3.range(supervisedBy) ⊑ Professor 4.Professor ⊑ domain(teaches) 5.PhD(al) @1 teaches @2 al is a Student every PhD is also a Student ➔ 1 al is a PhD ➔ 5 q(x) :- Student(x), supervisedBy(x,y), teaches(y,z) q(al) 14 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 46. al supervisedBy @1!! al is in the domain of supervisedBy every PhD is also in the domain of supervisedBy ➔ 2 al is a PhD ➔ 5 1.PhD ⊑ Student 2.PhD ⊑ dom(supervisedBy) 3.range(supervisedBy) ⊑ Professor 4.Professor ⊑ domain(teaches) 5.PhD(al) @1 teaches @2 every Professor is in the domain of teaches ➔ 4 @1 is a Professor al is a Student every PhD is also a Student ➔ 1 al is a PhD ➔ 5 q(x) :- Student(x), supervisedBy(x,y), teaches(y,z) q(al) 14 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 47. al supervisedBy @1!! al is in the domain of supervisedBy every PhD is also in the domain of supervisedBy ➔ 2 al is a PhD ➔ 5 1.PhD ⊑ Student 2.PhD ⊑ dom(supervisedBy) 3.range(supervisedBy) ⊑ Professor 4.Professor ⊑ domain(teaches) 5.PhD(al) @1 teaches @2 every Professor is in the domain of teaches ➔ 4 @1 is a Professor @1 is in the range of supervisedBy everything in the range of supervisedBy is a Professor ➔ 3 al is a Student every PhD is also a Student ➔ 1 al is a PhD ➔ 5 q(x) :- Student(x), supervisedBy(x,y), teaches(y,z) q(al) 14 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 48. al supervisedBy @1!! al is in the domain of supervisedBy every PhD is also in the domain of supervisedBy ➔ 2 al is a PhD ➔ 5 1.PhD ⊑ Student 2.PhD ⊑ dom(supervisedBy) 3.range(supervisedBy) ⊑ Professor 4.Professor ⊑ domain(teaches) 5.PhD(al) @1 teaches @2 every Professor is in the domain of teaches ➔ 4 @1 is a Professor @1 is in the range of supervisedBy everything in the range of supervisedBy is a Professor ➔ 3 al is a Student every PhD is also a Student ➔ 1 al is a PhD ➔ 5 q(x) :- Student(x), supervisedBy(x,y), teaches(y,z) q(al) 14 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 49. Query Answering 15 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 50. Query Answering • Successful queries • Failed queries 15 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 51. Query Answering • Successful queries • Failed queries • Due to missing information 15 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 52. Query Answering • Successful queries • Failed queries • Due to missing information • Due to unsatisfiability 15 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 53. 1.PhD ⊑ Student 2.range(supervisedBy) ⊑ Professor 3.disjoint(Professor,Student) q(x):- PhD(x), supervisedBy(y, x) q inconsistent 16 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 54. @1 is a Professor @1 is a Student 1.PhD ⊑ Student 2.range(supervisedBy) ⊑ Professor 3.disjoint(Professor,Student) q(x):- PhD(x), supervisedBy(y, x) q inconsistent q(@1) :- PhD(@1), supervisedBy(@2, @1) no Student can be a Professor ➔ 3 16 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 55. @1 is a Professor @1 is a Student @1 is a PhD every PhD is also a Student ➔ 1 1.PhD ⊑ Student 2.range(supervisedBy) ⊑ Professor 3.disjoint(Professor,Student) q(x):- PhD(x), supervisedBy(y, x) q inconsistent q(@1) :- PhD(@1), supervisedBy(@2, @1) no Student can be a Professor ➔ 3 16 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 56. @1 is a Professor @1 is a Student @1 is a PhD every PhD is also a Student ➔ 1 1.PhD ⊑ Student 2.range(supervisedBy) ⊑ Professor 3.disjoint(Professor,Student) q(x):- PhD(x), supervisedBy(y, x) q inconsistent q(@1) :- PhD(@1), supervisedBy(@2, @1) no Student can be a Professor ➔ 3 16 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 57. @1 is a Professor @2 supervisedBy @1 everything in the range of supervisedBy is a Professor ➔ 2 @1 is a Student @1 is a PhD every PhD is also a Student ➔ 1 1.PhD ⊑ Student 2.range(supervisedBy) ⊑ Professor 3.disjoint(Professor,Student) q(x):- PhD(x), supervisedBy(y, x) q inconsistent q(@1) :- PhD(@1), supervisedBy(@2, @1) no Student can be a Professor ➔ 3 16 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 58. @1 is a Professor @2 supervisedBy @1 everything in the range of supervisedBy is a Professor ➔ 2 @1 is a Student @1 is a PhD every PhD is also a Student ➔ 1 1.PhD ⊑ Student 2.range(supervisedBy) ⊑ Professor 3.disjoint(Professor,Student) q(x):- PhD(x), supervisedBy(y, x) q inconsistent q(@1) :- PhD(@1), supervisedBy(@2, @1) no Student can be a Professor ➔ 3 16 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 59. Conclusions • We addressed DL-Lite explanations can be given for traditional reasoning services (shortness of proof). • Finite model case. • Explaining conjunctive queries when reasoning is present by a) exploiting existing DL-Lite query rewriting algorithm and b) Prolog-based program. • We looked into the problem of explaining failed answers to queries. 17 ODBASE 08 - Monterrey, México Thursday, August 8, 13
  • 60. Future Work • Explanation of failed answers to CQs over DL-Lite ontologies. • Integration of prototype with the QuOnto Reasoner. • Explanation in Ontology Based Data Access (presence of mappings). • Field testing of the algorithms. 18 ODBASE 08 - Monterrey, México Thursday, August 8, 13