SlideShare una empresa de Scribd logo
1 de 71
Descargar para leer sin conexión
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
DL Workshop - May 2008 - Dresden
Outline
• Explanations
• DL-Lite and Explanations for DL-Lite
• Explanations for traditional services
• Explanations for conjunctive queries
• Conclusions and future work
2 DL Workshop - May 2008 - Dresden
Explanations
3 DL Workshop - May 2008 - Dresden
Explanations
Why explanations?
3 DL Workshop - May 2008 - Dresden
Explanations
Why explanations?
What are explanations?
3 DL Workshop - May 2008 - Dresden
Explanations
Why explanations?
What are explanations?
• Explanations are formal proofs, constructed
from premises using rules of inference.
3 DL Workshop - May 2008 - Dresden
Explanations
Why explanations?
What are explanations?
• Explanations are formal proofs, constructed
from premises using rules of inference.
3
Features of an explanation:
DL Workshop - May 2008 - Dresden
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
DL Workshop - May 2008 - Dresden
Explanations (cont.)
4 DL Workshop - May 2008 - Dresden
Explanations (cont.)
Audience: KB developer, End user
4 DL Workshop - May 2008 - Dresden
Explanations (cont.)
Audience: KB developer, End user
4
1. Style. Understandable inference rules (NOT
refutation or resolution)
DL Workshop - May 2008 - Dresden
Explanations (cont.)
Audience: KB developer, End user
4
1. Style. Understandable inference rules (NOT
refutation or resolution)
2. Length: 'shorter' preferred
DL Workshop - May 2008 - Dresden
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)
DL Workshop - May 2008 - Dresden
Explanations
1. Explanations as formal proofs
2. Proof content: understandable inference rules
(NOT refutation or resolution)
• In DL-Lite, mostly simple rules
• but want performance system to help find
‘explanation proofs’
3. Proof size: 'shorter' preferred
X
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 DL Workshop - May 2008 - Dresden
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 DL Workshop - May 2008 - Dresden
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 DL Workshop - May 2008 - Dresden
Reasoning services
7 DL Workshop - May 2008 - Dresden
Reasoning services
• Standard Inferences
• TBox reasoning (concept consistency, subsumption)
• ABox reasoning (KB satisfiability, Instance checking*)
7 DL Workshop - May 2008 - Dresden
Reasoning services
• Standard Inferences
• TBox reasoning (concept consistency, subsumption)
• ABox reasoning (KB satisfiability, Instance checking*)
✦ Finite model reasoning
7 DL Workshop - May 2008 - Dresden
Reasoning services
• Standard Inferences
• TBox reasoning (concept consistency, subsumption)
• ABox reasoning (KB satisfiability, Instance checking*)
✦ Finite model reasoning
• Conjunctive Query Answering
7 DL Workshop - May 2008 - Dresden
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 DL Workshop - May 2008 - Dresden
Generalized Inferece
Rules
<same cardinality>
<rng compos>
<dom compos>
<func compos>
X
B C
A
D
Concept Subsumption
8 DL Workshop - May 2008 - Dresden
B C
A
D
Concept Subsumption
• Hierarchy Traversing
8 DL Workshop - May 2008 - Dresden
B C
A
D
Concept Subsumption
• Hierarchy Traversing
A ⊑ D ⊓ C
8 DL Workshop - May 2008 - Dresden
B C
A
D
Concept Subsumption
• Hierarchy Traversing
A ⊑ D ⊓ C
A ⊑ C
A ⊑ B
B ⊑ D
8 DL Workshop - May 2008 - Dresden
B C
A
D
Concept Subsumption
• Hierarchy Traversing
A ⊑ D ⊓ C
A ⊑ C
A ⊑ B
B ⊑ D
• Minimal size explanations
8 DL Workshop - May 2008 - Dresden
B1
C2
C1
A
C3
B2
B3
disjoint
n j
9
A is unsatisfiable
DL Workshop - May 2008 - Dresden
B1
C2
C1
A
C3
B2
B3
disjoint
n j
9
Explanation
length
n + j = 6
A is unsatisfiable
DL Workshop - May 2008 - Dresden
B1
C2
C1
A
E3
E2
E1D1
C3
E4
B2
B3
disjoint
disjoint
n j k l
10
A is unsatisfiable
DL Workshop - May 2008 - Dresden
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
DL Workshop - May 2008 - Dresden
B1
C2
C1
A
E3
E2
E1D1
C3
E1
B2
B3
disjoint
disjoint
Explanation
length
k + l = 5
A is unsatisfiable
Explanation
length
n + j = 6
n j k l
X
B1
C2
C1
A
E3
E2
E1D1
C3
E1
B2
B3
disjoint
disjoint
Explanation
length
k + l = 5
A is unsatisfiable
Explanation
length
n + j = 6
n j k l
X
B1
C2
C1
A
E3
E2
E1D1
C3
E1
B2
B3
disjoint
disjoint
Explanation
length
k + l = 5
A is unsatisfiable
Explanation
length
n + j = 6
n j k l
X
KB is inconsistent
11
1. PhD ⊑ Student
2. disjoint(Professor, Student)
3. range(supervisedBy) ⊑ Professor
4. PhD(al)
5. supevisedBy(tim, al)
DL Workshop - May 2008 - Dresden
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
DL Workshop - May 2008 - Dresden
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
DL Workshop - May 2008 - Dresden
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
DL Workshop - May 2008 - Dresden
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
DL Workshop - May 2008 - Dresden
Query Answering
• Successful queries
12 DL Workshop - May 2008 - Dresden
⋮
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 DL Workshop - May 2008 - Dresden
⋮
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 DL Workshop - May 2008 - Dresden
⋮
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 DL Workshop - May 2008 - Dresden
CQs in DL-Lite
q(x) :- Student(x), supervisedBy(y,x), teaches(x,z)
X
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 DL Workshop - May 2008 - Dresden
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 DL Workshop - May 2008 - Dresden
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 DL Workshop - May 2008 - Dresden
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 DL Workshop - May 2008 - Dresden
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 DL Workshop - May 2008 - Dresden
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 DL Workshop - May 2008 - Dresden
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 DL Workshop - May 2008 - Dresden
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 DL Workshop - May 2008 - Dresden
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 DL Workshop - May 2008 - Dresden
Query Answering
15 DL Workshop - May 2008 - Dresden
Query Answering
• Successful queries
• Failed queries
15 DL Workshop - May 2008 - Dresden
Query Answering
• Successful queries
• Failed queries
• Due to missing information
15 DL Workshop - May 2008 - Dresden
Query Answering
• Successful queries
• Failed queries
• Due to missing information
• Due to unsatisfiability
15 DL Workshop - May 2008 - Dresden
1.PhD ⊑ Student
2.range(supervisedBy) ⊑ Professor
3.disjoint(Professor,Student)
q(x):- PhD(x), supervisedBy(y, x)
q inconsistent
16 DL Workshop - May 2008 - Dresden
@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 DL Workshop - May 2008 - Dresden
@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 DL Workshop - May 2008 - Dresden
@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 DL Workshop - May 2008 - Dresden
@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 DL Workshop - May 2008 - Dresden
@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 DL Workshop - May 2008 - Dresden
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 exploiting existing DL-Lite query
rewriting algorithm.
• We looked into the problem of explaining failed
answers to queries.
17 DL Workshop - May 2008 - Dresden
Future Work
• Implementation for the QuOnto system.
• Explanation of failed answers to CQs over
DL-Lite ontologies.
• Explanation in Ontology Based Data Access
(presence of mappings).
18 DL Workshop - May 2008 - Dresden
Finite Model Reasoning
the set of TA is contained in student (2)
the number of students < the number of TAs
the number of students < the number of objects
in the domain of tutors (3 + subset count inference rule)
number of objects in the domain of tutors < number of objects
in the range of tutors

 
 tutors is a function (ax 1)
number of objects in the range of tutors < number of TAs
(ax 4 + subset count inference rule)
19
TA ≣ Student
Finite Model Reasoning
the set of TA is contained in student (2)
the number of students < the number of TAs
the number of students < the number of objects
in the domain of tutors (3 + subset count inference rule)
number of objects in the domain of tutors < number of objects
in the range of tutors

 
 tutors is a function (ax 1)
number of objects in the range of tutors < number of TAs
(ax 4 + subset count inference rule)
19
1) funct(tutors)
2) TA ⊑ Student
3) Student ⊑ range(tutors)
4) domain(tutors) ⊑ TATA ≣ Student
Finite Model Reasoning
the set of TA is contained in student (2)
the number of students < the number of TAs
the number of students < the number of objects
in the domain of tutors (3 + subset count inference rule)
number of objects in the domain of tutors < number of objects
in the range of tutors

 
 tutors is a function (ax 1)
number of objects in the range of tutors < number of TAs
(ax 4 + subset count inference rule)
19
1) funct(tutors)
2) TA ⊑ Student
3) Student ⊑ range(tutors)
4) domain(tutors) ⊑ TATA ≣ Student
Why not?
explaining directly why

 db |= lnot(exists y, v . A(b),R(b,y), B(y), S(y,w),C(w)).
equiv to db |= forall y,v. not A(b) / not R(b,y) / B(y)

 Need to iterate through all values not in B!
The following uses an "intensional" approach

 ~italian(b),friendof(b,y),woman(y),drives(y,z),ferrari(z)
decreasing order to preference/brevity

 not italian(b)

 b not in domain(friendOf)

 no values in friendOf(b) are in Woman

 no values in friendOf(b) that are women are in domain(drives)

 no values in drives(friendOf(b)) are in ferrari
X
Failed answers
italian(bob),friendOf(bob,y),woman(y),drives(y,z),ferrari(z)
Why not? q(bob)

Más contenido relacionado

Similar a DL'12 dl-lite explanations

Making Chinese Art Accessible to Western Users- A Brief Report from AAT Taiwa...
Making Chinese Art Accessible to Western Users- A Brief Report from AAT Taiwa...Making Chinese Art Accessible to Western Users- A Brief Report from AAT Taiwa...
Making Chinese Art Accessible to Western Users- A Brief Report from AAT Taiwa...
AAT Taiwan
 
Li Pei-Temporal RL-VLDB2011
Li Pei-Temporal RL-VLDB2011Li Pei-Temporal RL-VLDB2011
Li Pei-Temporal RL-VLDB2011
Pei Li
 
Querying XML: XPath and XQuery
Querying XML: XPath and XQueryQuerying XML: XPath and XQuery
Querying XML: XPath and XQuery
Katrien Verbert
 
Slides
SlidesSlides
Slides
butest
 

Similar a DL'12 dl-lite explanations (20)

Making Chinese Art Accessible to Western Users- A Brief Report from AAT Taiwa...
Making Chinese Art Accessible to Western Users- A Brief Report from AAT Taiwa...Making Chinese Art Accessible to Western Users- A Brief Report from AAT Taiwa...
Making Chinese Art Accessible to Western Users- A Brief Report from AAT Taiwa...
 
LDA on social bookmarking systems
LDA on social bookmarking systemsLDA on social bookmarking systems
LDA on social bookmarking systems
 
Introduction to XPath
Introduction to XPathIntroduction to XPath
Introduction to XPath
 
Research proposal
Research proposalResearch proposal
Research proposal
 
Licentiate Defense Slide
Licentiate Defense SlideLicentiate Defense Slide
Licentiate Defense Slide
 
Meow Hagedorn
Meow HagedornMeow Hagedorn
Meow Hagedorn
 
All good things
All good thingsAll good things
All good things
 
Li Pei-Temporal RL-VLDB2011
Li Pei-Temporal RL-VLDB2011Li Pei-Temporal RL-VLDB2011
Li Pei-Temporal RL-VLDB2011
 
Topic Segmentation in Dialogue
Topic Segmentation in DialogueTopic Segmentation in Dialogue
Topic Segmentation in Dialogue
 
Table Retrieval and Generation
Table Retrieval and GenerationTable Retrieval and Generation
Table Retrieval and Generation
 
An optimal and progressive algorithm for skyline queries slide
An optimal and progressive algorithm for skyline queries slideAn optimal and progressive algorithm for skyline queries slide
An optimal and progressive algorithm for skyline queries slide
 
Some Information Retrieval Models and Our Experiments for TREC KBA
Some Information Retrieval Models and Our Experiments for TREC KBASome Information Retrieval Models and Our Experiments for TREC KBA
Some Information Retrieval Models and Our Experiments for TREC KBA
 
Querying XML: XPath and XQuery
Querying XML: XPath and XQueryQuerying XML: XPath and XQuery
Querying XML: XPath and XQuery
 
Wi presentation
Wi presentationWi presentation
Wi presentation
 
Prolog 7-Languages
Prolog 7-LanguagesProlog 7-Languages
Prolog 7-Languages
 
Datalog+-Track Introduction & Reasoning on UML Class Diagrams via Datalog+-
Datalog+-Track Introduction & Reasoning on UML Class Diagrams via Datalog+-Datalog+-Track Introduction & Reasoning on UML Class Diagrams via Datalog+-
Datalog+-Track Introduction & Reasoning on UML Class Diagrams via Datalog+-
 
Xpath1
Xpath1Xpath1
Xpath1
 
Information Retrieval
Information RetrievalInformation Retrieval
Information Retrieval
 
Slides
SlidesSlides
Slides
 
Lec1
Lec1Lec1
Lec1
 

Más 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 mapping
Mariano 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 jena
Mariano 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 RDFS
Mariano 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 rdfs
Mariano 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 SPARQL
Mariano Rodriguez-Muro
 

Más 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
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

DL'12 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 DL Workshop - May 2008 - Dresden
  • 2. Outline • Explanations • DL-Lite and Explanations for DL-Lite • Explanations for traditional services • Explanations for conjunctive queries • Conclusions and future work 2 DL Workshop - May 2008 - Dresden
  • 3. Explanations 3 DL Workshop - May 2008 - Dresden
  • 4. Explanations Why explanations? 3 DL Workshop - May 2008 - Dresden
  • 5. Explanations Why explanations? What are explanations? 3 DL Workshop - May 2008 - Dresden
  • 6. Explanations Why explanations? What are explanations? • Explanations are formal proofs, constructed from premises using rules of inference. 3 DL Workshop - May 2008 - Dresden
  • 7. Explanations Why explanations? What are explanations? • Explanations are formal proofs, constructed from premises using rules of inference. 3 Features of an explanation: DL Workshop - May 2008 - Dresden
  • 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 DL Workshop - May 2008 - Dresden
  • 9. Explanations (cont.) 4 DL Workshop - May 2008 - Dresden
  • 10. Explanations (cont.) Audience: KB developer, End user 4 DL Workshop - May 2008 - Dresden
  • 11. Explanations (cont.) Audience: KB developer, End user 4 1. Style. Understandable inference rules (NOT refutation or resolution) DL Workshop - May 2008 - Dresden
  • 12. Explanations (cont.) Audience: KB developer, End user 4 1. Style. Understandable inference rules (NOT refutation or resolution) 2. Length: 'shorter' preferred DL Workshop - May 2008 - Dresden
  • 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) DL Workshop - May 2008 - Dresden
  • 14. Explanations 1. Explanations as formal proofs 2. Proof content: understandable inference rules (NOT refutation or resolution) • In DL-Lite, mostly simple rules • but want performance system to help find ‘explanation proofs’ 3. Proof size: 'shorter' preferred X
  • 15. 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 DL Workshop - May 2008 - Dresden
  • 16. 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 DL Workshop - May 2008 - Dresden
  • 17. 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 DL Workshop - May 2008 - Dresden
  • 18. Reasoning services 7 DL Workshop - May 2008 - Dresden
  • 19. Reasoning services • Standard Inferences • TBox reasoning (concept consistency, subsumption) • ABox reasoning (KB satisfiability, Instance checking*) 7 DL Workshop - May 2008 - Dresden
  • 20. Reasoning services • Standard Inferences • TBox reasoning (concept consistency, subsumption) • ABox reasoning (KB satisfiability, Instance checking*) ✦ Finite model reasoning 7 DL Workshop - May 2008 - Dresden
  • 21. Reasoning services • Standard Inferences • TBox reasoning (concept consistency, subsumption) • ABox reasoning (KB satisfiability, Instance checking*) ✦ Finite model reasoning • Conjunctive Query Answering 7 DL Workshop - May 2008 - Dresden
  • 22. 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 DL Workshop - May 2008 - Dresden
  • 23. Generalized Inferece Rules <same cardinality> <rng compos> <dom compos> <func compos> X
  • 24. B C A D Concept Subsumption 8 DL Workshop - May 2008 - Dresden
  • 25. B C A D Concept Subsumption • Hierarchy Traversing 8 DL Workshop - May 2008 - Dresden
  • 26. B C A D Concept Subsumption • Hierarchy Traversing A ⊑ D ⊓ C 8 DL Workshop - May 2008 - Dresden
  • 27. B C A D Concept Subsumption • Hierarchy Traversing A ⊑ D ⊓ C A ⊑ C A ⊑ B B ⊑ D 8 DL Workshop - May 2008 - Dresden
  • 28. B C A D Concept Subsumption • Hierarchy Traversing A ⊑ D ⊓ C A ⊑ C A ⊑ B B ⊑ D • Minimal size explanations 8 DL Workshop - May 2008 - Dresden
  • 29. B1 C2 C1 A C3 B2 B3 disjoint n j 9 A is unsatisfiable DL Workshop - May 2008 - Dresden
  • 30. B1 C2 C1 A C3 B2 B3 disjoint n j 9 Explanation length n + j = 6 A is unsatisfiable DL Workshop - May 2008 - Dresden
  • 31. B1 C2 C1 A E3 E2 E1D1 C3 E4 B2 B3 disjoint disjoint n j k l 10 A is unsatisfiable DL Workshop - May 2008 - Dresden
  • 32. 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 DL Workshop - May 2008 - Dresden
  • 33. B1 C2 C1 A E3 E2 E1D1 C3 E1 B2 B3 disjoint disjoint Explanation length k + l = 5 A is unsatisfiable Explanation length n + j = 6 n j k l X
  • 34. B1 C2 C1 A E3 E2 E1D1 C3 E1 B2 B3 disjoint disjoint Explanation length k + l = 5 A is unsatisfiable Explanation length n + j = 6 n j k l X
  • 35. B1 C2 C1 A E3 E2 E1D1 C3 E1 B2 B3 disjoint disjoint Explanation length k + l = 5 A is unsatisfiable Explanation length n + j = 6 n j k l X
  • 36. KB is inconsistent 11 1. PhD ⊑ Student 2. disjoint(Professor, Student) 3. range(supervisedBy) ⊑ Professor 4. PhD(al) 5. supevisedBy(tim, al) DL Workshop - May 2008 - Dresden
  • 37. 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 DL Workshop - May 2008 - Dresden
  • 38. 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 DL Workshop - May 2008 - Dresden
  • 39. 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 DL Workshop - May 2008 - Dresden
  • 40. 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 DL Workshop - May 2008 - Dresden
  • 41. Query Answering • Successful queries 12 DL Workshop - May 2008 - Dresden
  • 42. ⋮ 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 DL Workshop - May 2008 - Dresden
  • 43. ⋮ 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 DL Workshop - May 2008 - Dresden
  • 44. ⋮ 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 DL Workshop - May 2008 - Dresden
  • 45. CQs in DL-Lite q(x) :- Student(x), supervisedBy(y,x), teaches(x,z) X
  • 46. 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 DL Workshop - May 2008 - Dresden
  • 47. 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 DL Workshop - May 2008 - Dresden
  • 48. 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 DL Workshop - May 2008 - Dresden
  • 49. 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 DL Workshop - May 2008 - Dresden
  • 50. 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 DL Workshop - May 2008 - Dresden
  • 51. 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 DL Workshop - May 2008 - Dresden
  • 52. 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 DL Workshop - May 2008 - Dresden
  • 53. 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 DL Workshop - May 2008 - Dresden
  • 54. 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 DL Workshop - May 2008 - Dresden
  • 55. Query Answering 15 DL Workshop - May 2008 - Dresden
  • 56. Query Answering • Successful queries • Failed queries 15 DL Workshop - May 2008 - Dresden
  • 57. Query Answering • Successful queries • Failed queries • Due to missing information 15 DL Workshop - May 2008 - Dresden
  • 58. Query Answering • Successful queries • Failed queries • Due to missing information • Due to unsatisfiability 15 DL Workshop - May 2008 - Dresden
  • 59. 1.PhD ⊑ Student 2.range(supervisedBy) ⊑ Professor 3.disjoint(Professor,Student) q(x):- PhD(x), supervisedBy(y, x) q inconsistent 16 DL Workshop - May 2008 - Dresden
  • 60. @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 DL Workshop - May 2008 - Dresden
  • 61. @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 DL Workshop - May 2008 - Dresden
  • 62. @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 DL Workshop - May 2008 - Dresden
  • 63. @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 DL Workshop - May 2008 - Dresden
  • 64. @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 DL Workshop - May 2008 - Dresden
  • 65. 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 exploiting existing DL-Lite query rewriting algorithm. • We looked into the problem of explaining failed answers to queries. 17 DL Workshop - May 2008 - Dresden
  • 66. Future Work • Implementation for the QuOnto system. • Explanation of failed answers to CQs over DL-Lite ontologies. • Explanation in Ontology Based Data Access (presence of mappings). 18 DL Workshop - May 2008 - Dresden
  • 67. Finite Model Reasoning the set of TA is contained in student (2) the number of students < the number of TAs the number of students < the number of objects in the domain of tutors (3 + subset count inference rule) number of objects in the domain of tutors < number of objects in the range of tutors tutors is a function (ax 1) number of objects in the range of tutors < number of TAs (ax 4 + subset count inference rule) 19 TA ≣ Student
  • 68. Finite Model Reasoning the set of TA is contained in student (2) the number of students < the number of TAs the number of students < the number of objects in the domain of tutors (3 + subset count inference rule) number of objects in the domain of tutors < number of objects in the range of tutors tutors is a function (ax 1) number of objects in the range of tutors < number of TAs (ax 4 + subset count inference rule) 19 1) funct(tutors) 2) TA ⊑ Student 3) Student ⊑ range(tutors) 4) domain(tutors) ⊑ TATA ≣ Student
  • 69. Finite Model Reasoning the set of TA is contained in student (2) the number of students < the number of TAs the number of students < the number of objects in the domain of tutors (3 + subset count inference rule) number of objects in the domain of tutors < number of objects in the range of tutors tutors is a function (ax 1) number of objects in the range of tutors < number of TAs (ax 4 + subset count inference rule) 19 1) funct(tutors) 2) TA ⊑ Student 3) Student ⊑ range(tutors) 4) domain(tutors) ⊑ TATA ≣ Student
  • 70. Why not? explaining directly why db |= lnot(exists y, v . A(b),R(b,y), B(y), S(y,w),C(w)). equiv to db |= forall y,v. not A(b) / not R(b,y) / B(y) Need to iterate through all values not in B! The following uses an "intensional" approach ~italian(b),friendof(b,y),woman(y),drives(y,z),ferrari(z) decreasing order to preference/brevity not italian(b) b not in domain(friendOf) no values in friendOf(b) are in Woman no values in friendOf(b) that are women are in domain(drives) no values in drives(friendOf(b)) are in ferrari X