SlideShare a Scribd company logo
1 of 95
Download to read offline
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Digital Knowledge: From Facts to Rules and Back
Daria Stepanova
D5: Databases and Information Systems
Max Planck Institute for Informatics
03.05.2017
1 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
What is Knowledge?
Plato: ā€œKnowledge is justiļ¬ed true beliefā€
1 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
What is Knowledge?
Plato: ā€œKnowledge is justiļ¬ed true beliefā€
1 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
What is Digital Knowledge?
ā€œDigital knowledge is semantically enriched machine processable dataā€
1 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Semantic Web Search
2 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Semantic Web Search
2 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Semantic Web Search
2 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Knowledge Graphs
3 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Knowledge Graphs
3 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Problem: Inconsistency
4 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Problem: Incompleteness
Google KG misses Rogerā€™s living place, but contains his wifeā€™s Mirkaā€™s..
5 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Motivation
Important problems of KGs:
1 Inconsistency
2 Incompleteness
In this talk: Reasoning on top of KGs to address these issues
1 Deduction: detecting and repairing inconsistencies
2 Induction: learning common-sense rules and completing KGs
6 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Overview
Motivation
Ontologies and Rules
Inconsistencies in DL-programs
Nonmonotonic Rule Mining
Further and Future Work
7 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
History of Knowledge Representation
ā€¢ 1950ā€™s: First Order Logic (FOL) for KR (undecidable)
(e.g. [McCarthy, 1959])
ā€¢ 1970ā€™s: Network-shaped structures for KR (no formal semantics)
(e.g. semantic networks [Robinson, 1965], frames [Minsky, 1985])
ā€¢ 1979: Encoding of network-shaped structures into FOL [Hayes, 1979]
ā€¢ 1980ā€™s: Description Logics (DL) for KR
ā€¢ Decidable fragments of FOL
ā€¢ Theories encoded in DLs are called ontologies
ā€¢ Many DLs with different expressiveness and computational features
ā€¢ Particularly suited for conceptual reasoning
8 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Description Logic Ontologies
Open World Assumption (OWA): what is not derived is unknown
Inclusions: Female Ā¬Male,hasSister hasSibling,hasBrother hasSibling
9 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Description Logic Ontologies
Open World Assumption (OWA): what is not derived is unknown
Inclusions: Female Ā¬Male,hasSister hasSibling,hasBrother hasSibling
Complex axioms: Uncle ā‰” Male āˆƒhasSibling.āˆƒhasChild
9 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
What can not be said in DLs?
ā€¢ Exceptions from theories (due to monotonicity)
10 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
What can not be said in DLs?
ā€¢ Exceptions from theories (due to monotonicity)
WithBeard Male
Female Ā¬Male
WithBeard(c)
ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”
People with beards are male
Female are not male
C has a beard
ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”
10 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
What can not be said in DLs?
ā€¢ Exceptions from theories (due to monotonicity)
WithBeard Male
Female Ā¬Male
WithBeard(c)
ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”
Male(c)
People with beards are male
Female are not male
C has a beard
ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”
C is male
10 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
What can not be said in DLs?
ā€¢ Exceptions from theories (due to monotonicity)
WithBeard Male
Female Ā¬Male
WithBeard(c)
Female(c)
ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”
Male(c)
Ā¬Male(c)
People with beards are male
Female are not male
C has a beard
C is female
ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”
C is male
C is not male
Monotonicity: the more we add, the more we get!
10 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
History of Knowledge Representation
ā€¢ 1970ā€™s: Logic programming
(e.g. Prolog)
ā€¢ 1980ā€™s: Nonmonotonic logics
(e.g. circumscription [McCarthy, 1980], default logic [Reiter, 1980])
ā€¢ 1988: Nonmonotonic rules under answer set semantics (ASP)
[Gelfond and Lifschitz, 1988]
ā€¢ Logic programs with model-based semantics
ā€¢ Disjunctive datalog with default negation not
11 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Not is not Ā¬!
Default negation not
At a rail road crossing cross the road if no train is known to approach
walk ā† at(X), crossing(X), not train approaches(X)
Classical negation Ā¬
At a rail road crossing cross the road if no train approaches
walk ā† at(X), crossing(X), Ā¬train approaches(X)
12 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Nonmonotonic Rules
Closed World Assumption (CWA): what is not derived is false
Rule: a1 āˆØ . . . āˆØ ak
head
ā† b1, . . . , bm, not bm+1, . . . , not bn
body
Informal semantics: If b1, . . . , bm are true and none of bm+1, . . . , bn is known,
then at least one among a1, . . . , ak must be true
Default negation: unless a child is adopted one of his parents must be female
female(Y) āˆØ female(Z) ā† hasParent(X, Y), hasParent(X, Z),
Y = Z, not adopted(X)
Constraint: ensure that no one is a parent of himself
āŠ„ ā† parent(X, Y), parent(Y, X)
13 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Answer Set Programs
Evaluation of ASP programs is model-based
Answer set program (ASP) is a set of nonmonotonic rules
(1) hasParent(john, pat) (2) hasParent(john, alex) (3) male(alex)
(4) female(Y) ā† hasParent(X, Y), hasParent(X, Z),
Y = Z, male(Z), not adopted(X)
14 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Answer Set Programs
Evaluation of ASP programs is model-based
1. Grounding: substitute all variables with constants in all possible ways
Answer set program (ASP) is a set of nonmonotonic rules
(1) hasParent(john, pat) (2) hasParent(john, alex) (3) male(alex)
(4) female(Y) ā† hasParent(X, Y), hasParent(X, Z),
Y = Z, male(Z), not adopted(X)
14 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Answer Set Programs
Evaluation of ASP programs is model-based
1. Grounding: substitute all variables with constants in all possible ways
Answer set program (ASP) is a set of nonmonotonic rules
(1) hasParent(john, pat) (2) hasParent(john, alex) (3) male(alex)
(4) female(pat) ā† hasParent(john, pat), hasParent(john, alex),
male(alex), not adopted(john)
14 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Answer Set Programs
Evaluation of ASP programs is model-based
1. Grounding: substitute all variables with constants in all possible ways
2. Solving: compute a minimal model (answer set) I satisfying all rules
Answer set program (ASP) is a set of nonmonotonic rules
(1) hasParent(john, pat) (2) hasParent(john, alex) (3) male(alex)
(4) female(pat) ā† hasParent(john, pat), hasParent(john, alex),
male(alex), not adopted(john)
I={hasParent(john, pat), hasParent(john, alex), male(alex), female(pat)}
CWA: adopted(john) can not be derived, thus it is false
14 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Answer Set Programs
Evaluation of ASP programs is model-based
1. Grounding: substitute all variables with constants in all possible ways
2. Solving: compute a minimal model (answer set) I satisfying all rules
Answer set program (ASP) is a set of nonmonotonic rules
(1) hasParent(john, pat) (2) hasParent(john, alex) (3) male(alex)
(4) female(pat) ā† hasParent(john, pat), hasParent(john, alex),
male(alex), not adopted(john)
(5) adopted(john)
adopted(john)
I={hasParent(john, pat), hasParent(john, alex), male(alex),((((((
female(pat)}
Nonmonotonicity: adding facts might lead to loss of consequences!
14 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Combining Ontologies and Rules
15 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Combining Ontologies and Rules
15 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Overview
Motivation
Ontologies and Rules
Inconsistencies in DL-programs
Nonmonotonic Rule Mining
Further and Future Work
T. Eiter M. Fink
16 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
DL-programs
DL-programs: loose coupling of ontologies and rules [Eiter et al., 2008]
17 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
DL-program
DL ontology
Logical part
(1) Child āˆƒhasParent
(2) Female Ā¬Male
(3) Adopted Child
Data part (KG)
(4) Male(pat)
(5) Male(john)
(6) hasParent(john, pat)
Rules
(7) isChildOf(john, alex) (8) boy(tim)
(9) hasFather(john, pat) ā† ,
18 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
DL-program
DL ontology
Logical part
(1) Child āˆƒhasParent
(2) Female Ā¬Male
(3) Adopted Child
Data part (KG)
(4) Male(pat)
(5) Male(john)
(6) hasParent(john, pat)
Rules
(7) isChildOf(john, alex) (8) boy(tim)
(9) hasFather(john, pat) ā† DL[; hasParent](john, pat),
18 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
DL-program
DL ontology
Logical part
(1) Child āˆƒhasParent
(2) Female Ā¬Male
(3) Adopted Child
Data part (KG)
(4) Male(pat)
(5) Male(john)
(6) hasParent(john, pat)
Rules
(7) isChildOf(john, alex) (8) boy(tim)
(9) hasFather(john, pat) ā† DL[; hasParent](john, pat) ,
18 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
DL-program
DL ontology
Logical part
(1) Child āˆƒhasParent
(2) Female Ā¬Male
(3) Adopted Child
Data part (KG)
(4) Male(pat)
(5) Male(john)
(6) hasParent(john, pat)
Rules
(7) isChildOf(john, alex) (8) boy(tim)
(9) hasFather(john, pat) ā† DL[; hasParent](john, pat) ,
DL[Male boy; Male](pat)
18 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
DL-program
DL ontology
Logical part
(1) Child āˆƒhasParent
(2) Female Ā¬Male
(3) Adopted Child
Data part (KG)
(4) Male(pat)
(5) Male(john)
(6) hasParent(john, pat)
Rules
(7) isChildOf(john, alex) (8) boy(tim)
(9) hasFather(john, pat) ā† DL[; hasParent](john, pat) ,
DL[Male boy; Male](pat)
18 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
DL-program
DL ontology
Logical part
(1) Child āˆƒhasParent
(2) Female Ā¬Male
(3) Adopted Child
Data part (KG)
(4) Male(pat) Male(tim)
(5) Male(john)
(6) hasParent(john, pat)
Rules
(7) isChildOf(john, alex) (8) boy(tim)
(9) hasFather(john, pat) ā† DL[; hasParent](john, pat) ,
DL[Male boy; Male](pat)
18 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
DL-program
DL ontology
Logical part
(1) Child āˆƒhasParent
(2) Female Ā¬Male
(3) Adopted Child
Data part (KG)
(4) Male(pat) Male(tim)
(5) Male(john)
(6) hasParent(john, pat)
Rules
(7) isChildOf(john, alex) (8) boy(tim)
(9) hasFather(john, pat) ā† DL[; hasParent](john, pat) ,
DL[Male boy; Male](pat)
18 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
DL-program
DL ontology
Logical part
(1) Child āˆƒhasParent
(2) Female Ā¬Male
(3) Adopted Child
Data part (KG)
(4) Male(pat)
(5) Male(john)
(6) hasParent(john, pat)
Rules
(7) isChildOf(john, alex) (8) boy(tim)
(9) hasFather(john, pat) ā† DL[; hasParent](john, pat) ,
DL[Male boy; Male](pat)
Answer set: I = {isChildOf(john, alex), boy(tim), hasFather(john, pat)}
18 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
DL-program
DL ontology
Logical part
(1) Child āˆƒhasParent
(2) Female Ā¬Male
(3) Adopted Child
Data part (KG)
(4) Male(pat)
(5) Male(john)
(6) hasParent(john, pat)
Rules
(7) isChildOf(john, alex) (8) boy(tim)
(9) hasFather(john, pat) ā† DL[; hasParent](john, pat),
DL[Male boy; Male](pat)
(10) āŠ„ ā† hasFather(john, pat), isChildOf(john, alex),
not DL[; Adopted](john),
not DL[Child boy; Ā¬Male](alex)
18 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
DL-program
DL ontology
Logical part
(1) Child āˆƒhasParent
(2) Female Ā¬Male
(3) Adopted Child
Data part (KG)
(4) Male(pat)
(5) Male(john)
(6) hasParent(john, pat)
Rules
(7) isChildOf(john, alex) (8) boy(tim)
(9) hasFather(john, pat) ā† DL[; hasParent](john, pat),
DL[Male boy; Male](pat)
(10) āŠ„ ā† hasFather(john, pat), isChildOf(john, alex),
not DL[; Adopted](john),
not DL[Child boy; Ā¬Male](alex)
18 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
DL-program
DL ontology
Logical part
(1) Child āˆƒhasParent
(2) Female Ā¬Male
(3) Adopted Child
Data part (KG)
(4) Male(pat)
(5) Male(john)
(6) hasParent(john, pat)
Rules
(7) isChildOf(john, alex) (8) boy(tim)
(9) hasFather(john, pat) ā† DL[; hasParent](john, pat),
DL[Male boy; Male](pat)
(10) āŠ„ ā† hasFather(john, pat), isChildOf(john, alex),
not DL[; Adopted](john),
not DL[Child boy; Ā¬Male](alex)
18 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
DL-program
DL ontology
Logical part
(1) Child āˆƒhasParent
(2) Female Ā¬Male
(3) Adopted Child
Data part (KG)
(4) Male(pat)
(5) Male(john)
(6) hasParent(john, pat)
Rules
(7) isChildOf(john, alex) (8) boy(tim)
(9) hasFather(john, pat) ā† DL[; hasParent](john, pat),
DL[Male boy; Male](pat)
(10) āŠ„ ā† hasFather(john, pat), isChildOf(john, alex),
not DL[; Adopted](john),
not DL[Child boy; Ā¬Male](alex)
18 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
DL-program
DL ontology
Logical part
(1) Child āˆƒhasParent
(2) Female Ā¬Male
(3) Adopted Child
Data part (KG)
(4) Male(pat)
(5) Male(john)
(6) hasParent(john, pat)
Rules
(7) isChildOf(john, alex) (8) boy(tim)
(9) hasFather(john, pat) ā† DL[; hasParent](john, pat),
DL[Male boy; Male](pat)
(10) āŠ„ ā† hasFather(john, pat), isChildOf(john, alex),
not DL[; Adopted](john),
not DL[Child boy; Ā¬Male](alex)
18 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Inconsistent DL-program
DL ontology
Logical part
(1) Child āˆƒhasParent
(2) Female Ā¬Male
(3) Adopted Child
Data part (KG)
(4) Male(pat)
(5) Male(john)
(6) hasParent(john, pat)
Rules
(7) isChildOf(john, alex) (8) boy(tim)
(9) hasFather(john, pat) ā† DL[; hasParent](john, pat),
DL[Male boy; Male](pat)
(10) āŠ„ ā† hasFather(john, pat), isChildOf(john, alex),
not DL[; Adopted](john),
not DL[Child boy; Ā¬Male](alex)
Inconsistent DL-program: no answer sets!
18 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
DL-program Repair
DL ontology
Logical part
(1) Child āˆƒhasParent
(2) Female Ā¬Male
(3) Adopted Child
Data part (KG)
(4) Male(pat) Female(alex)
(5) Male(john)
(6) hasParent(john, pat)
Rules
(7) isChildOf(john, alex) (8) boy(tim)
(9) hasFather(john, pat) ā† DL[; hasParent](john, pat),
DL[Male boy; Male](pat)
(10) āŠ„ ā† hasFather(john, pat), isChildOf(john, alex),
not DL[; Adopted](john),
not DL[Child boy; Ā¬Male](alex)
Repair answer set: I = {isChildOf(john, alex), boy(tim), hasFather(john, pat)}
18 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
DL-program Repair
DL ontology
Logical part
(1) Child āˆƒhasParent
(2) Female Ā¬Male
(3) Adopted Child
Data part (KG)
(4) 
Male(pat) Female(pat)
(5) Male(john)
(6) hasParent(john, pat)
Rules
(7) isChildOf(john, alex) (8) boy(tim)
(9) hasFather(john, pat) ā† DL[; hasParent](john, pat),
DL[Male boy; Male](pat)
(10) āŠ„ ā† hasFather(john, pat), isChildOf(john, alex),
not DL[; Adopted](john),
not DL[Child boy; Ā¬Male](alex)
Repair answer set: I = {isChildOf(john, alex), boy(tim)}
18 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
DL-program Repair
DL ontology
Logical part
(1) Child āˆƒhasParent
(2) Female Ā¬Male
(3) Adopted Child
Data part (KG)
(4) Male(pat)
(5) Male(john)
Rules
(7) isChildOf(john, alex) (8) boy(tim)
(9) hasFather(john, pat) ā† DL[; hasParent](john, pat),
DL[Male boy; Male](pat)
(10) āŠ„ ā† hasFather(john, pat), isChildOf(john, alex),
not DL[; Adopted](john),
not DL[Child boy; Ā¬Male](alex)
Repair answer set: I = {isChildOf(john, alex), boy(tim)}
18 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Inconsistency Handling in DL-programs
Goal: develop techniques for handling inconsistencies in DL-programs
Approach: repair ontology data part (KG) to regain consistency
19 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Complexity of Repair Answer Sets
INSTANCE: A ground DL-program Ī  = O, P .
QUESTION: Does there exist a repair answer set for Ī ?
Theorem
Deciding repair and standard answer set existence have the same
complexity if instance query-answering in O is polynomial (DL-LiteA, EL).
Ī  FLP semantics weak semantics
normal Ī£P
2 -complete NP-complete
disjunctive Ī£P
2 -complete Ī£P
2 -complete
T. Eiter, M. Fink, D. Stepanova. Data Repair of Inconsistent DL-programs. IJCAI2013
T. Eiter, M. Fink, D. Stepanova. Data Repair of Inconsistent Nonmonotonic Description Logic Programs. JAI2016
20 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Ontology Repair Problem
INSTANCE: Ontology O, Dtrue = { update, query }, Dfalse = { update, query }
QUESTION: Does there exist O data part, for which queries under their
updates from Dtrue are true and from Dfalse are false?
Theorem
The Ontology Repair Problem is NP-complete even if O = āˆ….
Tractable cases:
ā€¢ Deletion repair
ā€¢ Bounded addition
ā€¢ Bounded change
ā€¢ . . .
21 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Optimized DL-program Repair
ā€¢ For each DL-atom compute minimal sets of facts ( ), whose presence in
ontology ensures DL-atomā€™s query entailment (small for some DLs)
22 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Optimized DL-program Repair
ā€¢ For each DL-atom compute minimal sets of facts ( ), whose presence in
ontology ensures DL-atomā€™s query entailment (small for some DLs)
ā€¢ Guess values of DL-atoms under which the program has an answer set
22 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Optimized DL-program Repair
ā€¢ For each DL-atom compute minimal sets of facts ( ), whose presence in
ontology ensures DL-atomā€™s query entailment (small for some DLs)
ā€¢ Guess values of DL-atoms under which the program has an answer set
ā€¢ Solve ontology repair problem as a variant of a hitting set problem
T. Eiter, M. Fink, D. Stepanova. Towards Practical Deletion Repair of Inconsistent DL-programs. ECAI2014
T. Eiter, M. Fink, D. Stepanova. Computing Repairs for Inconsistent DL-programs over EL Ontologies. JELIA2014, JAIR2016
22 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Example Benchmark
ā€¢ Ontology: MyITS1
ā€¢ personalized route planning with semantic information
ā€¢ logical axioms (406), (building features located inside private areas
are not publicly accessible, covered bus stops are those with roofs)
ā€¢ KG (4195 facts), Cork city map with leisure areas, bus stops,..
ā€¢ Rules: check that public stations donā€™t lack public access, using
CWA on private areas
ā€¢ Inconsistency: wrong GPS coordinates result in roofed bus stops
being located inside private areas
ā€¢ Repair: found within 12 seconds
1
http://www.kr.tuwien.ac.at/research/projects/myits/
23 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Overview
Motivation
Ontologies and Rules
Inconsistencies in DL-programs
Nonmonotonic Rule Mining
Further and Future Work
M. Gad-Elrab J. Urbani G. Weikum D. H. Tran F. A. Lisi
24 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Horn Rule Mining
25 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Horn Rule Mining
Horn rule mining for KG completion [GalĀ“arraga et al., 2015]
conf(r) =
| |
| | + | |
=
2
4
r : livesIn(X, Z) ā† isMarriedTo(Y, X), livesIn(Y, Z)
25 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Horn Rule Mining
Horn rule mining for KG completion [GalĀ“arraga et al., 2015]
conf(r) =
| |
| | + | |
=
2
4
r : livesIn(X, Z) ā† isMarriedTo(Y, X), livesIn(Y, Z)
25 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Nonmonotonic Rule Mining
Nonmonotonic rule mining from KGs: OWA is a challenge!
conf(r) =
| |
| | + | |
=1
r : livesIn(X, Z) ā† isMarriedTo(Y, X), livesIn(Y, Z), not researcher(X)
25 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Declarative Programming Paradigm
26 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Declarative Programming Example
Graph 3-colorability
y of advanced reasoners makes the ASP formalism applicable to solving practical tasks. The standard
s two components: a grounder and a solver. The list of the most well-known grounders include: dlv4
,
c. Among the solvers one can mention dlv, clasp7
, claspd8
, gnt9
. Potassco10
represents a collection of
s, combining clasp and gringo into a system architecture.
t an example that illustrates the basic notions of the Answer Set Programming that we have inroduced.
der a graph 3-colourability problem, in which we are given a graph and three colours, e.g. red, blue and
at ļ¬nding the assignment of colours to the nodes of a graph in such a way that no adjacent nodes share
e encoding of this problem is as follows.
1
2
6
3
5
4
. . . 6); (2) edge(1, 2); . . . (8) edge(5, 6);
d(V , red) ā† not coloured(V , blue), not coloured(V , green), node(V );
ed(V , green) ā† not coloured(V , blue), not coloured(V , red), node(V );
ed(V , blue) ā† not coloured(V , green), not coloured(V , red), node(V );
oloured(V , C), coloured(V , C ), C = C ;
oloured(V , C), coloured(V , C), edge(V , V )
ļ£¼
ļ£“ļ£“ļ£“ļ£“ļ£“ļ£“ļ£½
ļ£“ļ£“ļ£“ļ£“ļ£“ļ£“ļ£¾
programs P describe the nodes and edges of the graph from above. The rules (9)-(11) state that each
red in at least one of the three colours. The constraint (12) forbids the nodes to be colored in more then
e constraint (13) says that two nodes connected via an edge must have different colours.
lvsystem.com/
sco.sourceforge.net/
cs.hut.fi/Software/smodels/
sco.sourceforge.net/
s.uni-potsdam.de/claspD/
cs.hut.fi/Software/gnt/
sco.sourceforge.net/
PI
GL =
ļ£“ļ£“ļ£“ļ£“ļ£“ļ£²
ļ£“ļ£“ļ£“ļ£“ļ£“ļ£“ļ£“ļ£“ļ£³
(9) coloured(1, red) ā† node(1);
(10) coloured(3, red) ā† node(3);
(11) coloured(4, green) ā† node(4);
(12) coloured(6, green) ā† node(6);
(13) coloured(2, blue) ā† node(2);
(14) coloured(5, blue) ā† node(5)
ļ£“ļ£“ļ£“ļ£“ļ£“ļ£½
ļ£“ļ£“ļ£“ļ£“ļ£“ļ£“ļ£“ļ£“ļ£¾
One can see that I is the minimal model of the positive program PI
GL, and thus an answer set o
encodes the following valid graph coloring:
1
2
6
3
5
4
B Related Work
From the theoretical side the problem of learning nonmonotonic rules from the data has been studied i
in discrete and probabilistic settings. However, many available techniques are heavily based on CW
be directly applied to our setting. For example, Bain and Muggleton [3] developed the algorithm c
Specialization (CWS), in which an initial program and an intended interpretation that a learned progra
given. In this setting, any atom which is not included in the interpretation is considered false. For exam
contain the rule {ļ¬‚ies(X) ā† bird(X).} Furthermore, let the KB be as follows: {bird(eagle), ļ¬‚ies(
The CWS algorithm would interpret ļ¬‚ies(emu) as false, and would specialize P to {ļ¬‚ies(X) ā† bir
from which the fact {ab(emu)} would be learned.
The Open World Specialization (OWS) [9] is a modiļ¬cation of the CWS algorithm, which avoids u
negative instances by considering a three-valued setting. The OWS technique does not involve conļ¬d
rules that are mined, which prevents it from being used for our purpose.
node(1 . . . 6); edge(1, 2); . . .
col(V, red) ā† not col(V, blue), not col(V, green), node(V);
col(V, green) ā† not col(V, blue), not col(V, red), node(V);
col(V, blue) ā† not col(V, green), not col(V, red), node(V);
āŠ„ ā† col(V, C), col(V, C ), C = C ;
āŠ„ ā† col(V, C), col(V , C), edge(V, V )
node(1 . . . 6); edge(1, 2); . . .
col(1, red), col(2, blue),
col(3, red), col(4, green),
col(6, green), col(5, blue)
26 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Nonmonotonic Rule Mining
27 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Nonmonotonic Rule Mining
livesIn(Y, Z) ā† isMarried(X, Y),
livesIn(X, Y),
not researcher(Y)
isMarriedTo(brad, ann);
isMarriedTo(john, kate);
isMarriedTo(bob, alice);
isMarriedTo(clara, dave);
livesIn(brad, berlin;
. . .
researcher(alice);
researcher(dave)
27 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Nonmonotonic Rule Mining from KGs
Goal: learn nonmonotonic rules from KG
Approach: revise association rules learned using data mining methods
28 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Horn Theory Revision
Quality-based Horn Theory Revision
Given:
ā€¢ Available KG
29 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Horn Theory Revision
Quality-based Horn Theory Revision
Given:
ā€¢ Available KG
ā€¢ Horn rule set
29 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Horn Theory Revision
Quality-based Horn Theory Revision
Given:
ā€¢ Available KG
ā€¢ Horn rule set
Find:
ā€¢ Nonmonotonic revision of Horn rule set
29 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Horn Theory Revision
Quality-based Horn Theory Revision
Given:
ā€¢ Available KG
ā€¢ Horn rule set
Find:
ā€¢ Nonmonotonic revision of Horn rule set
with better predictive quality
29 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Avoid Data Overļ¬tting
How to distinguish exceptions from noise?
r1 : livesIn(X, Z) ā† isMarriedTo(Y, X), livesIn(Y, Z), not researcher(X)
30 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Avoid Data Overļ¬tting
How to distinguish exceptions from noise?
r1 : livesIn(X, Z) ā† isMarriedTo(Y, X), livesIn(Y, Z), not researcher(X)
not livesIn(X, Z) ā† isMarriedTo(Y, X), livesIn(Y, Z), researcher(X)
30 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Avoid Data Overļ¬tting
How to distinguish exceptions from noise?
r1 : livesIn(X, Z) ā† isMarriedTo(Y, X), livesIn(Y, Z), not researcher(X)
not livesIn(X, Z) ā† isMarriedTo(Y, X), livesIn(Y, Z), researcher(X)
r2 : livesIn(X, Z) ā† bornIn(X, Z), not moved(X)
not livesIn(X, Z) ā† bornIn(X, Z), moved(X)
30 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Avoid Data Overļ¬tting
How to distinguish exceptions from noise?
r1 : livesIn(X, Z) ā† isMarriedTo(Y, X), livesIn(Y, Z), not researcher(X)
not livesIn(X, Z) ā† isMarriedTo(Y, X), livesIn(Y, Z), researcher(X)
r2 : livesIn(X, Z) ā† bornIn(X, Z), not moved(X)
not livesIn(X, Z) ā† bornIn(X, Z), moved(X)
{livesIn(c, d), not livesIn(c, d)} are conļ¬‚icting predictions
Intuition: Rules with good exceptions should make few conļ¬‚icting predictions
30 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Horn Theory Revision
Quality-based Horn Theory Revision
Given:
ā€¢ Available KG
ā€¢ Horn rule set
Find:
ā€¢ Nonmonotonic revision of Horn rules, such that
ā€¢ number of conļ¬‚icting predictions is minimal
ā€¢ average conviction is maximal
31 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Exception Candidates
r: livesIn(X, Z) ā† isMarriedTo(Y, X) , livesIn(Y, Z)
32 / 38
not researcher(X)
not artist(Y)
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Exception Ranking
rule1 {e1, e2, e3, . . . }
rule2 {e1, e2, e3, . . . }
rule3 {e1, e2, e3, . . . }
Finding globally best revision is expensive, exponentially many candidates!
ā€¢ Naive ranking: for every rule inject exception that results in the
highest conviction
ā€¢ Partial materialization (PM): apply all rules apart from a given one,
inject exception that results in the highest average conviction of the
rule and its rewriting
ā€¢ Ordered PM (OPM): same as PM plus ordered rules application
ā€¢ Weighted OPM: same as OPM plus weights on predictions
M. Gad-Elrab, D. Stepanova, J. Urbani, G. Weikum. Exception-enriched Rule Learning from Knowledge Graphs. ISWC2016
D. Tran, D. Stepanova, M. Gad-Elrab, F. Lisi, G. Weikum. Towards Nonmonotonic Relational Learning from KGs. ILP2016
33 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Experimental Setup
ā€¢ Approximated ideal KG: original KG
ā€¢ Available KG: for every relation randomly remove 20% of facts from
approximated ideal KG
ā€¢ Horn rules: h(X, Y) ā† p(X, Z), q(Z, Y)
ā€¢ Exceptions: e1(X), e2(Y), e3(X, Y)
ā€¢ Predictions are computed using answer set solver DLV
34 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Experimental Setup
ā€¢ Approximated ideal KG: original KG
ā€¢ Available KG: for every relation randomly remove 20% of facts from
approximated ideal KG
ā€¢ Horn rules: h(X, Y) ā† p(X, Z), q(Z, Y)
ā€¢ Exceptions: e1(X), e2(Y), e3(X, Y)
ā€¢ Predictions are computed using answer set solver DLV
Examples of revised rules:
Plots of ļ¬lms in a sequel are written by the same writer, unless a ļ¬lm is American
r1 : writtenBy(X, Z) ā† hasPredecessor(X, Y), writtenBy(Y, Z), not american ļ¬lm(X)
Spouses of ļ¬lm directors appear on the cast, unless they are silent ļ¬lm actors
r2 : actedIn(X, Z) ā† isMarriedTo(X, Y), directed(Y, Z), not silent ļ¬lm actor(X)
34 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Overview
Motivation
Ontologies and Rules
Inconsistencies in DL-programs
Nonmonotonic Rule Mining
Ongoing and Future Work
35 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Completeness-aware Rule Mining
ā€¢ Exploit cardinality meta-data [Mirza et al., 2016] in rule mining
John has 5 children, Mary is a citizen of 2 countries
Joint work with T. Pellissier-Tanon, S. Razniewski, P. Mirza, G. Weikum
36 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Ongoing and Future Work
ā€¢ Make use of logical background knowledge in
ā€¢ Rule learning and other data mining tasks2
ā€¢ Information extraction from text corpora3
ā€¢ Natural language processing tasks
ā€¢ Exploit answer set programs with
external computations [Eiter et al., 2009]
for the above problems
2
S. Paramonov, D. Stepanova, P. Miettinen. Hybrid Approach to Constraint-based Pattern Mining. Accepted to RR2017
3
Joint work with M. Gad-Elrab, J. Urbani, G. Weikum
37 / 38
Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work
Conclusion
Summary:
ā€¢ Inconsistencies in combination of rules and ontologies
ā€¢ Repair semantics and its complexity analysis
ā€¢ Optimized algorithms for repair computation
and their evaluation (DL-LiteA and EL DLs)
ā€¢ Nonmonotonic rule mining from KGs
ā€¢ Quality-based Horn theory revision framework under OWA
ā€¢ Approach for computing and ranking exceptions based on
cross-talk among rules and its evaluation on real-world KGs
Future Directions:
ā€¢ Interlinking mining and reasoning in the KG context
ā€¢ Exploiting logical background knowledge in information
extraction and natural language processing tasks
38 / 38
References I
Thomas Eiter, Giovambattista Ianni, Thomas Lukasiewicz, Roman Schindlauer, and Hans Tompits.
Combining answer set programming with description logics for the semantic web.
Artiļ¬cial Intelligence, 172(12-13):1495ā€“1539, August 2008.
Thomas Eiter, Gerhard Brewka, Minh Dao-Tran, Michael Fink, Giovambattista Ianni, and Thomas Krennwallner.
Combining nonmonotonic knowledge bases with external sources.
In Frontiers of Combining Systems, 7th International Symposium, FroCoS 2009, Trento, Italy, September 16-18, 2009.
Proceedings, pages 18ā€“42, 2009.
Luis GalĀ“arraga, Christina Teļ¬‚ioudi, Katja Hose, and Fabian M. Suchanek.
Fast rule mining in ontological knowledge bases with AMIE+.
VLDB J., 24(6):707ā€“730, 2015.
Michael Gelfond and Vladimir Lifschitz.
The stable model semantics for logic programming.
In Proceedings of the 5th International Conference and Symposium on Logoc Programming, ICLP 1988, pages 1070ā€“1080.
The MIT Press, 1988.
P. J. Hayes.
The logic of frames.
In Frame Conceptions and Text Understanding, pages 46ā€“61. 1979.
John McCarthy.
Programs with common sense.
In TeddingtonConference, pages 75ā€“91, 1959.
John McCarthy.
Circumscription - A form of non-monotonic reasoning.
Artif. Intell., 13(1-2):27ā€“39, 1980.
Marvin Minsky.
A framework for representing knowledge.
In Readings in Knowledge Representation, pages 245ā€“262. Kaufmann, 1985.
References II
Paramita Mirza, Simon Razniewski, and Werner Nutt.
Expanding wikidataā€™s parenthood information by 178%, or how to mine relation cardinality information.
In ISWC 2016 Posters  Demos, 2016.
Raymond Reiter.
A logic for default reasoning.
Artif. Intell., 13(1-2):81ā€“132, 1980.
J. Robinson.
A machine-oriented logic based on the resolution principle.
Journal of the ACM, 12(6):23ā€“41, 1965.
Additional Material
DL-program Repair Algorithm
3 / 6
Additional Material
DL-program Repair Algorithm
3 / 6
Additional Material
DL-program Repair Algorithm
3 / 6
Additional Material
DL-program Repair Algorithm
3 / 6
Additional Material
DL-program Repair Algorithm
3 / 6
Additional Material
DL-program Repair Algorithm
3 / 6
Additional Material
DL-program Repair Algorithm
3 / 6
Additional Material
DL-program Repair Algorithm
3 / 6
Additional Material
DL-program Repair Algorithm
3 / 6
Additional Material
Hybrid Constraint-based Pattern Mining
ā€¢ Interlink mining and reasoning
ā€¢ Use declarative logic programming
for frequent pattern (itemset/sequence) ļ¬ltering
ā€¢ Combine various domain-speciļ¬c constraints
Sergey Paramonov, Daria Stepanova, Pauli Miettinen. Hybrid Approach to Constraint-based Pattern Mining. RR2017
4 / 6

More Related Content

Similar to Mpi talk

Semantic Perspectives for Contemporary Question Answering Systems
Semantic Perspectives for Contemporary Question Answering SystemsSemantic Perspectives for Contemporary Question Answering Systems
Semantic Perspectives for Contemporary Question Answering SystemsAndre Freitas
Ā 
2012: Natural Computing - The Grand Challenges and Two Case Studies
2012: Natural Computing - The Grand Challenges and Two Case Studies2012: Natural Computing - The Grand Challenges and Two Case Studies
2012: Natural Computing - The Grand Challenges and Two Case StudiesLeandro de Castro
Ā 
How hard is this Query? Measuring the Semantic Complexity of Schema-agnostic ...
How hard is this Query? Measuring the Semantic Complexity of Schema-agnostic ...How hard is this Query? Measuring the Semantic Complexity of Schema-agnostic ...
How hard is this Query? Measuring the Semantic Complexity of Schema-agnostic ...Andre Freitas
Ā 
When recommendation go bad
When recommendation go badWhen recommendation go bad
When recommendation go badIntoTheMinds
Ā 
Explainable AI - making ML and DL models more interpretable
Explainable AI - making ML and DL models more interpretableExplainable AI - making ML and DL models more interpretable
Explainable AI - making ML and DL models more interpretableAditya Bhattacharya
Ā 
Foundation_Logic_1.pptx discrete mathematics
Foundation_Logic_1.pptx discrete mathematicsFoundation_Logic_1.pptx discrete mathematics
Foundation_Logic_1.pptx discrete mathematicsSherwinSangalang3
Ā 
10 logic+programming+with+prolog
10 logic+programming+with+prolog10 logic+programming+with+prolog
10 logic+programming+with+prologbaran19901990
Ā 
Modeling missing data in distant supervision for information extraction (Ritt...
Modeling missing data in distant supervision for information extraction (Ritt...Modeling missing data in distant supervision for information extraction (Ritt...
Modeling missing data in distant supervision for information extraction (Ritt...Naoaki Okazaki
Ā 
Big Data LDN 2017: Machine Learning on Structured Data. Why Is Learning Rules...
Big Data LDN 2017: Machine Learning on Structured Data. Why Is Learning Rules...Big Data LDN 2017: Machine Learning on Structured Data. Why Is Learning Rules...
Big Data LDN 2017: Machine Learning on Structured Data. Why Is Learning Rules...Matt Stubbs
Ā 
DESIGN AND SIMULATION OF FUZZY LOGIC CONTROLLER USING MATLAB
DESIGN AND SIMULATION OF FUZZY LOGIC CONTROLLER USING MATLABDESIGN AND SIMULATION OF FUZZY LOGIC CONTROLLER USING MATLAB
DESIGN AND SIMULATION OF FUZZY LOGIC CONTROLLER USING MATLABDr M Muruganandam Masilamani
Ā 
Kdd 2014 tutorial bringing structure to text - chi
Kdd 2014 tutorial   bringing structure to text - chiKdd 2014 tutorial   bringing structure to text - chi
Kdd 2014 tutorial bringing structure to text - chiBarbara Starr
Ā 
Learning to Learn Model Behavior ( Capital One: data intelligence conference )
Learning to Learn Model Behavior ( Capital One: data intelligence conference )Learning to Learn Model Behavior ( Capital One: data intelligence conference )
Learning to Learn Model Behavior ( Capital One: data intelligence conference )Pramit Choudhary
Ā 
Noah A Smith - 2017 - Invited Keynote: Squashing Computational Linguistics
Noah A Smith - 2017 - Invited Keynote: Squashing Computational Linguistics Noah A Smith - 2017 - Invited Keynote: Squashing Computational Linguistics
Noah A Smith - 2017 - Invited Keynote: Squashing Computational Linguistics Association for Computational Linguistics
Ā 
Schema-Agnostic Queries (SAQ-2015): Semantic Web Challenge
Schema-Agnostic Queries (SAQ-2015): Semantic Web ChallengeSchema-Agnostic Queries (SAQ-2015): Semantic Web Challenge
Schema-Agnostic Queries (SAQ-2015): Semantic Web ChallengeAndre Freitas
Ā 
Data Science as a Career and Intro to R
Data Science as a Career and Intro to RData Science as a Career and Intro to R
Data Science as a Career and Intro to RAnshik Bansal
Ā 
Debiasing Knowledge Graphs: Why Female Presidents are not like Female Popes
Debiasing Knowledge Graphs: Why Female Presidents are not like Female PopesDebiasing Knowledge Graphs: Why Female Presidents are not like Female Popes
Debiasing Knowledge Graphs: Why Female Presidents are not like Female Popeskjanowicz
Ā 
Human in the loop: Bayesian Rules Enabling Explainable AI
Human in the loop: Bayesian Rules Enabling Explainable AIHuman in the loop: Bayesian Rules Enabling Explainable AI
Human in the loop: Bayesian Rules Enabling Explainable AIPramit Choudhary
Ā 

Similar to Mpi talk (20)

Semantic Perspectives for Contemporary Question Answering Systems
Semantic Perspectives for Contemporary Question Answering SystemsSemantic Perspectives for Contemporary Question Answering Systems
Semantic Perspectives for Contemporary Question Answering Systems
Ā 
Year 1 AI.ppt
Year 1 AI.pptYear 1 AI.ppt
Year 1 AI.ppt
Ā 
2012: Natural Computing - The Grand Challenges and Two Case Studies
2012: Natural Computing - The Grand Challenges and Two Case Studies2012: Natural Computing - The Grand Challenges and Two Case Studies
2012: Natural Computing - The Grand Challenges and Two Case Studies
Ā 
Plc part 4
Plc  part 4Plc  part 4
Plc part 4
Ā 
How hard is this Query? Measuring the Semantic Complexity of Schema-agnostic ...
How hard is this Query? Measuring the Semantic Complexity of Schema-agnostic ...How hard is this Query? Measuring the Semantic Complexity of Schema-agnostic ...
How hard is this Query? Measuring the Semantic Complexity of Schema-agnostic ...
Ā 
When recommendation go bad
When recommendation go badWhen recommendation go bad
When recommendation go bad
Ā 
Explainable AI - making ML and DL models more interpretable
Explainable AI - making ML and DL models more interpretableExplainable AI - making ML and DL models more interpretable
Explainable AI - making ML and DL models more interpretable
Ā 
RR 2013 - Montali - Verification and Synthesis in Description Logic Based Dyn...
RR 2013 - Montali - Verification and Synthesis in Description Logic Based Dyn...RR 2013 - Montali - Verification and Synthesis in Description Logic Based Dyn...
RR 2013 - Montali - Verification and Synthesis in Description Logic Based Dyn...
Ā 
Foundation_Logic_1.pptx discrete mathematics
Foundation_Logic_1.pptx discrete mathematicsFoundation_Logic_1.pptx discrete mathematics
Foundation_Logic_1.pptx discrete mathematics
Ā 
10 logic+programming+with+prolog
10 logic+programming+with+prolog10 logic+programming+with+prolog
10 logic+programming+with+prolog
Ā 
Modeling missing data in distant supervision for information extraction (Ritt...
Modeling missing data in distant supervision for information extraction (Ritt...Modeling missing data in distant supervision for information extraction (Ritt...
Modeling missing data in distant supervision for information extraction (Ritt...
Ā 
Big Data LDN 2017: Machine Learning on Structured Data. Why Is Learning Rules...
Big Data LDN 2017: Machine Learning on Structured Data. Why Is Learning Rules...Big Data LDN 2017: Machine Learning on Structured Data. Why Is Learning Rules...
Big Data LDN 2017: Machine Learning on Structured Data. Why Is Learning Rules...
Ā 
DESIGN AND SIMULATION OF FUZZY LOGIC CONTROLLER USING MATLAB
DESIGN AND SIMULATION OF FUZZY LOGIC CONTROLLER USING MATLABDESIGN AND SIMULATION OF FUZZY LOGIC CONTROLLER USING MATLAB
DESIGN AND SIMULATION OF FUZZY LOGIC CONTROLLER USING MATLAB
Ā 
Kdd 2014 tutorial bringing structure to text - chi
Kdd 2014 tutorial   bringing structure to text - chiKdd 2014 tutorial   bringing structure to text - chi
Kdd 2014 tutorial bringing structure to text - chi
Ā 
Learning to Learn Model Behavior ( Capital One: data intelligence conference )
Learning to Learn Model Behavior ( Capital One: data intelligence conference )Learning to Learn Model Behavior ( Capital One: data intelligence conference )
Learning to Learn Model Behavior ( Capital One: data intelligence conference )
Ā 
Noah A Smith - 2017 - Invited Keynote: Squashing Computational Linguistics
Noah A Smith - 2017 - Invited Keynote: Squashing Computational Linguistics Noah A Smith - 2017 - Invited Keynote: Squashing Computational Linguistics
Noah A Smith - 2017 - Invited Keynote: Squashing Computational Linguistics
Ā 
Schema-Agnostic Queries (SAQ-2015): Semantic Web Challenge
Schema-Agnostic Queries (SAQ-2015): Semantic Web ChallengeSchema-Agnostic Queries (SAQ-2015): Semantic Web Challenge
Schema-Agnostic Queries (SAQ-2015): Semantic Web Challenge
Ā 
Data Science as a Career and Intro to R
Data Science as a Career and Intro to RData Science as a Career and Intro to R
Data Science as a Career and Intro to R
Ā 
Debiasing Knowledge Graphs: Why Female Presidents are not like Female Popes
Debiasing Knowledge Graphs: Why Female Presidents are not like Female PopesDebiasing Knowledge Graphs: Why Female Presidents are not like Female Popes
Debiasing Knowledge Graphs: Why Female Presidents are not like Female Popes
Ā 
Human in the loop: Bayesian Rules Enabling Explainable AI
Human in the loop: Bayesian Rules Enabling Explainable AIHuman in the loop: Bayesian Rules Enabling Explainable AI
Human in the loop: Bayesian Rules Enabling Explainable AI
Ā 

Recently uploaded

Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTSĆ©rgio Sacani
Ā 
Botany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfBotany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfSumit Kumar yadav
Ā 
A relative description on Sonoporation.pdf
A relative description on Sonoporation.pdfA relative description on Sonoporation.pdf
A relative description on Sonoporation.pdfnehabiju2046
Ā 
Orientation, design and principles of polyhouse
Orientation, design and principles of polyhouseOrientation, design and principles of polyhouse
Orientation, design and principles of polyhousejana861314
Ā 
Green chemistry and Sustainable development.pptx
Green chemistry  and Sustainable development.pptxGreen chemistry  and Sustainable development.pptx
Green chemistry and Sustainable development.pptxRajatChauhan518211
Ā 
Cultivation of KODO MILLET . made by Ghanshyam pptx
Cultivation of KODO MILLET . made by Ghanshyam pptxCultivation of KODO MILLET . made by Ghanshyam pptx
Cultivation of KODO MILLET . made by Ghanshyam pptxpradhanghanshyam7136
Ā 
Biological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfBiological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfmuntazimhurra
Ā 
Lucknow šŸ’‹ Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow šŸ’‹ Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow šŸ’‹ Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow šŸ’‹ Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...anilsa9823
Ā 
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral AnalysisRaman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral AnalysisDiwakar Mishra
Ā 
CALL ON āž„8923113531 šŸ”Call Girls Kesar Bagh Lucknow best Night Fun service šŸŖ”
CALL ON āž„8923113531 šŸ”Call Girls Kesar Bagh Lucknow best Night Fun service  šŸŖ”CALL ON āž„8923113531 šŸ”Call Girls Kesar Bagh Lucknow best Night Fun service  šŸŖ”
CALL ON āž„8923113531 šŸ”Call Girls Kesar Bagh Lucknow best Night Fun service šŸŖ”anilsa9823
Ā 
Boyles law module in the grade 10 science
Boyles law module in the grade 10 scienceBoyles law module in the grade 10 science
Boyles law module in the grade 10 sciencefloriejanemacaya1
Ā 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...RohitNehra6
Ā 
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptxUnlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptxanandsmhk
Ā 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsSĆ©rgio Sacani
Ā 
Isotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoIsotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoSĆ©rgio Sacani
Ā 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksSĆ©rgio Sacani
Ā 
Nanoparticles synthesis and characterizationā€‹ ā€‹
Nanoparticles synthesis and characterizationā€‹  ā€‹Nanoparticles synthesis and characterizationā€‹  ā€‹
Nanoparticles synthesis and characterizationā€‹ ā€‹kaibalyasahoo82800
Ā 
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...jana861314
Ā 
Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Patrick Diehl
Ā 

Recently uploaded (20)

Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOST
Ā 
Botany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfBotany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdf
Ā 
A relative description on Sonoporation.pdf
A relative description on Sonoporation.pdfA relative description on Sonoporation.pdf
A relative description on Sonoporation.pdf
Ā 
Orientation, design and principles of polyhouse
Orientation, design and principles of polyhouseOrientation, design and principles of polyhouse
Orientation, design and principles of polyhouse
Ā 
Engler and Prantl system of classification in plant taxonomy
Engler and Prantl system of classification in plant taxonomyEngler and Prantl system of classification in plant taxonomy
Engler and Prantl system of classification in plant taxonomy
Ā 
Green chemistry and Sustainable development.pptx
Green chemistry  and Sustainable development.pptxGreen chemistry  and Sustainable development.pptx
Green chemistry and Sustainable development.pptx
Ā 
Cultivation of KODO MILLET . made by Ghanshyam pptx
Cultivation of KODO MILLET . made by Ghanshyam pptxCultivation of KODO MILLET . made by Ghanshyam pptx
Cultivation of KODO MILLET . made by Ghanshyam pptx
Ā 
Biological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfBiological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdf
Ā 
Lucknow šŸ’‹ Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow šŸ’‹ Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow šŸ’‹ Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow šŸ’‹ Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Ā 
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral AnalysisRaman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
Ā 
CALL ON āž„8923113531 šŸ”Call Girls Kesar Bagh Lucknow best Night Fun service šŸŖ”
CALL ON āž„8923113531 šŸ”Call Girls Kesar Bagh Lucknow best Night Fun service  šŸŖ”CALL ON āž„8923113531 šŸ”Call Girls Kesar Bagh Lucknow best Night Fun service  šŸŖ”
CALL ON āž„8923113531 šŸ”Call Girls Kesar Bagh Lucknow best Night Fun service šŸŖ”
Ā 
Boyles law module in the grade 10 science
Boyles law module in the grade 10 scienceBoyles law module in the grade 10 science
Boyles law module in the grade 10 science
Ā 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Ā 
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptxUnlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Ā 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Ā 
Isotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoIsotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on Io
Ā 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disks
Ā 
Nanoparticles synthesis and characterizationā€‹ ā€‹
Nanoparticles synthesis and characterizationā€‹  ā€‹Nanoparticles synthesis and characterizationā€‹  ā€‹
Nanoparticles synthesis and characterizationā€‹ ā€‹
Ā 
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Ā 
Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?
Ā 

Mpi talk

  • 1. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Digital Knowledge: From Facts to Rules and Back Daria Stepanova D5: Databases and Information Systems Max Planck Institute for Informatics 03.05.2017 1 / 38
  • 2. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work What is Knowledge? Plato: ā€œKnowledge is justiļ¬ed true beliefā€ 1 / 38
  • 3. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work What is Knowledge? Plato: ā€œKnowledge is justiļ¬ed true beliefā€ 1 / 38
  • 4. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work What is Digital Knowledge? ā€œDigital knowledge is semantically enriched machine processable dataā€ 1 / 38
  • 5. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Semantic Web Search 2 / 38
  • 6. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Semantic Web Search 2 / 38
  • 7. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Semantic Web Search 2 / 38
  • 8. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Knowledge Graphs 3 / 38
  • 9. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Knowledge Graphs 3 / 38
  • 10. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Problem: Inconsistency 4 / 38
  • 11. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Problem: Incompleteness Google KG misses Rogerā€™s living place, but contains his wifeā€™s Mirkaā€™s.. 5 / 38
  • 12. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Motivation Important problems of KGs: 1 Inconsistency 2 Incompleteness In this talk: Reasoning on top of KGs to address these issues 1 Deduction: detecting and repairing inconsistencies 2 Induction: learning common-sense rules and completing KGs 6 / 38
  • 13. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Overview Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Further and Future Work 7 / 38
  • 14. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work History of Knowledge Representation ā€¢ 1950ā€™s: First Order Logic (FOL) for KR (undecidable) (e.g. [McCarthy, 1959]) ā€¢ 1970ā€™s: Network-shaped structures for KR (no formal semantics) (e.g. semantic networks [Robinson, 1965], frames [Minsky, 1985]) ā€¢ 1979: Encoding of network-shaped structures into FOL [Hayes, 1979] ā€¢ 1980ā€™s: Description Logics (DL) for KR ā€¢ Decidable fragments of FOL ā€¢ Theories encoded in DLs are called ontologies ā€¢ Many DLs with different expressiveness and computational features ā€¢ Particularly suited for conceptual reasoning 8 / 38
  • 15. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Description Logic Ontologies Open World Assumption (OWA): what is not derived is unknown Inclusions: Female Ā¬Male,hasSister hasSibling,hasBrother hasSibling 9 / 38
  • 16. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Description Logic Ontologies Open World Assumption (OWA): what is not derived is unknown Inclusions: Female Ā¬Male,hasSister hasSibling,hasBrother hasSibling Complex axioms: Uncle ā‰” Male āˆƒhasSibling.āˆƒhasChild 9 / 38
  • 17. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work What can not be said in DLs? ā€¢ Exceptions from theories (due to monotonicity) 10 / 38
  • 18. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work What can not be said in DLs? ā€¢ Exceptions from theories (due to monotonicity) WithBeard Male Female Ā¬Male WithBeard(c) ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€” People with beards are male Female are not male C has a beard ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€” 10 / 38
  • 19. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work What can not be said in DLs? ā€¢ Exceptions from theories (due to monotonicity) WithBeard Male Female Ā¬Male WithBeard(c) ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€” Male(c) People with beards are male Female are not male C has a beard ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€” C is male 10 / 38
  • 20. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work What can not be said in DLs? ā€¢ Exceptions from theories (due to monotonicity) WithBeard Male Female Ā¬Male WithBeard(c) Female(c) ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€” Male(c) Ā¬Male(c) People with beards are male Female are not male C has a beard C is female ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€” C is male C is not male Monotonicity: the more we add, the more we get! 10 / 38
  • 21. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work History of Knowledge Representation ā€¢ 1970ā€™s: Logic programming (e.g. Prolog) ā€¢ 1980ā€™s: Nonmonotonic logics (e.g. circumscription [McCarthy, 1980], default logic [Reiter, 1980]) ā€¢ 1988: Nonmonotonic rules under answer set semantics (ASP) [Gelfond and Lifschitz, 1988] ā€¢ Logic programs with model-based semantics ā€¢ Disjunctive datalog with default negation not 11 / 38
  • 22. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Not is not Ā¬! Default negation not At a rail road crossing cross the road if no train is known to approach walk ā† at(X), crossing(X), not train approaches(X) Classical negation Ā¬ At a rail road crossing cross the road if no train approaches walk ā† at(X), crossing(X), Ā¬train approaches(X) 12 / 38
  • 23. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Nonmonotonic Rules Closed World Assumption (CWA): what is not derived is false Rule: a1 āˆØ . . . āˆØ ak head ā† b1, . . . , bm, not bm+1, . . . , not bn body Informal semantics: If b1, . . . , bm are true and none of bm+1, . . . , bn is known, then at least one among a1, . . . , ak must be true Default negation: unless a child is adopted one of his parents must be female female(Y) āˆØ female(Z) ā† hasParent(X, Y), hasParent(X, Z), Y = Z, not adopted(X) Constraint: ensure that no one is a parent of himself āŠ„ ā† parent(X, Y), parent(Y, X) 13 / 38
  • 24. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Answer Set Programs Evaluation of ASP programs is model-based Answer set program (ASP) is a set of nonmonotonic rules (1) hasParent(john, pat) (2) hasParent(john, alex) (3) male(alex) (4) female(Y) ā† hasParent(X, Y), hasParent(X, Z), Y = Z, male(Z), not adopted(X) 14 / 38
  • 25. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Answer Set Programs Evaluation of ASP programs is model-based 1. Grounding: substitute all variables with constants in all possible ways Answer set program (ASP) is a set of nonmonotonic rules (1) hasParent(john, pat) (2) hasParent(john, alex) (3) male(alex) (4) female(Y) ā† hasParent(X, Y), hasParent(X, Z), Y = Z, male(Z), not adopted(X) 14 / 38
  • 26. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Answer Set Programs Evaluation of ASP programs is model-based 1. Grounding: substitute all variables with constants in all possible ways Answer set program (ASP) is a set of nonmonotonic rules (1) hasParent(john, pat) (2) hasParent(john, alex) (3) male(alex) (4) female(pat) ā† hasParent(john, pat), hasParent(john, alex), male(alex), not adopted(john) 14 / 38
  • 27. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Answer Set Programs Evaluation of ASP programs is model-based 1. Grounding: substitute all variables with constants in all possible ways 2. Solving: compute a minimal model (answer set) I satisfying all rules Answer set program (ASP) is a set of nonmonotonic rules (1) hasParent(john, pat) (2) hasParent(john, alex) (3) male(alex) (4) female(pat) ā† hasParent(john, pat), hasParent(john, alex), male(alex), not adopted(john) I={hasParent(john, pat), hasParent(john, alex), male(alex), female(pat)} CWA: adopted(john) can not be derived, thus it is false 14 / 38
  • 28. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Answer Set Programs Evaluation of ASP programs is model-based 1. Grounding: substitute all variables with constants in all possible ways 2. Solving: compute a minimal model (answer set) I satisfying all rules Answer set program (ASP) is a set of nonmonotonic rules (1) hasParent(john, pat) (2) hasParent(john, alex) (3) male(alex) (4) female(pat) ā† hasParent(john, pat), hasParent(john, alex), male(alex), not adopted(john) (5) adopted(john) adopted(john) I={hasParent(john, pat), hasParent(john, alex), male(alex),(((((( female(pat)} Nonmonotonicity: adding facts might lead to loss of consequences! 14 / 38
  • 29. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Combining Ontologies and Rules 15 / 38
  • 30. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Combining Ontologies and Rules 15 / 38
  • 31. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Overview Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Further and Future Work T. Eiter M. Fink 16 / 38
  • 32. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work DL-programs DL-programs: loose coupling of ontologies and rules [Eiter et al., 2008] 17 / 38
  • 33. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work DL-program DL ontology Logical part (1) Child āˆƒhasParent (2) Female Ā¬Male (3) Adopted Child Data part (KG) (4) Male(pat) (5) Male(john) (6) hasParent(john, pat) Rules (7) isChildOf(john, alex) (8) boy(tim) (9) hasFather(john, pat) ā† , 18 / 38
  • 34. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work DL-program DL ontology Logical part (1) Child āˆƒhasParent (2) Female Ā¬Male (3) Adopted Child Data part (KG) (4) Male(pat) (5) Male(john) (6) hasParent(john, pat) Rules (7) isChildOf(john, alex) (8) boy(tim) (9) hasFather(john, pat) ā† DL[; hasParent](john, pat), 18 / 38
  • 35. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work DL-program DL ontology Logical part (1) Child āˆƒhasParent (2) Female Ā¬Male (3) Adopted Child Data part (KG) (4) Male(pat) (5) Male(john) (6) hasParent(john, pat) Rules (7) isChildOf(john, alex) (8) boy(tim) (9) hasFather(john, pat) ā† DL[; hasParent](john, pat) , 18 / 38
  • 36. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work DL-program DL ontology Logical part (1) Child āˆƒhasParent (2) Female Ā¬Male (3) Adopted Child Data part (KG) (4) Male(pat) (5) Male(john) (6) hasParent(john, pat) Rules (7) isChildOf(john, alex) (8) boy(tim) (9) hasFather(john, pat) ā† DL[; hasParent](john, pat) , DL[Male boy; Male](pat) 18 / 38
  • 37. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work DL-program DL ontology Logical part (1) Child āˆƒhasParent (2) Female Ā¬Male (3) Adopted Child Data part (KG) (4) Male(pat) (5) Male(john) (6) hasParent(john, pat) Rules (7) isChildOf(john, alex) (8) boy(tim) (9) hasFather(john, pat) ā† DL[; hasParent](john, pat) , DL[Male boy; Male](pat) 18 / 38
  • 38. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work DL-program DL ontology Logical part (1) Child āˆƒhasParent (2) Female Ā¬Male (3) Adopted Child Data part (KG) (4) Male(pat) Male(tim) (5) Male(john) (6) hasParent(john, pat) Rules (7) isChildOf(john, alex) (8) boy(tim) (9) hasFather(john, pat) ā† DL[; hasParent](john, pat) , DL[Male boy; Male](pat) 18 / 38
  • 39. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work DL-program DL ontology Logical part (1) Child āˆƒhasParent (2) Female Ā¬Male (3) Adopted Child Data part (KG) (4) Male(pat) Male(tim) (5) Male(john) (6) hasParent(john, pat) Rules (7) isChildOf(john, alex) (8) boy(tim) (9) hasFather(john, pat) ā† DL[; hasParent](john, pat) , DL[Male boy; Male](pat) 18 / 38
  • 40. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work DL-program DL ontology Logical part (1) Child āˆƒhasParent (2) Female Ā¬Male (3) Adopted Child Data part (KG) (4) Male(pat) (5) Male(john) (6) hasParent(john, pat) Rules (7) isChildOf(john, alex) (8) boy(tim) (9) hasFather(john, pat) ā† DL[; hasParent](john, pat) , DL[Male boy; Male](pat) Answer set: I = {isChildOf(john, alex), boy(tim), hasFather(john, pat)} 18 / 38
  • 41. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work DL-program DL ontology Logical part (1) Child āˆƒhasParent (2) Female Ā¬Male (3) Adopted Child Data part (KG) (4) Male(pat) (5) Male(john) (6) hasParent(john, pat) Rules (7) isChildOf(john, alex) (8) boy(tim) (9) hasFather(john, pat) ā† DL[; hasParent](john, pat), DL[Male boy; Male](pat) (10) āŠ„ ā† hasFather(john, pat), isChildOf(john, alex), not DL[; Adopted](john), not DL[Child boy; Ā¬Male](alex) 18 / 38
  • 42. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work DL-program DL ontology Logical part (1) Child āˆƒhasParent (2) Female Ā¬Male (3) Adopted Child Data part (KG) (4) Male(pat) (5) Male(john) (6) hasParent(john, pat) Rules (7) isChildOf(john, alex) (8) boy(tim) (9) hasFather(john, pat) ā† DL[; hasParent](john, pat), DL[Male boy; Male](pat) (10) āŠ„ ā† hasFather(john, pat), isChildOf(john, alex), not DL[; Adopted](john), not DL[Child boy; Ā¬Male](alex) 18 / 38
  • 43. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work DL-program DL ontology Logical part (1) Child āˆƒhasParent (2) Female Ā¬Male (3) Adopted Child Data part (KG) (4) Male(pat) (5) Male(john) (6) hasParent(john, pat) Rules (7) isChildOf(john, alex) (8) boy(tim) (9) hasFather(john, pat) ā† DL[; hasParent](john, pat), DL[Male boy; Male](pat) (10) āŠ„ ā† hasFather(john, pat), isChildOf(john, alex), not DL[; Adopted](john), not DL[Child boy; Ā¬Male](alex) 18 / 38
  • 44. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work DL-program DL ontology Logical part (1) Child āˆƒhasParent (2) Female Ā¬Male (3) Adopted Child Data part (KG) (4) Male(pat) (5) Male(john) (6) hasParent(john, pat) Rules (7) isChildOf(john, alex) (8) boy(tim) (9) hasFather(john, pat) ā† DL[; hasParent](john, pat), DL[Male boy; Male](pat) (10) āŠ„ ā† hasFather(john, pat), isChildOf(john, alex), not DL[; Adopted](john), not DL[Child boy; Ā¬Male](alex) 18 / 38
  • 45. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work DL-program DL ontology Logical part (1) Child āˆƒhasParent (2) Female Ā¬Male (3) Adopted Child Data part (KG) (4) Male(pat) (5) Male(john) (6) hasParent(john, pat) Rules (7) isChildOf(john, alex) (8) boy(tim) (9) hasFather(john, pat) ā† DL[; hasParent](john, pat), DL[Male boy; Male](pat) (10) āŠ„ ā† hasFather(john, pat), isChildOf(john, alex), not DL[; Adopted](john), not DL[Child boy; Ā¬Male](alex) 18 / 38
  • 46. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Inconsistent DL-program DL ontology Logical part (1) Child āˆƒhasParent (2) Female Ā¬Male (3) Adopted Child Data part (KG) (4) Male(pat) (5) Male(john) (6) hasParent(john, pat) Rules (7) isChildOf(john, alex) (8) boy(tim) (9) hasFather(john, pat) ā† DL[; hasParent](john, pat), DL[Male boy; Male](pat) (10) āŠ„ ā† hasFather(john, pat), isChildOf(john, alex), not DL[; Adopted](john), not DL[Child boy; Ā¬Male](alex) Inconsistent DL-program: no answer sets! 18 / 38
  • 47. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work DL-program Repair DL ontology Logical part (1) Child āˆƒhasParent (2) Female Ā¬Male (3) Adopted Child Data part (KG) (4) Male(pat) Female(alex) (5) Male(john) (6) hasParent(john, pat) Rules (7) isChildOf(john, alex) (8) boy(tim) (9) hasFather(john, pat) ā† DL[; hasParent](john, pat), DL[Male boy; Male](pat) (10) āŠ„ ā† hasFather(john, pat), isChildOf(john, alex), not DL[; Adopted](john), not DL[Child boy; Ā¬Male](alex) Repair answer set: I = {isChildOf(john, alex), boy(tim), hasFather(john, pat)} 18 / 38
  • 48. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work DL-program Repair DL ontology Logical part (1) Child āˆƒhasParent (2) Female Ā¬Male (3) Adopted Child Data part (KG) (4) Male(pat) Female(pat) (5) Male(john) (6) hasParent(john, pat) Rules (7) isChildOf(john, alex) (8) boy(tim) (9) hasFather(john, pat) ā† DL[; hasParent](john, pat), DL[Male boy; Male](pat) (10) āŠ„ ā† hasFather(john, pat), isChildOf(john, alex), not DL[; Adopted](john), not DL[Child boy; Ā¬Male](alex) Repair answer set: I = {isChildOf(john, alex), boy(tim)} 18 / 38
  • 49. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work DL-program Repair DL ontology Logical part (1) Child āˆƒhasParent (2) Female Ā¬Male (3) Adopted Child Data part (KG) (4) Male(pat) (5) Male(john) Rules (7) isChildOf(john, alex) (8) boy(tim) (9) hasFather(john, pat) ā† DL[; hasParent](john, pat), DL[Male boy; Male](pat) (10) āŠ„ ā† hasFather(john, pat), isChildOf(john, alex), not DL[; Adopted](john), not DL[Child boy; Ā¬Male](alex) Repair answer set: I = {isChildOf(john, alex), boy(tim)} 18 / 38
  • 50. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Inconsistency Handling in DL-programs Goal: develop techniques for handling inconsistencies in DL-programs Approach: repair ontology data part (KG) to regain consistency 19 / 38
  • 51. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Complexity of Repair Answer Sets INSTANCE: A ground DL-program Ī  = O, P . QUESTION: Does there exist a repair answer set for Ī ? Theorem Deciding repair and standard answer set existence have the same complexity if instance query-answering in O is polynomial (DL-LiteA, EL). Ī  FLP semantics weak semantics normal Ī£P 2 -complete NP-complete disjunctive Ī£P 2 -complete Ī£P 2 -complete T. Eiter, M. Fink, D. Stepanova. Data Repair of Inconsistent DL-programs. IJCAI2013 T. Eiter, M. Fink, D. Stepanova. Data Repair of Inconsistent Nonmonotonic Description Logic Programs. JAI2016 20 / 38
  • 52. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Ontology Repair Problem INSTANCE: Ontology O, Dtrue = { update, query }, Dfalse = { update, query } QUESTION: Does there exist O data part, for which queries under their updates from Dtrue are true and from Dfalse are false? Theorem The Ontology Repair Problem is NP-complete even if O = āˆ…. Tractable cases: ā€¢ Deletion repair ā€¢ Bounded addition ā€¢ Bounded change ā€¢ . . . 21 / 38
  • 53. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Optimized DL-program Repair ā€¢ For each DL-atom compute minimal sets of facts ( ), whose presence in ontology ensures DL-atomā€™s query entailment (small for some DLs) 22 / 38
  • 54. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Optimized DL-program Repair ā€¢ For each DL-atom compute minimal sets of facts ( ), whose presence in ontology ensures DL-atomā€™s query entailment (small for some DLs) ā€¢ Guess values of DL-atoms under which the program has an answer set 22 / 38
  • 55. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Optimized DL-program Repair ā€¢ For each DL-atom compute minimal sets of facts ( ), whose presence in ontology ensures DL-atomā€™s query entailment (small for some DLs) ā€¢ Guess values of DL-atoms under which the program has an answer set ā€¢ Solve ontology repair problem as a variant of a hitting set problem T. Eiter, M. Fink, D. Stepanova. Towards Practical Deletion Repair of Inconsistent DL-programs. ECAI2014 T. Eiter, M. Fink, D. Stepanova. Computing Repairs for Inconsistent DL-programs over EL Ontologies. JELIA2014, JAIR2016 22 / 38
  • 56. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Example Benchmark ā€¢ Ontology: MyITS1 ā€¢ personalized route planning with semantic information ā€¢ logical axioms (406), (building features located inside private areas are not publicly accessible, covered bus stops are those with roofs) ā€¢ KG (4195 facts), Cork city map with leisure areas, bus stops,.. ā€¢ Rules: check that public stations donā€™t lack public access, using CWA on private areas ā€¢ Inconsistency: wrong GPS coordinates result in roofed bus stops being located inside private areas ā€¢ Repair: found within 12 seconds 1 http://www.kr.tuwien.ac.at/research/projects/myits/ 23 / 38
  • 57. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Overview Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Further and Future Work M. Gad-Elrab J. Urbani G. Weikum D. H. Tran F. A. Lisi 24 / 38
  • 58. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Horn Rule Mining 25 / 38
  • 59. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Horn Rule Mining Horn rule mining for KG completion [GalĀ“arraga et al., 2015] conf(r) = | | | | + | | = 2 4 r : livesIn(X, Z) ā† isMarriedTo(Y, X), livesIn(Y, Z) 25 / 38
  • 60. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Horn Rule Mining Horn rule mining for KG completion [GalĀ“arraga et al., 2015] conf(r) = | | | | + | | = 2 4 r : livesIn(X, Z) ā† isMarriedTo(Y, X), livesIn(Y, Z) 25 / 38
  • 61. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Nonmonotonic Rule Mining Nonmonotonic rule mining from KGs: OWA is a challenge! conf(r) = | | | | + | | =1 r : livesIn(X, Z) ā† isMarriedTo(Y, X), livesIn(Y, Z), not researcher(X) 25 / 38
  • 62. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Declarative Programming Paradigm 26 / 38
  • 63. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Declarative Programming Example Graph 3-colorability y of advanced reasoners makes the ASP formalism applicable to solving practical tasks. The standard s two components: a grounder and a solver. The list of the most well-known grounders include: dlv4 , c. Among the solvers one can mention dlv, clasp7 , claspd8 , gnt9 . Potassco10 represents a collection of s, combining clasp and gringo into a system architecture. t an example that illustrates the basic notions of the Answer Set Programming that we have inroduced. der a graph 3-colourability problem, in which we are given a graph and three colours, e.g. red, blue and at ļ¬nding the assignment of colours to the nodes of a graph in such a way that no adjacent nodes share e encoding of this problem is as follows. 1 2 6 3 5 4 . . . 6); (2) edge(1, 2); . . . (8) edge(5, 6); d(V , red) ā† not coloured(V , blue), not coloured(V , green), node(V ); ed(V , green) ā† not coloured(V , blue), not coloured(V , red), node(V ); ed(V , blue) ā† not coloured(V , green), not coloured(V , red), node(V ); oloured(V , C), coloured(V , C ), C = C ; oloured(V , C), coloured(V , C), edge(V , V ) ļ£¼ ļ£“ļ£“ļ£“ļ£“ļ£“ļ£“ļ£½ ļ£“ļ£“ļ£“ļ£“ļ£“ļ£“ļ£¾ programs P describe the nodes and edges of the graph from above. The rules (9)-(11) state that each red in at least one of the three colours. The constraint (12) forbids the nodes to be colored in more then e constraint (13) says that two nodes connected via an edge must have different colours. lvsystem.com/ sco.sourceforge.net/ cs.hut.fi/Software/smodels/ sco.sourceforge.net/ s.uni-potsdam.de/claspD/ cs.hut.fi/Software/gnt/ sco.sourceforge.net/ PI GL = ļ£“ļ£“ļ£“ļ£“ļ£“ļ£² ļ£“ļ£“ļ£“ļ£“ļ£“ļ£“ļ£“ļ£“ļ£³ (9) coloured(1, red) ā† node(1); (10) coloured(3, red) ā† node(3); (11) coloured(4, green) ā† node(4); (12) coloured(6, green) ā† node(6); (13) coloured(2, blue) ā† node(2); (14) coloured(5, blue) ā† node(5) ļ£“ļ£“ļ£“ļ£“ļ£“ļ£½ ļ£“ļ£“ļ£“ļ£“ļ£“ļ£“ļ£“ļ£“ļ£¾ One can see that I is the minimal model of the positive program PI GL, and thus an answer set o encodes the following valid graph coloring: 1 2 6 3 5 4 B Related Work From the theoretical side the problem of learning nonmonotonic rules from the data has been studied i in discrete and probabilistic settings. However, many available techniques are heavily based on CW be directly applied to our setting. For example, Bain and Muggleton [3] developed the algorithm c Specialization (CWS), in which an initial program and an intended interpretation that a learned progra given. In this setting, any atom which is not included in the interpretation is considered false. For exam contain the rule {ļ¬‚ies(X) ā† bird(X).} Furthermore, let the KB be as follows: {bird(eagle), ļ¬‚ies( The CWS algorithm would interpret ļ¬‚ies(emu) as false, and would specialize P to {ļ¬‚ies(X) ā† bir from which the fact {ab(emu)} would be learned. The Open World Specialization (OWS) [9] is a modiļ¬cation of the CWS algorithm, which avoids u negative instances by considering a three-valued setting. The OWS technique does not involve conļ¬d rules that are mined, which prevents it from being used for our purpose. node(1 . . . 6); edge(1, 2); . . . col(V, red) ā† not col(V, blue), not col(V, green), node(V); col(V, green) ā† not col(V, blue), not col(V, red), node(V); col(V, blue) ā† not col(V, green), not col(V, red), node(V); āŠ„ ā† col(V, C), col(V, C ), C = C ; āŠ„ ā† col(V, C), col(V , C), edge(V, V ) node(1 . . . 6); edge(1, 2); . . . col(1, red), col(2, blue), col(3, red), col(4, green), col(6, green), col(5, blue) 26 / 38
  • 64. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Nonmonotonic Rule Mining 27 / 38
  • 65. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Nonmonotonic Rule Mining livesIn(Y, Z) ā† isMarried(X, Y), livesIn(X, Y), not researcher(Y) isMarriedTo(brad, ann); isMarriedTo(john, kate); isMarriedTo(bob, alice); isMarriedTo(clara, dave); livesIn(brad, berlin; . . . researcher(alice); researcher(dave) 27 / 38
  • 66. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Nonmonotonic Rule Mining from KGs Goal: learn nonmonotonic rules from KG Approach: revise association rules learned using data mining methods 28 / 38
  • 67. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Horn Theory Revision Quality-based Horn Theory Revision Given: ā€¢ Available KG 29 / 38
  • 68. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Horn Theory Revision Quality-based Horn Theory Revision Given: ā€¢ Available KG ā€¢ Horn rule set 29 / 38
  • 69. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Horn Theory Revision Quality-based Horn Theory Revision Given: ā€¢ Available KG ā€¢ Horn rule set Find: ā€¢ Nonmonotonic revision of Horn rule set 29 / 38
  • 70. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Horn Theory Revision Quality-based Horn Theory Revision Given: ā€¢ Available KG ā€¢ Horn rule set Find: ā€¢ Nonmonotonic revision of Horn rule set with better predictive quality 29 / 38
  • 71. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Avoid Data Overļ¬tting How to distinguish exceptions from noise? r1 : livesIn(X, Z) ā† isMarriedTo(Y, X), livesIn(Y, Z), not researcher(X) 30 / 38
  • 72. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Avoid Data Overļ¬tting How to distinguish exceptions from noise? r1 : livesIn(X, Z) ā† isMarriedTo(Y, X), livesIn(Y, Z), not researcher(X) not livesIn(X, Z) ā† isMarriedTo(Y, X), livesIn(Y, Z), researcher(X) 30 / 38
  • 73. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Avoid Data Overļ¬tting How to distinguish exceptions from noise? r1 : livesIn(X, Z) ā† isMarriedTo(Y, X), livesIn(Y, Z), not researcher(X) not livesIn(X, Z) ā† isMarriedTo(Y, X), livesIn(Y, Z), researcher(X) r2 : livesIn(X, Z) ā† bornIn(X, Z), not moved(X) not livesIn(X, Z) ā† bornIn(X, Z), moved(X) 30 / 38
  • 74. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Avoid Data Overļ¬tting How to distinguish exceptions from noise? r1 : livesIn(X, Z) ā† isMarriedTo(Y, X), livesIn(Y, Z), not researcher(X) not livesIn(X, Z) ā† isMarriedTo(Y, X), livesIn(Y, Z), researcher(X) r2 : livesIn(X, Z) ā† bornIn(X, Z), not moved(X) not livesIn(X, Z) ā† bornIn(X, Z), moved(X) {livesIn(c, d), not livesIn(c, d)} are conļ¬‚icting predictions Intuition: Rules with good exceptions should make few conļ¬‚icting predictions 30 / 38
  • 75. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Horn Theory Revision Quality-based Horn Theory Revision Given: ā€¢ Available KG ā€¢ Horn rule set Find: ā€¢ Nonmonotonic revision of Horn rules, such that ā€¢ number of conļ¬‚icting predictions is minimal ā€¢ average conviction is maximal 31 / 38
  • 76. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Exception Candidates r: livesIn(X, Z) ā† isMarriedTo(Y, X) , livesIn(Y, Z) 32 / 38 not researcher(X) not artist(Y)
  • 77. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Exception Ranking rule1 {e1, e2, e3, . . . } rule2 {e1, e2, e3, . . . } rule3 {e1, e2, e3, . . . } Finding globally best revision is expensive, exponentially many candidates! ā€¢ Naive ranking: for every rule inject exception that results in the highest conviction ā€¢ Partial materialization (PM): apply all rules apart from a given one, inject exception that results in the highest average conviction of the rule and its rewriting ā€¢ Ordered PM (OPM): same as PM plus ordered rules application ā€¢ Weighted OPM: same as OPM plus weights on predictions M. Gad-Elrab, D. Stepanova, J. Urbani, G. Weikum. Exception-enriched Rule Learning from Knowledge Graphs. ISWC2016 D. Tran, D. Stepanova, M. Gad-Elrab, F. Lisi, G. Weikum. Towards Nonmonotonic Relational Learning from KGs. ILP2016 33 / 38
  • 78. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Experimental Setup ā€¢ Approximated ideal KG: original KG ā€¢ Available KG: for every relation randomly remove 20% of facts from approximated ideal KG ā€¢ Horn rules: h(X, Y) ā† p(X, Z), q(Z, Y) ā€¢ Exceptions: e1(X), e2(Y), e3(X, Y) ā€¢ Predictions are computed using answer set solver DLV 34 / 38
  • 79. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Experimental Setup ā€¢ Approximated ideal KG: original KG ā€¢ Available KG: for every relation randomly remove 20% of facts from approximated ideal KG ā€¢ Horn rules: h(X, Y) ā† p(X, Z), q(Z, Y) ā€¢ Exceptions: e1(X), e2(Y), e3(X, Y) ā€¢ Predictions are computed using answer set solver DLV Examples of revised rules: Plots of ļ¬lms in a sequel are written by the same writer, unless a ļ¬lm is American r1 : writtenBy(X, Z) ā† hasPredecessor(X, Y), writtenBy(Y, Z), not american ļ¬lm(X) Spouses of ļ¬lm directors appear on the cast, unless they are silent ļ¬lm actors r2 : actedIn(X, Z) ā† isMarriedTo(X, Y), directed(Y, Z), not silent ļ¬lm actor(X) 34 / 38
  • 80. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Overview Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work 35 / 38
  • 81. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Completeness-aware Rule Mining ā€¢ Exploit cardinality meta-data [Mirza et al., 2016] in rule mining John has 5 children, Mary is a citizen of 2 countries Joint work with T. Pellissier-Tanon, S. Razniewski, P. Mirza, G. Weikum 36 / 38
  • 82. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Ongoing and Future Work ā€¢ Make use of logical background knowledge in ā€¢ Rule learning and other data mining tasks2 ā€¢ Information extraction from text corpora3 ā€¢ Natural language processing tasks ā€¢ Exploit answer set programs with external computations [Eiter et al., 2009] for the above problems 2 S. Paramonov, D. Stepanova, P. Miettinen. Hybrid Approach to Constraint-based Pattern Mining. Accepted to RR2017 3 Joint work with M. Gad-Elrab, J. Urbani, G. Weikum 37 / 38
  • 83. Motivation Ontologies and Rules Inconsistencies in DL-programs Nonmonotonic Rule Mining Ongoing and Future Work Conclusion Summary: ā€¢ Inconsistencies in combination of rules and ontologies ā€¢ Repair semantics and its complexity analysis ā€¢ Optimized algorithms for repair computation and their evaluation (DL-LiteA and EL DLs) ā€¢ Nonmonotonic rule mining from KGs ā€¢ Quality-based Horn theory revision framework under OWA ā€¢ Approach for computing and ranking exceptions based on cross-talk among rules and its evaluation on real-world KGs Future Directions: ā€¢ Interlinking mining and reasoning in the KG context ā€¢ Exploiting logical background knowledge in information extraction and natural language processing tasks 38 / 38
  • 84. References I Thomas Eiter, Giovambattista Ianni, Thomas Lukasiewicz, Roman Schindlauer, and Hans Tompits. Combining answer set programming with description logics for the semantic web. Artiļ¬cial Intelligence, 172(12-13):1495ā€“1539, August 2008. Thomas Eiter, Gerhard Brewka, Minh Dao-Tran, Michael Fink, Giovambattista Ianni, and Thomas Krennwallner. Combining nonmonotonic knowledge bases with external sources. In Frontiers of Combining Systems, 7th International Symposium, FroCoS 2009, Trento, Italy, September 16-18, 2009. Proceedings, pages 18ā€“42, 2009. Luis GalĀ“arraga, Christina Teļ¬‚ioudi, Katja Hose, and Fabian M. Suchanek. Fast rule mining in ontological knowledge bases with AMIE+. VLDB J., 24(6):707ā€“730, 2015. Michael Gelfond and Vladimir Lifschitz. The stable model semantics for logic programming. In Proceedings of the 5th International Conference and Symposium on Logoc Programming, ICLP 1988, pages 1070ā€“1080. The MIT Press, 1988. P. J. Hayes. The logic of frames. In Frame Conceptions and Text Understanding, pages 46ā€“61. 1979. John McCarthy. Programs with common sense. In TeddingtonConference, pages 75ā€“91, 1959. John McCarthy. Circumscription - A form of non-monotonic reasoning. Artif. Intell., 13(1-2):27ā€“39, 1980. Marvin Minsky. A framework for representing knowledge. In Readings in Knowledge Representation, pages 245ā€“262. Kaufmann, 1985.
  • 85. References II Paramita Mirza, Simon Razniewski, and Werner Nutt. Expanding wikidataā€™s parenthood information by 178%, or how to mine relation cardinality information. In ISWC 2016 Posters Demos, 2016. Raymond Reiter. A logic for default reasoning. Artif. Intell., 13(1-2):81ā€“132, 1980. J. Robinson. A machine-oriented logic based on the resolution principle. Journal of the ACM, 12(6):23ā€“41, 1965.
  • 95. Additional Material Hybrid Constraint-based Pattern Mining ā€¢ Interlink mining and reasoning ā€¢ Use declarative logic programming for frequent pattern (itemset/sequence) ļ¬ltering ā€¢ Combine various domain-speciļ¬c constraints Sergey Paramonov, Daria Stepanova, Pauli Miettinen. Hybrid Approach to Constraint-based Pattern Mining. RR2017 4 / 6