SlideShare ist ein Scribd-Unternehmen logo
1 von 33
Downloaden Sie, um offline zu lesen
Rajendra Akerkar
Vestlandsforsking, Norway




   R. Akerkar: Reasoning in DL   10:58:57   1
   What is Description Logics ( )
                  p       g    (DL)
   Semantics of DL
   Basic Tableau Algorithm
   Advanced Tableau Algorithm




                            R. Akerkar: Reasoning in DL   10:58:57   2
              g                g
    A formal logic-based knowledge
    representation language
    ◦ “Description" about the world in terms of concepts
     (classes), roles (
     ( l     )    l (properties, relationships) and
                             ti    l ti   hi ) d
     individuals (instances)
   Decidable fragments of FOL
                 g
   Widely used in database (e.g., DL CLASSIC)
    and semantic web (e.g., OWL language)




                                R. Akerkar: Reasoning in DL   10:58:57   3
Person include Man(Male) and
 Woman(Female),
 Woman(Female)
A Man is not a Woman
A Father is a Man who has Child
A Mother is a Woman who has Child
Both Father and Mother are Parent
Grandmother is a Mother of a Parent
A Wife is a Woman and has a Husband(
 which as Man)
A Mother Without Daughter is a Mother
                      g
 whose all Child(ren) are not Women
                        R. Akerkar: Reasoning in DL   10:58:57   4
10:58:57   R. Akerkar: Reasoning in DL   5
   Concepts (unary predicates/formulae with one free variable)
    ◦ E.g., Person, Father, Mother
      E     P       F th    M th
   Roles (binary predicates/formulae with two free variables)
    ◦ E.g., hasChild, hasHudband
   Individual names (constants)
    ◦ E.g., Alice, Bob, Cindy
   Subsumption (relations between concepts)
    ◦ E.g. Female  Person
   Operators (for forming concepts and roles)
    ◦   And(Π) , Or(U), Not (¬)
    ◦   Universal qualifier ( Existent qualifier()
    ◦   Number restiction :   
                              
    ◦   Inverse role (-), transitive role (+), Role hierarchy




                                              R. Akerkar: Reasoning in DL   10:58:57   6
   (Inverse Role) hasParent = hasChild-
    ◦ hasParent(Bob,Alice) -> hasChild(Alice, Bob)
   (Transitive Role)hasBrother
    ◦ h B h (B b D id) h B h (D id M k)
       hasBrother(Bob,David), hasBrother(David, Mack)
      -> hasBrother(Bob,Mack)
   (Role Hierarchy) hasMother  hasParent
    ◦ hasMother(Bob,Alice) -> hasParent(Bob, Alice)
   HappyFather  Father Π hasChild.Woman
      ppy
    Π hasChild.Man


                               R. Akerkar: Reasoning in DL   10:58:57   7
Knowledge Base

 Tbox (schema)
    HappyFather  Person Π 




                                                              ystem
 hasChild.Woman Π hasChild.Man




                                                                                      face
                                                   Inference Sy




                                                                                 Interf
 Abox (data)
      Happy-Father(Bob)




                         (Example taken from Ian Horrocks, U Manchester, UK)
                                      R. Akerkar: Reasoning in DL     10:58:57               8
   ALC: the smallest DL that is propositionally
    closed
    ◦ Constructors include booleans (and, or, not),
      Restrictions on role successors
   SHOIQ = OWL DL
      S=ALCR+: ALC with transitive role
      H = role hierarchy
      O = nomial .e.g WeekEnd = {Saturday, Sunday}
      I = Inverse role
     Q = qulified number restriction e.g. >=1
     hasChild.Man
     hasChild Man
      N = number restriction e.g. >=1 hasChild
                                  R. Akerkar: Reasoning in DL   10:58:57   9
   What is Description Logic ( )
                  p       g (DL)
   Semantics of DL
   Basic Tableau Algorithm
   Advanced Tableau Algorithm




                            R. Akerkar: Reasoning in DL   10:58:57   10
DL Ontology: is a set of terms and their
              gy
    relations
    Interpretation of a DL Ontology: A possible
    world ("model") that materializes the
    ontology
                      Ontology:

                      Student  People
                      Student  Present Topic
                                Present.Topic
                      KR  Topic
                      DL  KR



10:58:57                R. Akerkar: Reasoning in DL   11
   DL semantics defined by interpretations: I = (I, .I),
    where
    ◦ I is the domain (a non-empty set)
    ◦ .I is an interpretation function that maps:
       Concept (class) name A -> subset AI of I
       Role (property) name R -> binary relation RI over I
       I di id l name i -> iI element of I
        Individual              l    t f
   Interpretation function .I tells us how to interpret
    atomic concepts, properties and individuals.
                  p ,p p
    ◦ The semantics of concept forming operators is given by
      extending the interpretation function in an obvious way.



                                         R. Akerkar: Reasoning in DL   10:58:57   12
   I = (I, .I)
   I = {Raj, DL_Reasoning}
   PeopleI=StudentI={Raj}
   TopicI=KRI=DLI={DL_Reasoning}
   PresentI={(Raj, DL_Reasoning)}



An interpretation that satisifies all axioms in an DL
ontology is also called a model of the ontology.


                              R. Akerkar: Reasoning in DL   10:58:57   13
Description Logics Tutorial, Ian Horrocks and Ulrike Sattler, ECAI-2002
                                       R. Akerkar: Reasoning in DL   10:58:57   14
Description Logics Tutorial, Ian Horrocks and Ulrike Sattler, ECAI-2002
                                       R. Akerkar: Reasoning in DL   10:58:57   15
   What is Description Logic ( )
                  p       g (DL)
   Semantics of DL
   Basic Tableau Algorithm
   Advanced Tableau Algorithm




                            R. Akerkar: Reasoning in DL   10:58:57   16
   "Machine Understanding"  g
   Find facts that are implicit in the ontology
    given explicitly stated facts
    ◦ Find what you know, but you don't know you know
        it - yet.
   Example
    ◦ A is father of B, B is father of C, then A is ancestor
        of C.
    ◦   D is mother of B, then D is female




                                   R. Akerkar: Reasoning in DL   10:58:57   17
   Knowledge is correct (captures intuitions)
    ◦ C subsumes D w.r.t. K iff for every model I of K, CI µ DI
                       wrt                              K
   Knowledge is minimally redundant (no unintended synonyms)
    ◦ C is equivallent to D w.r.t. K iff for every model I of K, CI = DI
   Knowledge i meaningful ( l
    K     l d is           i f l (classes can h    have instances)
                                                        i t        )
    ◦ C is satisfiable w.r.t. K iff there exists some model I of K s.t. CI 
      ;
   Querying knowledge
    ◦ x is an instance of C w.r.t. K iff for every model I of K, xI  CI
    ◦ hx,yi is an instance of R w.r.t. K iff for, every model I of K, (xI,yI) 
      RI
   Knowledge base consistency
    ◦ A KB K is consistent iff there exists some model I of K



                                            R. Akerkar: Reasoning in DL   10:58:57   18
Many inference tasks can be reduced to subsumption
     reasoning




     Subsumption can be reduced to satisfiability
           p                                    y




10:58:57                     R. Akerkar: Reasoning in DL   19
              g
    Tableau Algorithm is the de facto standard
    reasoning algorithm used in DL
   Basic intuitions
    ◦ Reduces a reasoning problem to concept satisfiability
      problem
    ◦ Finds an interpretation that satisfies concepts in
                    p                             p
      question.
    ◦ The interpretation is incrementally constructed as a
      "Tableau"
       Tableau




                                 R. Akerkar: Reasoning in DL   10:58:57   20
   given: Wife Woman, Woman Person
    question: if Wife Person
   Reasoning process
    ◦ T t if th
      Test there is a individual th t i a W
                    i   i di id l that is Woman b t not
                                                      but t
      a Person, i.e. test the satisfiability of concept
      C0=(WifeЬPerson)
    ◦ C0(x) -> Wife(x), (¬Person)(x)
    ◦ Wife(x)->Woman(x)
    ◦W        ( ) >P
      Woman(x) ->Person(x)  ( )
    ◦ Conflict!
    ◦ C0 is unsatisfiable, therefore Wife Person is true
      with the given ontology.
                                R. Akerkar: Reasoning in DL   10:58:57   21
   Transform C into negation normal form(NNF),
    i.e. negation occurs only in front of concept
    i        ti            l i f     t f         t
    names.
   Denote the transformed expression as C0, the
                                p
    algorithm starts with an ABox A0 = {C0(x0)}, and
    apply consistency-preserving transformation
    rules (tableaux expansion) to the ABox as far
    as possible.
   If one possible ABox is found, C0 is satisfiable.
   If not ABox is f
     f                   d  d     ll     h    h
                   found under all search pathes,
    C0 is unsatisfiable.


                              R. Akerkar: Reasoning in DL   10:58:57   22
R. Akerkar: Reasoning in DL   10:58:57   23
Clash




        R. Akerkar: Reasoning in DL   10:58:57   24
   An ABox is called complete if none of the
    expansion rules applies to it.
   An ABox is called consistent if no logic
    clash is found.
      l hi f      d
   If any complete and consistent ABox is
    found,
    found the initial ABox A0 is satisfiable
   The expansion terminates, either when
    finds a complete and consistent ABox or
                                      ABox,
    try all search pathes ending with complete
    but inconsistent ABoxes.

                           R. Akerkar: Reasoning in DL   10:58:57   25
   Embed the TBox in the initial ABox concept
   CD is equivalent T ¬C U D (T is the
    "top" concept. It imeans ¬C U D is the super
    concept f ANY concepts)
           t for            t )
   E.g.
    ◦ Given ontology: Mother  Woman Π Parent
                                          Parent,
      Woman  Person
    ◦ Query: Mother  Person
           y
    ◦ The intitial ABox is : ¬Mother U(Woman Π Parent)
      Π (¬Woman U Person) Π (Mother Π ¬Person)


                               R. Akerkar: Reasoning in DL   10:58:57   26
Search




         R. Akerkar: Reasoning in DL   10:58:57   27
   Another explanation of tableaux algorithm
    is that it works on a finite completion tree
    whose
    ◦ i di id l i th t bl
      individuals in the tableau correspond t nodes
                                           d to    d
    ◦ and whose interpretation of roles is taken from
      the edge labels.
             g




                               R. Akerkar: Reasoning in DL   10:58:57   28
   Similar tableaux expansions can be
    designed for more expressive DL
    d i     df                i
    languages.
   A tableau algorithm has to meet three
    requirements
    ◦ Soundness: if a complete and clash-free ABox
      is found by the algorithm, the ABox must
                        algorithm
      satisfies the initial concept C0.
    ◦ Completeness: if the initial concept C0 is
      satisfiable, the algorithm can always fi d an
          i fi bl   h l      ih         l   find
      complete and clash-free ABox
    ◦ Termination: the algorithm can terminate in
      finite steps with specific result.
                               R. Akerkar: Reasoning in DL   10:58:57   29
   What is Description Logic ( )
                  p       g (DL)
   Semantics of DL
   Basic Tableau Algorithm
   Advanced Tableau Algorithm




                            R. Akerkar: Reasoning in DL   10:58:57   30
   Rich literatures in the past decade.
   Advanced techniques
    ◦ Blocking (Subset Blocking, Pair Locking, Dynamic
      Blocking)
    ◦ For more expressive languages: number
      restriction, inverse role, transitive role, nomial,
      data type
    ◦ Detailed analysis of complexities.




                                 R. Akerkar: Reasoning in DL   10:58:57   31
SHIQ Expansion Rules




             R. Akerkar: Reasoning in DL   10:58:57   32
   F. Baader, W. Nutt. Basic Description Logics. In the Description
    Logic Handbook, edited by F Baader, D. Calvanese, D.L.
           Handbook              F. Baader D Calvanese D L
    McGuinness, D. Nardi, P.F. Patel-Schneider, Cambridge
    University Press, 2002, pages 47-100.
   Ian Horrocks and Ulrike Sattler. Description Logics Tutorial,
    ECAI-2002, Lyon, France, July 23rd, 2002.
   Ian Horrocks and Ulrike Sattler. A tableaux decision procedure
    for SHOIQ. In Proc. of the 19th Int. Joint Conf. on Artificial
    Intelligence (IJCAI 2005), 2005.
   I. Horrocks and U. Sattler. A description logic with transitive
    and inverse roles and role hierarchies. Journal of Logic and
    Computation, 9(3):385-410, 1999.




                                       R. Akerkar: Reasoning in DL   10:58:57   33

Weitere ähnliche Inhalte

Was ist angesagt?

Searching techniques with progrms
Searching techniques with progrmsSearching techniques with progrms
Searching techniques with progrmsMisssaxena
 
ARTIFICIAL INTELLIGENCE
ARTIFICIAL INTELLIGENCEARTIFICIAL INTELLIGENCE
ARTIFICIAL INTELLIGENCESabique Khan
 
Goal stack planning.ppt
Goal stack planning.pptGoal stack planning.ppt
Goal stack planning.pptSadagopanS
 
Data structure tries
Data structure triesData structure tries
Data structure triesMd. Naim khan
 
Jarrar: Description Logic
Jarrar: Description LogicJarrar: Description Logic
Jarrar: Description LogicMustafa Jarrar
 
Binary search trees
Binary search treesBinary search trees
Binary search treesDwight Sabio
 
Discrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional LogicDiscrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional LogicIT Engineering Department
 
String Matching Finite Automata & KMP Algorithm.
String Matching Finite Automata & KMP Algorithm.String Matching Finite Automata & KMP Algorithm.
String Matching Finite Automata & KMP Algorithm.Malek Sumaiya
 
BackTracking Algorithm: Technique and Examples
BackTracking Algorithm: Technique and ExamplesBackTracking Algorithm: Technique and Examples
BackTracking Algorithm: Technique and ExamplesFahim Ferdous
 
Data Modeling with Neo4j
Data Modeling with Neo4jData Modeling with Neo4j
Data Modeling with Neo4jNeo4j
 
Variables & Data Types In Python | Edureka
Variables & Data Types In Python | EdurekaVariables & Data Types In Python | Edureka
Variables & Data Types In Python | EdurekaEdureka!
 

Was ist angesagt? (20)

Artificial Intelligence - Reasoning in Uncertain Situations
Artificial Intelligence - Reasoning in Uncertain SituationsArtificial Intelligence - Reasoning in Uncertain Situations
Artificial Intelligence - Reasoning in Uncertain Situations
 
Searching techniques with progrms
Searching techniques with progrmsSearching techniques with progrms
Searching techniques with progrms
 
Formal Logic in AI
Formal Logic in AIFormal Logic in AI
Formal Logic in AI
 
Semantic Networks
Semantic NetworksSemantic Networks
Semantic Networks
 
Programa de Pila Estática
Programa de Pila EstáticaPrograma de Pila Estática
Programa de Pila Estática
 
Prim's algorithm
Prim's algorithmPrim's algorithm
Prim's algorithm
 
AI: Logic in AI
AI: Logic in AIAI: Logic in AI
AI: Logic in AI
 
ARTIFICIAL INTELLIGENCE
ARTIFICIAL INTELLIGENCEARTIFICIAL INTELLIGENCE
ARTIFICIAL INTELLIGENCE
 
Goal stack planning.ppt
Goal stack planning.pptGoal stack planning.ppt
Goal stack planning.ppt
 
Ai lab manual
Ai lab manualAi lab manual
Ai lab manual
 
Data structure tries
Data structure triesData structure tries
Data structure tries
 
Jarrar: Description Logic
Jarrar: Description LogicJarrar: Description Logic
Jarrar: Description Logic
 
Binary search trees
Binary search treesBinary search trees
Binary search trees
 
Turing machines
Turing machinesTuring machines
Turing machines
 
Discrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional LogicDiscrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional Logic
 
String Matching Finite Automata & KMP Algorithm.
String Matching Finite Automata & KMP Algorithm.String Matching Finite Automata & KMP Algorithm.
String Matching Finite Automata & KMP Algorithm.
 
BackTracking Algorithm: Technique and Examples
BackTracking Algorithm: Technique and ExamplesBackTracking Algorithm: Technique and Examples
BackTracking Algorithm: Technique and Examples
 
R decision tree
R   decision treeR   decision tree
R decision tree
 
Data Modeling with Neo4j
Data Modeling with Neo4jData Modeling with Neo4j
Data Modeling with Neo4j
 
Variables & Data Types In Python | Edureka
Variables & Data Types In Python | EdurekaVariables & Data Types In Python | Edureka
Variables & Data Types In Python | Edureka
 

Ähnlich wie Reasoning in Description Logics

Description logics
Description logicsDescription logics
Description logicsR A Akerkar
 
Data Complexity in EL Family of Description Logics
Data Complexity in EL Family of Description LogicsData Complexity in EL Family of Description Logics
Data Complexity in EL Family of Description LogicsAdila Krisnadhi
 
Jarrar.lecture notes.aai.2011s.descriptionlogic
Jarrar.lecture notes.aai.2011s.descriptionlogicJarrar.lecture notes.aai.2011s.descriptionlogic
Jarrar.lecture notes.aai.2011s.descriptionlogicPalGov
 
leanCoR: lean Connection-based DL Reasoner
leanCoR: lean Connection-based DL ReasonerleanCoR: lean Connection-based DL Reasoner
leanCoR: lean Connection-based DL ReasonerAdriano Melo
 
Local Closed World Semantics - DL 2011 Poster
Local Closed World Semantics - DL 2011 PosterLocal Closed World Semantics - DL 2011 Poster
Local Closed World Semantics - DL 2011 PosterAdila Krisnadhi
 
Abdbfhdkmdmdjfmfkmfmfmfjjfjfjfnfnnfnfnfn
AbdbfhdkmdmdjfmfkmfmfmfjjfjfjfnfnnfnfnfnAbdbfhdkmdmdjfmfkmfmfmfjjfjfjfnfnnfnfnfn
AbdbfhdkmdmdjfmfkmfmfmfjjfjfjfnfnnfnfnfnNipunMeena
 
[ABDO] Logic As A Database Language
[ABDO] Logic As A Database Language[ABDO] Logic As A Database Language
[ABDO] Logic As A Database LanguageCarles Farré
 
Lean Logic for Lean Times: Entailment and Contradiction Revisited
Lean Logic for Lean Times: Entailment and Contradiction RevisitedLean Logic for Lean Times: Entailment and Contradiction Revisited
Lean Logic for Lean Times: Entailment and Contradiction RevisitedValeria de Paiva
 
Discrete Structures lecture 2
 Discrete Structures lecture 2 Discrete Structures lecture 2
Discrete Structures lecture 2Ali Usman
 
Predicate logic_2(Artificial Intelligence)
Predicate logic_2(Artificial Intelligence)Predicate logic_2(Artificial Intelligence)
Predicate logic_2(Artificial Intelligence)SHUBHAM KUMAR GUPTA
 
Closed-Form Solutions in Low-Rank Subspace Recovery Models and Their Implicat...
Closed-Form Solutions in Low-Rank Subspace Recovery Models and Their Implicat...Closed-Form Solutions in Low-Rank Subspace Recovery Models and Their Implicat...
Closed-Form Solutions in Low-Rank Subspace Recovery Models and Their Implicat...少华 白
 
Constructive Hybrid Logics
Constructive Hybrid LogicsConstructive Hybrid Logics
Constructive Hybrid LogicsValeria de Paiva
 
Knowledege Representation.pptx
Knowledege Representation.pptxKnowledege Representation.pptx
Knowledege Representation.pptxArslanAliArslanAli
 
Constructive Description Logics 2006
Constructive Description Logics 2006Constructive Description Logics 2006
Constructive Description Logics 2006Valeria de Paiva
 
LDA/TagLDA In Slow Motion
LDA/TagLDA In Slow MotionLDA/TagLDA In Slow Motion
LDA/TagLDA In Slow MotionPradipto Das
 

Ähnlich wie Reasoning in Description Logics (20)

Description logics
Description logicsDescription logics
Description logics
 
Data Complexity in EL Family of Description Logics
Data Complexity in EL Family of Description LogicsData Complexity in EL Family of Description Logics
Data Complexity in EL Family of Description Logics
 
continuity of module 2.pptx
continuity of module 2.pptxcontinuity of module 2.pptx
continuity of module 2.pptx
 
Jarrar.lecture notes.aai.2011s.descriptionlogic
Jarrar.lecture notes.aai.2011s.descriptionlogicJarrar.lecture notes.aai.2011s.descriptionlogic
Jarrar.lecture notes.aai.2011s.descriptionlogic
 
leanCoR: lean Connection-based DL Reasoner
leanCoR: lean Connection-based DL ReasonerleanCoR: lean Connection-based DL Reasoner
leanCoR: lean Connection-based DL Reasoner
 
Local Closed World Semantics - DL 2011 Poster
Local Closed World Semantics - DL 2011 PosterLocal Closed World Semantics - DL 2011 Poster
Local Closed World Semantics - DL 2011 Poster
 
Abdbfhdkmdmdjfmfkmfmfmfjjfjfjfnfnnfnfnfn
AbdbfhdkmdmdjfmfkmfmfmfjjfjfjfnfnnfnfnfnAbdbfhdkmdmdjfmfkmfmfmfjjfjfjfnfnnfnfnfn
Abdbfhdkmdmdjfmfkmfmfmfjjfjfjfnfnnfnfnfn
 
[ABDO] Logic As A Database Language
[ABDO] Logic As A Database Language[ABDO] Logic As A Database Language
[ABDO] Logic As A Database Language
 
IKL survey
IKL surveyIKL survey
IKL survey
 
Lean Logic for Lean Times: Entailment and Contradiction Revisited
Lean Logic for Lean Times: Entailment and Contradiction RevisitedLean Logic for Lean Times: Entailment and Contradiction Revisited
Lean Logic for Lean Times: Entailment and Contradiction Revisited
 
Discrete Structures lecture 2
 Discrete Structures lecture 2 Discrete Structures lecture 2
Discrete Structures lecture 2
 
Predicate logic_2(Artificial Intelligence)
Predicate logic_2(Artificial Intelligence)Predicate logic_2(Artificial Intelligence)
Predicate logic_2(Artificial Intelligence)
 
Pnp
PnpPnp
Pnp
 
Closed-Form Solutions in Low-Rank Subspace Recovery Models and Their Implicat...
Closed-Form Solutions in Low-Rank Subspace Recovery Models and Their Implicat...Closed-Form Solutions in Low-Rank Subspace Recovery Models and Their Implicat...
Closed-Form Solutions in Low-Rank Subspace Recovery Models and Their Implicat...
 
lect14-semantics.ppt
lect14-semantics.pptlect14-semantics.ppt
lect14-semantics.ppt
 
Approximate Tree Kernels
Approximate Tree KernelsApproximate Tree Kernels
Approximate Tree Kernels
 
Constructive Hybrid Logics
Constructive Hybrid LogicsConstructive Hybrid Logics
Constructive Hybrid Logics
 
Knowledege Representation.pptx
Knowledege Representation.pptxKnowledege Representation.pptx
Knowledege Representation.pptx
 
Constructive Description Logics 2006
Constructive Description Logics 2006Constructive Description Logics 2006
Constructive Description Logics 2006
 
LDA/TagLDA In Slow Motion
LDA/TagLDA In Slow MotionLDA/TagLDA In Slow Motion
LDA/TagLDA In Slow Motion
 

Mehr von R A Akerkar

Rajendraakerkar lemoproject
Rajendraakerkar lemoprojectRajendraakerkar lemoproject
Rajendraakerkar lemoprojectR A Akerkar
 
Big Data and Harvesting Data from Social Media
Big Data and Harvesting Data from Social MediaBig Data and Harvesting Data from Social Media
Big Data and Harvesting Data from Social MediaR A Akerkar
 
Can You Really Make Best Use of Big Data?
Can You Really Make Best Use of Big Data?Can You Really Make Best Use of Big Data?
Can You Really Make Best Use of Big Data?R A Akerkar
 
Big data in Business Innovation
Big data in Business Innovation   Big data in Business Innovation
Big data in Business Innovation R A Akerkar
 
What is Big Data ?
What is Big Data ?What is Big Data ?
What is Big Data ?R A Akerkar
 
Connecting and Exploiting Big Data
Connecting and Exploiting Big DataConnecting and Exploiting Big Data
Connecting and Exploiting Big DataR A Akerkar
 
Linked open data
Linked open dataLinked open data
Linked open dataR A Akerkar
 
Semi structure data extraction
Semi structure data extractionSemi structure data extraction
Semi structure data extractionR A Akerkar
 
Big data: analyzing large data sets
Big data: analyzing large data setsBig data: analyzing large data sets
Big data: analyzing large data setsR A Akerkar
 
artificial intelligence
artificial intelligenceartificial intelligence
artificial intelligenceR A Akerkar
 
Case Based Reasoning
Case Based ReasoningCase Based Reasoning
Case Based ReasoningR A Akerkar
 
Semantic Markup
Semantic Markup Semantic Markup
Semantic Markup R A Akerkar
 
Intelligent natural language system
Intelligent natural language systemIntelligent natural language system
Intelligent natural language systemR A Akerkar
 
Knowledge Organization Systems
Knowledge Organization SystemsKnowledge Organization Systems
Knowledge Organization SystemsR A Akerkar
 
Rational Unified Process for User Interface Design
Rational Unified Process for User Interface DesignRational Unified Process for User Interface Design
Rational Unified Process for User Interface DesignR A Akerkar
 
Unified Modelling Language
Unified Modelling LanguageUnified Modelling Language
Unified Modelling LanguageR A Akerkar
 
Statistical Preliminaries
Statistical PreliminariesStatistical Preliminaries
Statistical PreliminariesR A Akerkar
 

Mehr von R A Akerkar (20)

Rajendraakerkar lemoproject
Rajendraakerkar lemoprojectRajendraakerkar lemoproject
Rajendraakerkar lemoproject
 
Big Data and Harvesting Data from Social Media
Big Data and Harvesting Data from Social MediaBig Data and Harvesting Data from Social Media
Big Data and Harvesting Data from Social Media
 
Can You Really Make Best Use of Big Data?
Can You Really Make Best Use of Big Data?Can You Really Make Best Use of Big Data?
Can You Really Make Best Use of Big Data?
 
Big data in Business Innovation
Big data in Business Innovation   Big data in Business Innovation
Big data in Business Innovation
 
What is Big Data ?
What is Big Data ?What is Big Data ?
What is Big Data ?
 
Connecting and Exploiting Big Data
Connecting and Exploiting Big DataConnecting and Exploiting Big Data
Connecting and Exploiting Big Data
 
Linked open data
Linked open dataLinked open data
Linked open data
 
Semi structure data extraction
Semi structure data extractionSemi structure data extraction
Semi structure data extraction
 
Big data: analyzing large data sets
Big data: analyzing large data setsBig data: analyzing large data sets
Big data: analyzing large data sets
 
Data Mining
Data MiningData Mining
Data Mining
 
Link analysis
Link analysisLink analysis
Link analysis
 
artificial intelligence
artificial intelligenceartificial intelligence
artificial intelligence
 
Case Based Reasoning
Case Based ReasoningCase Based Reasoning
Case Based Reasoning
 
Semantic Markup
Semantic Markup Semantic Markup
Semantic Markup
 
Intelligent natural language system
Intelligent natural language systemIntelligent natural language system
Intelligent natural language system
 
Data mining
Data miningData mining
Data mining
 
Knowledge Organization Systems
Knowledge Organization SystemsKnowledge Organization Systems
Knowledge Organization Systems
 
Rational Unified Process for User Interface Design
Rational Unified Process for User Interface DesignRational Unified Process for User Interface Design
Rational Unified Process for User Interface Design
 
Unified Modelling Language
Unified Modelling LanguageUnified Modelling Language
Unified Modelling Language
 
Statistical Preliminaries
Statistical PreliminariesStatistical Preliminaries
Statistical Preliminaries
 

Kürzlich hochgeladen

Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 

Kürzlich hochgeladen (20)

Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 

Reasoning in Description Logics

  • 1. Rajendra Akerkar Vestlandsforsking, Norway R. Akerkar: Reasoning in DL 10:58:57 1
  • 2. What is Description Logics ( ) p g (DL)  Semantics of DL  Basic Tableau Algorithm  Advanced Tableau Algorithm R. Akerkar: Reasoning in DL 10:58:57 2
  • 3. g g A formal logic-based knowledge representation language ◦ “Description" about the world in terms of concepts (classes), roles ( ( l ) l (properties, relationships) and ti l ti hi ) d individuals (instances)  Decidable fragments of FOL g  Widely used in database (e.g., DL CLASSIC) and semantic web (e.g., OWL language) R. Akerkar: Reasoning in DL 10:58:57 3
  • 4. Person include Man(Male) and Woman(Female), Woman(Female) A Man is not a Woman A Father is a Man who has Child A Mother is a Woman who has Child Both Father and Mother are Parent Grandmother is a Mother of a Parent A Wife is a Woman and has a Husband( which as Man) A Mother Without Daughter is a Mother g whose all Child(ren) are not Women R. Akerkar: Reasoning in DL 10:58:57 4
  • 5. 10:58:57 R. Akerkar: Reasoning in DL 5
  • 6. Concepts (unary predicates/formulae with one free variable) ◦ E.g., Person, Father, Mother E P F th M th  Roles (binary predicates/formulae with two free variables) ◦ E.g., hasChild, hasHudband  Individual names (constants) ◦ E.g., Alice, Bob, Cindy  Subsumption (relations between concepts) ◦ E.g. Female  Person  Operators (for forming concepts and roles) ◦ And(Π) , Or(U), Not (¬) ◦ Universal qualifier ( Existent qualifier() ◦ Number restiction :     ◦ Inverse role (-), transitive role (+), Role hierarchy R. Akerkar: Reasoning in DL 10:58:57 6
  • 7. (Inverse Role) hasParent = hasChild- ◦ hasParent(Bob,Alice) -> hasChild(Alice, Bob)  (Transitive Role)hasBrother ◦ h B h (B b D id) h B h (D id M k) hasBrother(Bob,David), hasBrother(David, Mack) -> hasBrother(Bob,Mack)  (Role Hierarchy) hasMother  hasParent ◦ hasMother(Bob,Alice) -> hasParent(Bob, Alice)  HappyFather  Father Π hasChild.Woman ppy Π hasChild.Man R. Akerkar: Reasoning in DL 10:58:57 7
  • 8. Knowledge Base Tbox (schema) HappyFather  Person Π  ystem hasChild.Woman Π hasChild.Man face Inference Sy Interf Abox (data) Happy-Father(Bob) (Example taken from Ian Horrocks, U Manchester, UK) R. Akerkar: Reasoning in DL 10:58:57 8
  • 9. ALC: the smallest DL that is propositionally closed ◦ Constructors include booleans (and, or, not), Restrictions on role successors  SHOIQ = OWL DL S=ALCR+: ALC with transitive role H = role hierarchy O = nomial .e.g WeekEnd = {Saturday, Sunday} I = Inverse role Q = qulified number restriction e.g. >=1 hasChild.Man hasChild Man  N = number restriction e.g. >=1 hasChild R. Akerkar: Reasoning in DL 10:58:57 9
  • 10. What is Description Logic ( ) p g (DL)  Semantics of DL  Basic Tableau Algorithm  Advanced Tableau Algorithm R. Akerkar: Reasoning in DL 10:58:57 10
  • 11. DL Ontology: is a set of terms and their gy relations Interpretation of a DL Ontology: A possible world ("model") that materializes the ontology Ontology: Student  People Student  Present Topic Present.Topic KR  Topic DL  KR 10:58:57 R. Akerkar: Reasoning in DL 11
  • 12. DL semantics defined by interpretations: I = (I, .I), where ◦ I is the domain (a non-empty set) ◦ .I is an interpretation function that maps:  Concept (class) name A -> subset AI of I  Role (property) name R -> binary relation RI over I  I di id l name i -> iI element of I Individual l t f  Interpretation function .I tells us how to interpret atomic concepts, properties and individuals. p ,p p ◦ The semantics of concept forming operators is given by extending the interpretation function in an obvious way. R. Akerkar: Reasoning in DL 10:58:57 12
  • 13. I = (I, .I)  I = {Raj, DL_Reasoning}  PeopleI=StudentI={Raj}  TopicI=KRI=DLI={DL_Reasoning}  PresentI={(Raj, DL_Reasoning)} An interpretation that satisifies all axioms in an DL ontology is also called a model of the ontology. R. Akerkar: Reasoning in DL 10:58:57 13
  • 14. Description Logics Tutorial, Ian Horrocks and Ulrike Sattler, ECAI-2002 R. Akerkar: Reasoning in DL 10:58:57 14
  • 15. Description Logics Tutorial, Ian Horrocks and Ulrike Sattler, ECAI-2002 R. Akerkar: Reasoning in DL 10:58:57 15
  • 16. What is Description Logic ( ) p g (DL)  Semantics of DL  Basic Tableau Algorithm  Advanced Tableau Algorithm R. Akerkar: Reasoning in DL 10:58:57 16
  • 17. "Machine Understanding" g  Find facts that are implicit in the ontology given explicitly stated facts ◦ Find what you know, but you don't know you know it - yet.  Example ◦ A is father of B, B is father of C, then A is ancestor of C. ◦ D is mother of B, then D is female R. Akerkar: Reasoning in DL 10:58:57 17
  • 18. Knowledge is correct (captures intuitions) ◦ C subsumes D w.r.t. K iff for every model I of K, CI µ DI wrt K  Knowledge is minimally redundant (no unintended synonyms) ◦ C is equivallent to D w.r.t. K iff for every model I of K, CI = DI  Knowledge i meaningful ( l K l d is i f l (classes can h have instances) i t ) ◦ C is satisfiable w.r.t. K iff there exists some model I of K s.t. CI  ;  Querying knowledge ◦ x is an instance of C w.r.t. K iff for every model I of K, xI  CI ◦ hx,yi is an instance of R w.r.t. K iff for, every model I of K, (xI,yI)  RI  Knowledge base consistency ◦ A KB K is consistent iff there exists some model I of K R. Akerkar: Reasoning in DL 10:58:57 18
  • 19. Many inference tasks can be reduced to subsumption reasoning Subsumption can be reduced to satisfiability p y 10:58:57 R. Akerkar: Reasoning in DL 19
  • 20. g Tableau Algorithm is the de facto standard reasoning algorithm used in DL  Basic intuitions ◦ Reduces a reasoning problem to concept satisfiability problem ◦ Finds an interpretation that satisfies concepts in p p question. ◦ The interpretation is incrementally constructed as a "Tableau" Tableau R. Akerkar: Reasoning in DL 10:58:57 20
  • 21. given: Wife Woman, Woman Person question: if Wife Person  Reasoning process ◦ T t if th Test there is a individual th t i a W i i di id l that is Woman b t not but t a Person, i.e. test the satisfiability of concept C0=(WifeΠ¬Person) ◦ C0(x) -> Wife(x), (¬Person)(x) ◦ Wife(x)->Woman(x) ◦W ( ) >P Woman(x) ->Person(x) ( ) ◦ Conflict! ◦ C0 is unsatisfiable, therefore Wife Person is true with the given ontology. R. Akerkar: Reasoning in DL 10:58:57 21
  • 22. Transform C into negation normal form(NNF), i.e. negation occurs only in front of concept i ti l i f t f t names.  Denote the transformed expression as C0, the p algorithm starts with an ABox A0 = {C0(x0)}, and apply consistency-preserving transformation rules (tableaux expansion) to the ABox as far as possible.  If one possible ABox is found, C0 is satisfiable.  If not ABox is f f d d ll h h found under all search pathes, C0 is unsatisfiable. R. Akerkar: Reasoning in DL 10:58:57 22
  • 23. R. Akerkar: Reasoning in DL 10:58:57 23
  • 24. Clash R. Akerkar: Reasoning in DL 10:58:57 24
  • 25. An ABox is called complete if none of the expansion rules applies to it.  An ABox is called consistent if no logic clash is found. l hi f d  If any complete and consistent ABox is found, found the initial ABox A0 is satisfiable  The expansion terminates, either when finds a complete and consistent ABox or ABox, try all search pathes ending with complete but inconsistent ABoxes. R. Akerkar: Reasoning in DL 10:58:57 25
  • 26. Embed the TBox in the initial ABox concept  CD is equivalent T ¬C U D (T is the "top" concept. It imeans ¬C U D is the super concept f ANY concepts) t for t )  E.g. ◦ Given ontology: Mother  Woman Π Parent Parent, Woman  Person ◦ Query: Mother  Person y ◦ The intitial ABox is : ¬Mother U(Woman Π Parent) Π (¬Woman U Person) Π (Mother Π ¬Person) R. Akerkar: Reasoning in DL 10:58:57 26
  • 27. Search R. Akerkar: Reasoning in DL 10:58:57 27
  • 28. Another explanation of tableaux algorithm is that it works on a finite completion tree whose ◦ i di id l i th t bl individuals in the tableau correspond t nodes d to d ◦ and whose interpretation of roles is taken from the edge labels. g R. Akerkar: Reasoning in DL 10:58:57 28
  • 29. Similar tableaux expansions can be designed for more expressive DL d i df i languages.  A tableau algorithm has to meet three requirements ◦ Soundness: if a complete and clash-free ABox is found by the algorithm, the ABox must algorithm satisfies the initial concept C0. ◦ Completeness: if the initial concept C0 is satisfiable, the algorithm can always fi d an i fi bl h l ih l find complete and clash-free ABox ◦ Termination: the algorithm can terminate in finite steps with specific result. R. Akerkar: Reasoning in DL 10:58:57 29
  • 30. What is Description Logic ( ) p g (DL)  Semantics of DL  Basic Tableau Algorithm  Advanced Tableau Algorithm R. Akerkar: Reasoning in DL 10:58:57 30
  • 31. Rich literatures in the past decade.  Advanced techniques ◦ Blocking (Subset Blocking, Pair Locking, Dynamic Blocking) ◦ For more expressive languages: number restriction, inverse role, transitive role, nomial, data type ◦ Detailed analysis of complexities. R. Akerkar: Reasoning in DL 10:58:57 31
  • 32. SHIQ Expansion Rules R. Akerkar: Reasoning in DL 10:58:57 32
  • 33. F. Baader, W. Nutt. Basic Description Logics. In the Description Logic Handbook, edited by F Baader, D. Calvanese, D.L. Handbook F. Baader D Calvanese D L McGuinness, D. Nardi, P.F. Patel-Schneider, Cambridge University Press, 2002, pages 47-100.  Ian Horrocks and Ulrike Sattler. Description Logics Tutorial, ECAI-2002, Lyon, France, July 23rd, 2002.  Ian Horrocks and Ulrike Sattler. A tableaux decision procedure for SHOIQ. In Proc. of the 19th Int. Joint Conf. on Artificial Intelligence (IJCAI 2005), 2005.  I. Horrocks and U. Sattler. A description logic with transitive and inverse roles and role hierarchies. Journal of Logic and Computation, 9(3):385-410, 1999. R. Akerkar: Reasoning in DL 10:58:57 33