SlideShare une entreprise Scribd logo
1  sur  14
Knowledge representation
Mohammed Tanvir Masud
Research assistant
Outline
 Ontological Engineering
 Categories and Objects
 Events
 Mental Events and Mental Objects
 Reasoning System for Categories
Ontological Engineering
Ontologies are constructed using knowledge representation languages and logics. An ontology consists of a set of
concepts, axioms, and relationships that describe a domain of interest .
• Create more general and flexible representations.
• Concepts like actions, time, physical object and beliefs
• Define general framework of concepts
• Upper ontology
• Limitations of logic representation
Red, green and yellow tomatoes: exceptions and uncertainty
• Representing a general-purpose ontology is a difficult task called ontology engineering
• Existing GP ontologies have been created in different ways:
By team of trained ontologists
By importing concepts from database(s)
By extracting information from text documents
By inviting anybody to enter commonsense knowledge
• Ontological engineering has only been partially successful, and few large AI systems are based on GP
ontologies (use special purpose ontologies)
Complex domains such as shopping on the
Internet or driving a car in traffic require more
general and flexible representations
Each link indicates that the lower concept is a specialization of the upper one. Specializations are not
necessarily disjoint; a human is both an animal and an agent, for example.
Ontological Engineering
Categories - Representation
Categories and Objects
• Two choices for representation:
• Predicate
• Basketball(b)
• Object
• Basketballs
• Member(b, Basketballs)
• Subset(Basketballs, Balls)
Categories - Organizing
• Inheritance:
• All instances of the category Food are edible
– Fruit is a subclass of Food
– Apples is a subclass of Fruit
• Therefore, Apples are edible
• The Class/Subclass relationships among Food, Fruit and Apples is a
taxonomy
Categories and Objects
Categories - Partitioning
• Disjoint: The categories have no members in common
• Disjoint(s)⇔(∀ c1,c2 c1 ∈ s ∧ c2 ∈ s ∧ c1 ≠ c2 ⇒ Intersection(c1,c2) ={})
• Example:
Disjoint({animals, vegetables})
• Exhaustive Decomposition: Every member of the category is included in at least
one of the subcategories
• E.D.(s,c) ⇔ (∀ i i ∈ c ⇒ ∃ c2 c2 ∈ s ∧ i ∈ c2)
• Example:
ExhaustiveDecomposition( {Americans, Canadian, Mexicans},
NorthAmericans).
• Partition: Disjoint exhaustive decomposition
• Partition(s,c) ⇔ Disjoint(s) ∧ E.D.(s,c)
• Example: Partition({Males,Females},Persons).
• Is ({Americans,Canadian, Mexicans},NorthAmericans)
a partition?
• No! There might be dual citizenships.
• Categories can be defined by providing necessary and
sufficient conditions for membership
• ∀ x Bachelor(x) ⇔ Male(x) ∧ Adult(x) ∧ Unmarried(x)
Persons
Male
Persons
Lee
Subsetof
Memberof
Categories and Objects
Natural kinds
• Many categories have no clear-cut definitions (chair, bush, book).
• Tomatoes: sometimes green, red, yellow, black, mostly round.
• One solution: category Typical(Tomatoes)
• ∀x x ∈ Typical(Tomatoes) ⇒ Red(x) ∧ Spherical(x)
• We can write down useful facts about categories without providing exact
definitions
Physical composition
• One object may be part of another:
• PartOf(Seoul,Southkoarea)
• PartOf(Southkorea,EastAsia)
• PartOf(EastAsia,Asia)
• The PartOf predicate is transitive (and reflexive),
so we can infer that PartOf(Seoul,Asia)
• More generally:
• ∀ x PartOf(x,x)
• ∀ x,y,z PartOf(x,y) ∧ PartOf(y,z) ⇒ PartOf(x,z)
• Often characterized by structural relations among parts.
• E.g. Biped(a) ⇒
Categories and Objects
Measurements
• Objects have height, mass, cost, ....
Values that we assign to these are measures
• Combine Unit functions with a number:
• Length(L1) = Inches(1.5) = Centimeters(3.81).
• Conversion between units:
• ∀ i Centimeters(2.54 x i)=Inches(i).
• Some measures have no scale:
Beauty, Difficulty, etc.
• Most important aspect of measures:
they are orderable.
• Don't care about the actual numbers.
(An apple can have deliciousness .9 or .1.)
• Measures can be used to describe objects as follows:
• Diameter(Basketball 12) = Inches(9.5) .
• ListPrice(Basketball 12) = $(19) .
• d ∈ Days ⇒ Duration(d) = Hours(24) .
Events
• facts were treated as true independent of time
• Events: need to describe what is true, when something is happening
• For instance: Flying event
• E ∈ Flying's
• Flyer(E, Shankar)
• Origin(E, SanFrancisco)
• Destination(E, Baltimore)
• We will consider two kinds of time intervals: moments and extended intervals. The distinction is
that only moments have zero duration:
Partition({Moments, ExtendedIntervals}, Intervals)
i ∈ Moments ⇔ Duration(i) = Seconds(0) .
• The function Duration gives the difference between the end time
and the start time.
• Interval(i) ⇒ Duration(i) = (Time(End(i)) - Time(Begin(i))) .
• Time(Begin(AD1900)) = Seconds(0) .
• Time(Begin(AD2001)) = Seconds(3187324800) .
• Time(End(AD2001)) = Seconds(3218860800) .
• Duration(AD2001) = Seconds(31536000) .
Events
• Two intervals Meet if the end time of the first equals the star time of the second. The complete set of
interval relations logically below:
• Meet(i, j) ⇔ End(i) = Begin(j)
• Before(i, j) ⇔ End(i) < Begin(j)
• After(j, i) ⇔ Before(i, j)
• During(i, j) ⇔ Begin(j) < Begin(i) < End(i) < End(j)
• Overlap(i, j) ⇔ Begin(i) < Begin(j) < End(i) < End(j)
• Begins(i, j) ⇔ Begin(i) = Begin(j)
• Finishes(i, j) ⇔ End(i) = End(j)
• Equals(i, j) ⇔ Begin(i) = Begin(j) ∧ End(i) = End(j)
• Graphically
Predicates on time intervals.
• Physical objects can be viewed as generalized events, in the sense
that a physical object is a chunk of space–time.
• George Washington was president throughout 1790
• T (Equals (President(USA), George Washington), AD1790)
Events
A schematic view of the object President(USA) for the first 15 years
of its existence.
Mental events and objects
• So far, KB agents can have beliefs and deduce new beliefs
• What about knowledge about beliefs? What about
knowledge about the inference process?
• Requires a model of the mental objects in someone’s head and the
processes that manipulate these objects.
• Relationships between agents and mental objects: believes,
knows, wants,
• Believes(Lois,Flies(Superman)) with Flies(Superman) being a
function . . . a candidate for a mental object (reification).
• Agent can now reason about the beliefs of agents.
• Modal logic solves some tricky issues with the interplay of
quantifiers and knowledge.
• particular someone who Bond knows is a spy
∃ x Kbond Spy(x) ,
• Bond just knows that there is at least one spy
• Kbond∃ x Spy(x)
Alice asks “what is the square root of 1764” and Bob replies “I don’t know.” If Alice
insists “think harder,” Bob should realize that with some more thought, this question
can in fact be answered. On the other hand, if the question were “Is your mother
sitting down right now?” then Bob should realize that thinking harder is unlikely to
help. Knowledge about the knowledge of other agents is also important; Bob should
realize that his mother knows whether she is sitting or not, and that asking her
would be a way to find out.
Reasoning System for Categories
Semantic Networks
• Logic vs. semantic networks
• Many variations
• All represent individual objects, categories of objects and relationships
among objects.
• persons have two legs—that is
• ∀ x x ∈ Persons ⇒ Legs(x, 2)
• Allows for inheritance reasoning
• Female persons inherit all properties from person.
• Cfr. OO programming.
• Inference of inverse links
• SisterOf vs. HasSister
Female
Persons
Mary
Mammals
Persons
Male
Persons
Lee
Subsetof
SubsetofSubsetof
Sisterof
Memberof Memberof
Legs
Legs
2
1
HasMother
Reasoning System for Categories
Description logics
• Are designed to describe definitions and properties about
categories
• A formalization of semantic networks
• Bachelor = And(Unmarried,Adult,Male)
• Principal inference task is
• Subsumption: checking if one category is the
subset of another by comparing their definitions
• Classification: checking whether an object belongs
to a category.
• Consistency: whether the category membership
criteria are logically satisfiable.
describe the set of men with at least three sons who are all
unemployed and married to doctors, and at most two daughters
who are all professors in physics or math departments
The syntax of CLASSIC descriptions

Contenu connexe

Tendances

Machine Learning with Decision trees
Machine Learning with Decision treesMachine Learning with Decision trees
Machine Learning with Decision treesKnoldus Inc.
 
Classification Based Machine Learning Algorithms
Classification Based Machine Learning AlgorithmsClassification Based Machine Learning Algorithms
Classification Based Machine Learning AlgorithmsMd. Main Uddin Rony
 
Uninformed search /Blind search in AI
Uninformed search /Blind search in AIUninformed search /Blind search in AI
Uninformed search /Blind search in AIKirti Verma
 
Local search algorithm
Local search algorithmLocal search algorithm
Local search algorithmMegha Sharma
 
Production System in AI
Production System in AIProduction System in AI
Production System in AIBharat Bhushan
 
AI 7 | Constraint Satisfaction Problem
AI 7 | Constraint Satisfaction ProblemAI 7 | Constraint Satisfaction Problem
AI 7 | Constraint Satisfaction ProblemMohammad Imam Hossain
 
Logic programming (1)
Logic programming (1)Logic programming (1)
Logic programming (1)Nitesh Singh
 
Hill climbing algorithm in artificial intelligence
Hill climbing algorithm in artificial intelligenceHill climbing algorithm in artificial intelligence
Hill climbing algorithm in artificial intelligencesandeep54552
 
First order logic in knowledge representation
First order logic in knowledge representationFirst order logic in knowledge representation
First order logic in knowledge representationSabaragamuwa University
 
Heuristic search-in-artificial-intelligence
Heuristic search-in-artificial-intelligenceHeuristic search-in-artificial-intelligence
Heuristic search-in-artificial-intelligencegrinu
 
Artificial intelligence- Logic Agents
Artificial intelligence- Logic AgentsArtificial intelligence- Logic Agents
Artificial intelligence- Logic AgentsNuruzzaman Milon
 
Inference in First-Order Logic
Inference in First-Order Logic Inference in First-Order Logic
Inference in First-Order Logic Junya Tanaka
 
First Order Logic resolution
First Order Logic resolutionFirst Order Logic resolution
First Order Logic resolutionAmar Jukuntla
 
Probabilistic Reasoning
Probabilistic ReasoningProbabilistic Reasoning
Probabilistic ReasoningJunya Tanaka
 
Issues in knowledge representation
Issues in knowledge representationIssues in knowledge representation
Issues in knowledge representationSravanthi Emani
 
Genetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial IntelligenceGenetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial IntelligenceSahil Kumar
 

Tendances (20)

Machine Learning with Decision trees
Machine Learning with Decision treesMachine Learning with Decision trees
Machine Learning with Decision trees
 
Classification Based Machine Learning Algorithms
Classification Based Machine Learning AlgorithmsClassification Based Machine Learning Algorithms
Classification Based Machine Learning Algorithms
 
Uninformed search /Blind search in AI
Uninformed search /Blind search in AIUninformed search /Blind search in AI
Uninformed search /Blind search in AI
 
Local search algorithm
Local search algorithmLocal search algorithm
Local search algorithm
 
Production System in AI
Production System in AIProduction System in AI
Production System in AI
 
Randomized algorithms ver 1.0
Randomized algorithms ver 1.0Randomized algorithms ver 1.0
Randomized algorithms ver 1.0
 
AI 7 | Constraint Satisfaction Problem
AI 7 | Constraint Satisfaction ProblemAI 7 | Constraint Satisfaction Problem
AI 7 | Constraint Satisfaction Problem
 
Logic programming (1)
Logic programming (1)Logic programming (1)
Logic programming (1)
 
Hill climbing algorithm in artificial intelligence
Hill climbing algorithm in artificial intelligenceHill climbing algorithm in artificial intelligence
Hill climbing algorithm in artificial intelligence
 
Uncertainty in AI
Uncertainty in AIUncertainty in AI
Uncertainty in AI
 
First order logic in knowledge representation
First order logic in knowledge representationFirst order logic in knowledge representation
First order logic in knowledge representation
 
Heuristic search-in-artificial-intelligence
Heuristic search-in-artificial-intelligenceHeuristic search-in-artificial-intelligence
Heuristic search-in-artificial-intelligence
 
Artificial intelligence- Logic Agents
Artificial intelligence- Logic AgentsArtificial intelligence- Logic Agents
Artificial intelligence- Logic Agents
 
Inference in First-Order Logic
Inference in First-Order Logic Inference in First-Order Logic
Inference in First-Order Logic
 
First Order Logic resolution
First Order Logic resolutionFirst Order Logic resolution
First Order Logic resolution
 
Predicate logic
 Predicate logic Predicate logic
Predicate logic
 
Probabilistic Reasoning
Probabilistic ReasoningProbabilistic Reasoning
Probabilistic Reasoning
 
Issues in knowledge representation
Issues in knowledge representationIssues in knowledge representation
Issues in knowledge representation
 
Genetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial IntelligenceGenetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial Intelligence
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processing
 

En vedette

Adam Bartusiak and Jörg Lässig | Semantic Processing for the Conversion of Un...
Adam Bartusiak and Jörg Lässig | Semantic Processing for the Conversion of Un...Adam Bartusiak and Jörg Lässig | Semantic Processing for the Conversion of Un...
Adam Bartusiak and Jörg Lässig | Semantic Processing for the Conversion of Un...semanticsconference
 
Ontologies for Mental Health and Disease
Ontologies for Mental Health and DiseaseOntologies for Mental Health and Disease
Ontologies for Mental Health and DiseaseJanna Hastings
 
Ontology-based Data Integration
Ontology-based Data IntegrationOntology-based Data Integration
Ontology-based Data IntegrationJanna Hastings
 
Pipeline for automated structure-based classification in the ChEBI ontology
Pipeline for automated structure-based classification in the ChEBI ontologyPipeline for automated structure-based classification in the ChEBI ontology
Pipeline for automated structure-based classification in the ChEBI ontologyJanna Hastings
 
Large Scale Processing of Unstructured Text
Large Scale Processing of Unstructured TextLarge Scale Processing of Unstructured Text
Large Scale Processing of Unstructured TextDataWorks Summit
 
“Semantic PDF Processing & Document Representation”
“Semantic PDF Processing & Document Representation”“Semantic PDF Processing & Document Representation”
“Semantic PDF Processing & Document Representation”diannepatricia
 
Using AI to Make Sense of Customer Feedback
Using AI to Make Sense of Customer FeedbackUsing AI to Make Sense of Customer Feedback
Using AI to Make Sense of Customer FeedbackAlyona Medelyan
 
Entity-Relationship Extraction from Wikipedia Unstructured Text - Overview
Entity-Relationship Extraction from Wikipedia Unstructured Text - OverviewEntity-Relationship Extraction from Wikipedia Unstructured Text - Overview
Entity-Relationship Extraction from Wikipedia Unstructured Text - OverviewRadityo Eko Prasojo
 
Natural Language Processing and Graph Databases in Lumify
Natural Language Processing and Graph Databases in LumifyNatural Language Processing and Graph Databases in Lumify
Natural Language Processing and Graph Databases in LumifyCharlie Greenbacker
 

En vedette (11)

Adam Bartusiak and Jörg Lässig | Semantic Processing for the Conversion of Un...
Adam Bartusiak and Jörg Lässig | Semantic Processing for the Conversion of Un...Adam Bartusiak and Jörg Lässig | Semantic Processing for the Conversion of Un...
Adam Bartusiak and Jörg Lässig | Semantic Processing for the Conversion of Un...
 
Ontologies for Mental Health and Disease
Ontologies for Mental Health and DiseaseOntologies for Mental Health and Disease
Ontologies for Mental Health and Disease
 
Ontology-based Data Integration
Ontology-based Data IntegrationOntology-based Data Integration
Ontology-based Data Integration
 
Pipeline for automated structure-based classification in the ChEBI ontology
Pipeline for automated structure-based classification in the ChEBI ontologyPipeline for automated structure-based classification in the ChEBI ontology
Pipeline for automated structure-based classification in the ChEBI ontology
 
Large Scale Processing of Unstructured Text
Large Scale Processing of Unstructured TextLarge Scale Processing of Unstructured Text
Large Scale Processing of Unstructured Text
 
Ontology
OntologyOntology
Ontology
 
“Semantic PDF Processing & Document Representation”
“Semantic PDF Processing & Document Representation”“Semantic PDF Processing & Document Representation”
“Semantic PDF Processing & Document Representation”
 
Using AI to Make Sense of Customer Feedback
Using AI to Make Sense of Customer FeedbackUsing AI to Make Sense of Customer Feedback
Using AI to Make Sense of Customer Feedback
 
Entity-Relationship Extraction from Wikipedia Unstructured Text - Overview
Entity-Relationship Extraction from Wikipedia Unstructured Text - OverviewEntity-Relationship Extraction from Wikipedia Unstructured Text - Overview
Entity-Relationship Extraction from Wikipedia Unstructured Text - Overview
 
Natural Language Processing and Graph Databases in Lumify
Natural Language Processing and Graph Databases in LumifyNatural Language Processing and Graph Databases in Lumify
Natural Language Processing and Graph Databases in Lumify
 
AI and the Future of Growth
AI and the Future of GrowthAI and the Future of Growth
AI and the Future of Growth
 

Similaire à Knowledge representation

AI3391 Artificial Intelligence session 24 knowledge representation.pptx
AI3391 Artificial Intelligence session 24 knowledge representation.pptxAI3391 Artificial Intelligence session 24 knowledge representation.pptx
AI3391 Artificial Intelligence session 24 knowledge representation.pptxAsst.prof M.Gokilavani
 
AI_session 24 knowledge representation.pptx
AI_session 24 knowledge representation.pptxAI_session 24 knowledge representation.pptx
AI_session 24 knowledge representation.pptxAsst.prof M.Gokilavani
 
Jarrar.lecture notes.aai.2011s.ontology part2_whatisontology
Jarrar.lecture notes.aai.2011s.ontology part2_whatisontologyJarrar.lecture notes.aai.2011s.ontology part2_whatisontology
Jarrar.lecture notes.aai.2011s.ontology part2_whatisontologyPalGov
 
Brains@Bay Meetup: The Increasing Role of Sensorimotor Experience in Artifici...
Brains@Bay Meetup: The Increasing Role of Sensorimotor Experience in Artifici...Brains@Bay Meetup: The Increasing Role of Sensorimotor Experience in Artifici...
Brains@Bay Meetup: The Increasing Role of Sensorimotor Experience in Artifici...Numenta
 
Artificail Intelligent lec-1
Artificail Intelligent lec-1Artificail Intelligent lec-1
Artificail Intelligent lec-1tjunicornfx
 
Chaps 1-3-ai-prolog
Chaps 1-3-ai-prologChaps 1-3-ai-prolog
Chaps 1-3-ai-prologsaru40
 
What knowledge bases know (and what they don't)
What knowledge bases know (and what they don't)What knowledge bases know (and what they don't)
What knowledge bases know (and what they don't)srazniewski
 
CSCTR09 Lectures
CSCTR09 LecturesCSCTR09 Lectures
CSCTR09 Lecturesguestf7b243
 
Ph d course on formal ontology and conceptual modeling
Ph d course on formal ontology and conceptual modelingPh d course on formal ontology and conceptual modeling
Ph d course on formal ontology and conceptual modelingNicola Guarino
 
Ontologies and the humanities: some issues affecting the design of digital in...
Ontologies and the humanities: some issues affecting the design of digital in...Ontologies and the humanities: some issues affecting the design of digital in...
Ontologies and the humanities: some issues affecting the design of digital in...Toby Burrows
 
PPT-for-EAPP-12-M2-Text-Summarization.pptx
PPT-for-EAPP-12-M2-Text-Summarization.pptxPPT-for-EAPP-12-M2-Text-Summarization.pptx
PPT-for-EAPP-12-M2-Text-Summarization.pptxOliviaManabat1
 
Knowledge Representation and Reasoning.pptx
Knowledge Representation and Reasoning.pptxKnowledge Representation and Reasoning.pptx
Knowledge Representation and Reasoning.pptxMohanKumarP34
 
Illuminating Chaos Using Semantics to Harness the Web
Illuminating Chaos Using Semantics to Harness the WebIlluminating Chaos Using Semantics to Harness the Web
Illuminating Chaos Using Semantics to Harness the WebAAT Taiwan
 
Knowledge representation events in Artificial Intelligence.pptx
Knowledge representation events in Artificial Intelligence.pptxKnowledge representation events in Artificial Intelligence.pptx
Knowledge representation events in Artificial Intelligence.pptxkitsenthilkumarcse
 

Similaire à Knowledge representation (20)

AI3391 Artificial Intelligence session 24 knowledge representation.pptx
AI3391 Artificial Intelligence session 24 knowledge representation.pptxAI3391 Artificial Intelligence session 24 knowledge representation.pptx
AI3391 Artificial Intelligence session 24 knowledge representation.pptx
 
AI_session 24 knowledge representation.pptx
AI_session 24 knowledge representation.pptxAI_session 24 knowledge representation.pptx
AI_session 24 knowledge representation.pptx
 
Chapter10
Chapter10Chapter10
Chapter10
 
Jarrar.lecture notes.aai.2011s.ontology part2_whatisontology
Jarrar.lecture notes.aai.2011s.ontology part2_whatisontologyJarrar.lecture notes.aai.2011s.ontology part2_whatisontology
Jarrar.lecture notes.aai.2011s.ontology part2_whatisontology
 
Brains@Bay Meetup: The Increasing Role of Sensorimotor Experience in Artifici...
Brains@Bay Meetup: The Increasing Role of Sensorimotor Experience in Artifici...Brains@Bay Meetup: The Increasing Role of Sensorimotor Experience in Artifici...
Brains@Bay Meetup: The Increasing Role of Sensorimotor Experience in Artifici...
 
Artificail Intelligent lec-1
Artificail Intelligent lec-1Artificail Intelligent lec-1
Artificail Intelligent lec-1
 
Teleology
TeleologyTeleology
Teleology
 
Chaps 1-3-ai-prolog
Chaps 1-3-ai-prologChaps 1-3-ai-prolog
Chaps 1-3-ai-prolog
 
Module_5_1.pptx
Module_5_1.pptxModule_5_1.pptx
Module_5_1.pptx
 
What knowledge bases know (and what they don't)
What knowledge bases know (and what they don't)What knowledge bases know (and what they don't)
What knowledge bases know (and what they don't)
 
CSCTR09 Lectures
CSCTR09 LecturesCSCTR09 Lectures
CSCTR09 Lectures
 
Ph d course on formal ontology and conceptual modeling
Ph d course on formal ontology and conceptual modelingPh d course on formal ontology and conceptual modeling
Ph d course on formal ontology and conceptual modeling
 
Ontologies and the humanities: some issues affecting the design of digital in...
Ontologies and the humanities: some issues affecting the design of digital in...Ontologies and the humanities: some issues affecting the design of digital in...
Ontologies and the humanities: some issues affecting the design of digital in...
 
Points of view in conceptual space
Points of view in conceptual spacePoints of view in conceptual space
Points of view in conceptual space
 
PPT-for-EAPP-12-M2-Text-Summarization.pptx
PPT-for-EAPP-12-M2-Text-Summarization.pptxPPT-for-EAPP-12-M2-Text-Summarization.pptx
PPT-for-EAPP-12-M2-Text-Summarization.pptx
 
Knowledge Representation and Reasoning.pptx
Knowledge Representation and Reasoning.pptxKnowledge Representation and Reasoning.pptx
Knowledge Representation and Reasoning.pptx
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
Illuminating Chaos Using Semantics to Harness the Web
Illuminating Chaos Using Semantics to Harness the WebIlluminating Chaos Using Semantics to Harness the Web
Illuminating Chaos Using Semantics to Harness the Web
 
attention-focus on what matters
attention-focus on what mattersattention-focus on what matters
attention-focus on what matters
 
Knowledge representation events in Artificial Intelligence.pptx
Knowledge representation events in Artificial Intelligence.pptxKnowledge representation events in Artificial Intelligence.pptx
Knowledge representation events in Artificial Intelligence.pptx
 

Dernier

DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationBhangaleSonal
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiessarkmank1
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxchumtiyababu
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...drmkjayanthikannan
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxMuhammadAsimMuhammad6
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesRAJNEESHKUMAR341697
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxSCMS School of Architecture
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsvanyagupta248
 

Dernier (20)

DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 

Knowledge representation

  • 1. Knowledge representation Mohammed Tanvir Masud Research assistant
  • 2. Outline  Ontological Engineering  Categories and Objects  Events  Mental Events and Mental Objects  Reasoning System for Categories
  • 3. Ontological Engineering Ontologies are constructed using knowledge representation languages and logics. An ontology consists of a set of concepts, axioms, and relationships that describe a domain of interest . • Create more general and flexible representations. • Concepts like actions, time, physical object and beliefs • Define general framework of concepts • Upper ontology • Limitations of logic representation Red, green and yellow tomatoes: exceptions and uncertainty • Representing a general-purpose ontology is a difficult task called ontology engineering • Existing GP ontologies have been created in different ways: By team of trained ontologists By importing concepts from database(s) By extracting information from text documents By inviting anybody to enter commonsense knowledge • Ontological engineering has only been partially successful, and few large AI systems are based on GP ontologies (use special purpose ontologies) Complex domains such as shopping on the Internet or driving a car in traffic require more general and flexible representations
  • 4. Each link indicates that the lower concept is a specialization of the upper one. Specializations are not necessarily disjoint; a human is both an animal and an agent, for example. Ontological Engineering
  • 5. Categories - Representation Categories and Objects • Two choices for representation: • Predicate • Basketball(b) • Object • Basketballs • Member(b, Basketballs) • Subset(Basketballs, Balls) Categories - Organizing • Inheritance: • All instances of the category Food are edible – Fruit is a subclass of Food – Apples is a subclass of Fruit • Therefore, Apples are edible • The Class/Subclass relationships among Food, Fruit and Apples is a taxonomy
  • 6. Categories and Objects Categories - Partitioning • Disjoint: The categories have no members in common • Disjoint(s)⇔(∀ c1,c2 c1 ∈ s ∧ c2 ∈ s ∧ c1 ≠ c2 ⇒ Intersection(c1,c2) ={}) • Example: Disjoint({animals, vegetables}) • Exhaustive Decomposition: Every member of the category is included in at least one of the subcategories • E.D.(s,c) ⇔ (∀ i i ∈ c ⇒ ∃ c2 c2 ∈ s ∧ i ∈ c2) • Example: ExhaustiveDecomposition( {Americans, Canadian, Mexicans}, NorthAmericans). • Partition: Disjoint exhaustive decomposition • Partition(s,c) ⇔ Disjoint(s) ∧ E.D.(s,c) • Example: Partition({Males,Females},Persons). • Is ({Americans,Canadian, Mexicans},NorthAmericans) a partition? • No! There might be dual citizenships. • Categories can be defined by providing necessary and sufficient conditions for membership • ∀ x Bachelor(x) ⇔ Male(x) ∧ Adult(x) ∧ Unmarried(x) Persons Male Persons Lee Subsetof Memberof
  • 7. Categories and Objects Natural kinds • Many categories have no clear-cut definitions (chair, bush, book). • Tomatoes: sometimes green, red, yellow, black, mostly round. • One solution: category Typical(Tomatoes) • ∀x x ∈ Typical(Tomatoes) ⇒ Red(x) ∧ Spherical(x) • We can write down useful facts about categories without providing exact definitions Physical composition • One object may be part of another: • PartOf(Seoul,Southkoarea) • PartOf(Southkorea,EastAsia) • PartOf(EastAsia,Asia) • The PartOf predicate is transitive (and reflexive), so we can infer that PartOf(Seoul,Asia) • More generally: • ∀ x PartOf(x,x) • ∀ x,y,z PartOf(x,y) ∧ PartOf(y,z) ⇒ PartOf(x,z) • Often characterized by structural relations among parts. • E.g. Biped(a) ⇒
  • 8. Categories and Objects Measurements • Objects have height, mass, cost, .... Values that we assign to these are measures • Combine Unit functions with a number: • Length(L1) = Inches(1.5) = Centimeters(3.81). • Conversion between units: • ∀ i Centimeters(2.54 x i)=Inches(i). • Some measures have no scale: Beauty, Difficulty, etc. • Most important aspect of measures: they are orderable. • Don't care about the actual numbers. (An apple can have deliciousness .9 or .1.) • Measures can be used to describe objects as follows: • Diameter(Basketball 12) = Inches(9.5) . • ListPrice(Basketball 12) = $(19) . • d ∈ Days ⇒ Duration(d) = Hours(24) .
  • 9. Events • facts were treated as true independent of time • Events: need to describe what is true, when something is happening • For instance: Flying event • E ∈ Flying's • Flyer(E, Shankar) • Origin(E, SanFrancisco) • Destination(E, Baltimore) • We will consider two kinds of time intervals: moments and extended intervals. The distinction is that only moments have zero duration: Partition({Moments, ExtendedIntervals}, Intervals) i ∈ Moments ⇔ Duration(i) = Seconds(0) . • The function Duration gives the difference between the end time and the start time. • Interval(i) ⇒ Duration(i) = (Time(End(i)) - Time(Begin(i))) . • Time(Begin(AD1900)) = Seconds(0) . • Time(Begin(AD2001)) = Seconds(3187324800) . • Time(End(AD2001)) = Seconds(3218860800) . • Duration(AD2001) = Seconds(31536000) .
  • 10. Events • Two intervals Meet if the end time of the first equals the star time of the second. The complete set of interval relations logically below: • Meet(i, j) ⇔ End(i) = Begin(j) • Before(i, j) ⇔ End(i) < Begin(j) • After(j, i) ⇔ Before(i, j) • During(i, j) ⇔ Begin(j) < Begin(i) < End(i) < End(j) • Overlap(i, j) ⇔ Begin(i) < Begin(j) < End(i) < End(j) • Begins(i, j) ⇔ Begin(i) = Begin(j) • Finishes(i, j) ⇔ End(i) = End(j) • Equals(i, j) ⇔ Begin(i) = Begin(j) ∧ End(i) = End(j) • Graphically Predicates on time intervals.
  • 11. • Physical objects can be viewed as generalized events, in the sense that a physical object is a chunk of space–time. • George Washington was president throughout 1790 • T (Equals (President(USA), George Washington), AD1790) Events A schematic view of the object President(USA) for the first 15 years of its existence.
  • 12. Mental events and objects • So far, KB agents can have beliefs and deduce new beliefs • What about knowledge about beliefs? What about knowledge about the inference process? • Requires a model of the mental objects in someone’s head and the processes that manipulate these objects. • Relationships between agents and mental objects: believes, knows, wants, • Believes(Lois,Flies(Superman)) with Flies(Superman) being a function . . . a candidate for a mental object (reification). • Agent can now reason about the beliefs of agents. • Modal logic solves some tricky issues with the interplay of quantifiers and knowledge. • particular someone who Bond knows is a spy ∃ x Kbond Spy(x) , • Bond just knows that there is at least one spy • Kbond∃ x Spy(x) Alice asks “what is the square root of 1764” and Bob replies “I don’t know.” If Alice insists “think harder,” Bob should realize that with some more thought, this question can in fact be answered. On the other hand, if the question were “Is your mother sitting down right now?” then Bob should realize that thinking harder is unlikely to help. Knowledge about the knowledge of other agents is also important; Bob should realize that his mother knows whether she is sitting or not, and that asking her would be a way to find out.
  • 13. Reasoning System for Categories Semantic Networks • Logic vs. semantic networks • Many variations • All represent individual objects, categories of objects and relationships among objects. • persons have two legs—that is • ∀ x x ∈ Persons ⇒ Legs(x, 2) • Allows for inheritance reasoning • Female persons inherit all properties from person. • Cfr. OO programming. • Inference of inverse links • SisterOf vs. HasSister Female Persons Mary Mammals Persons Male Persons Lee Subsetof SubsetofSubsetof Sisterof Memberof Memberof Legs Legs 2 1 HasMother
  • 14. Reasoning System for Categories Description logics • Are designed to describe definitions and properties about categories • A formalization of semantic networks • Bachelor = And(Unmarried,Adult,Male) • Principal inference task is • Subsumption: checking if one category is the subset of another by comparing their definitions • Classification: checking whether an object belongs to a category. • Consistency: whether the category membership criteria are logically satisfiable. describe the set of men with at least three sons who are all unemployed and married to doctors, and at most two daughters who are all professors in physics or math departments The syntax of CLASSIC descriptions