Semantic Nets, Frames, World Representation CS – W4701 24 February, 2004.

Slides:



Advertisements
Similar presentations
Expert System Seyed Hashem Davarpanah
Advertisements

Artificial Intelligence 4. Knowledge Representation
Artificial Intelligence Description Logics - Background and Motivation for DL Relation between DL and FOPL (extensional Semantics) Example.
© C. Kemke Knowledge Representation 1 COMP 4200: Expert Systems Dr. Christel Kemke Department of Computer Science University of Manitoba.
Knowledge Representation
Knowledge Representation
Knowledge Representation. Essential to artificial intelligence are methods of representing knowledge. A number of methods have been developed, including:
CPSC 322 Introduction to Artificial Intelligence November 5, 2004.
1 Knowledge Representation We’ve discussed generic search techniques. Usually we start out with a generic technique and enhance it to take advantage of.
Knowledge Representation and Reasoning Chapters , 10.6, 10.9 Some material adopted from notes by Andreas Geyer-Schulz and Chuck Dyer.
Semantic Nets, Frames, World Representation. Knowledge Representation as a medium for human expression An intelligent system must have KRs that can be.
CSM6120 Introduction to Intelligent Systems Knowledge representation.
14th September 2006 Dr Bogdan L. Vrusias
INTRODUCTION TO ARTIFICIAL INTELLIGENCE Massimo Poesio LECTURE 4: Semantic Networks and Description Logics.
Lecture 10: Semantic Network
Knowledge Engineering
Artificial Intelligence Lecture No. 12 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
Knowledge Representation
Objects Objects are at the heart of the Object Oriented Paradigm What is an object?
Knowledge representation methods جلسه سوم. KR is AI bottleneck The most important ingredient in any expert system is knowledge. The power of expert systems.
1 CMSC 671 Fall 2010 Class #11 – Monday, October 11.
RDF (Resource Description Framework) Why?. XML XML is a metalanguage that allows users to define markup XML separates content and structure from formatting.
Knowledge Representation
1 Semantic Web Semantic Web DL Relationships with other Formalisms Habib Rostami.
Frames and semantic networks, page 1 CSI 4106, Winter 2005 A brief look at semantic networks A semantic network is an irregular graph that has concepts.
Knowledge Representation Semantic Network dan Frame.
Lectures 5,6 MACHINE LEARNING EXPERT SYSTEMS. Contents Machine learning Knowledge representation Expert systems.
Knowledge representation
INF 384 C, Spring 2009 Ontologies Knowledge representation to support computer reasoning.
Artificial Intelligence 4. Knowledge Representation Course V231 Department of Computing Imperial College, London © Simon Colton.
Alternative representations: Semantic networks
Knowledge Representation CPTR 314. The need of a Good Representation  The representation that is used to represent a problem is very important  The.
Temporal Reasoning and Planning in Medicine Frame-Based Representations and Description Logics Yuval Shahar, M.D., Ph.D.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Artificial Intelligence Knowledge Representation.
CMSC 471 Spring 2014 Class #22 Thursday, April 17 Knowledge Representation Professor Marie desJardins,
Artificial Intelligence Chapter 18. Representing Commonsense Knowledge.
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall Knowledge Representation Semantic Web - Fall 2005 Computer.
1 Knowledge Representation (continue). 2 Knowledge Representation Logic isn’t the only method of representing knowledge. There are other methods which.
1 Lectures on Artificial Intelligence (CS 364) 1 Khurshid Ahmad Professor of Artificial Intelligence Centre for Knowledge Management September 2001.
Knowledge Representation
Some Thoughts to Consider 8 How difficult is it to get a group of people, or a group of companies, or a group of nations to agree on a particular ontology?
1 CS 385 Fall 2006 Chapter 7 Knowledge Representation 7.1.1, 7.1.5, 7.2.
INFO 629 Dr. R. Weber Copyright R. Weber Knowledge representation methods Knowledge bases, case bases, databases.
Reasoning Systems For Categories By Franklyn O. Reasoning Systems For Categories Categories are the primary building blocks of any large-scale knowledge.
Lecture 5 Frames. Associative networks, rules or logic do not provide the ability to group facts into associated clusters or to associate relevant procedural.
Of 29 lecture 15: description logic - introduction.
Artificial Intelligence Knowledge Representation.
Knowledge Representation
Knowledge Engineering. Sources of Knowledge - Books - Journals - Manuals - Reports - Films - Databases - Pictures - Audio and Video Tapes - Flow Diagram.
Knowledge Representation and Reasoning Chapter 12 Some material adopted from notes by Andreas Geyer-Schulz and Chuck Dyer.
Definition and Technologies Knowledge Representation.
16 April 2011 Alan, Edison, etc, Saturday.. Knowledge, Planning and Robotics 1.Knowledge 2.Types of knowledge 3.Representation of knowledge 4.Planning.
CS621 : Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 16 Description Logic.
Module 5 Other Knowledge Representation Formalisms
Artificial Intelligence 4. Knowledge Representation
Knowledge Representation Techniques
Artificial Intelligence
ece 720 intelligent web: ontology and beyond
Knowledge Representation
Knowledge Representation
Artificial Intelligence (CS 370D)
Issues in Knowledge Representation
KNOWLEDGE REPRESENTATION
Weak Slot-and-Filler Structures
Semantic Nets and Frames
CSNB234 ARTIFICIAL INTELLIGENCE
Deniz Beser A Fundamental Tradeoff in Knowledge Representation and Reasoning Hector J. Levesque and Ronald J. Brachman.
Professor Marie desJardins,
Presentation transcript:

Semantic Nets, Frames, World Representation CS – W February, 2004

Knowledge Representation as a medium for human expression An intelligent system must have KRs that can be interpreted by humans. – We need to be able to encode information in the knowledge base without significant effort. –We need to be able to understand what the system knows and how it draws its conclusions.

Knowledge Representation Logic (prepositional, predicate) Network representation –Semantic nets Structured representation –Frames Issues in KR –Hierarchies, inheritance, exceptions Advantages and disadvantages

Propositional Logic –It is raining  RAINING –It is sunny  SUNNY We can deduce whether a certain proposition is true or false –Socrates is a man  SOCRATESMAN –Plato is a man  PLATOMAN We can not draw any conclusions about Similarities between Socrates and Plato

Predicate Logic –Socrates is a man  MAN (SOCRATES) –Plato is a man  MAN (PLATO) Now the structure of representation reflects the structure of knowledge –All Romans were either loyal to Caesar or hated him  It is difficult to represent knowledge in predicate logic with only THERE EXISTS, ALL, AND, OR

Semantic Networks First introduced by Quillian back in the late-60s M. Ross Quillian. "Semantic Memories", In M. M. Minsky, editor, Semantic Information Processing, pages Cambridge, MA: MIT Press, 1968 Semantic network is simple representation scheme which uses a graph of labeled nodes and labeled directed arcs to encode knowledge –Nodes – objects, concepts, events –Arcs – relationships between nodes Graphical depiction associated with semantic networks is a big reason for their popularity

Nodes and Arcs Arcs define binary relations which hold between objects denoted by the nodes. SueJohn5 Max34 motherage father age wife husband mother (john, sue) age (john, 5) wife (sue, max) age (max, 34) …

Non-binary relations We can represent the generic give event as a relation involving three things: –A giver –A recipient –An object MaryGIVEJohn book recipientgiver object

Inheritance Inheritance is one of the main kind of reasoning done in semantic nets The ISA (is a) relation is often used to link a class and its superclass. Some links (e.g. haspart) are inherited along ISA paths The semantics of a semantic net can be relatively informal or very formal –Often defined at the implementation level Bird Robin Rusty isa Red isa Animal isa Wings hasPart

Multiple Inheritance A node can have any number of superclasses that contain it, enabling a node to inherit properties from multiple parent nodes and their ancestors in the network. It can cause conflicting inheritance. Nixon Diamond (two contradictory inferences from the same data) Person subclass non-pacifist Nixon RepublicanQuaker pacifist subclass instance R Q N P ? !P

Example

Advantages of Semantic nets Easy to visualize Formal definitions of semantic networks have been developed. Related knowledge is easily clustered. Efficient in space requirements –Objects represented only once –Relationships handled by pointers

Disadvantages of Semantic nets Inheritance (particularly from multiple sources and when exceptions in inheritance are wanted) can cause problems. Facts placed inappropriately cause problems. No standards about node and arc values

Conceptual Graphs Conceptual graphs are semantic nets representing the meaning of (simple) sentences in natural language Two types of nodes: –Concept nodes; there are two types of concepts, individual concepts and generic concepts –Relation nodes(binary relations between concepts) GO BUS NEW YORK JOHN Who How Where

Frames Frames – semantic net with properties A frame represents an entity as a set of slots (attributes) and associated values A frame can represent a specific entry, or a general concept Frames are implicitly associated with one another because the value of a slot can be another frame Book Frame Slot  Filler Title  AI. A modern Approach Author  Russell & Norvig Year  components of a frame frame name attributes (slots) values (fillers: list of values, range, string, etc.)

Features of Frame Representation More natural support of values then semantic nets (each slots has constraints describing legal values that a slot can take) Can be easily implemented using object-oriented programming techniques Inheritance is easily controlled

Inheritance Similar to Object-Oriented programming paradigm Hotel Room what  room where  hotel contains  –hotel chair –hotel phone –hotel bed Hotel Chair what  chair height  20-40cm legs  4 Hotel Phone what  phone billing  guest Hotel Bed what  bed size  king part  mattress Mattress price  100$

Example Modern Data-Bases combine three approaches: conceptual graphs, frames, predicate logic (relational algebra)

Benefits of Frames Makes programming easier by grouping related knowledge Easily understood by non-developers Expressive power Easy to set up slots for new properties and relations Easy to include default information and detect missing values

Drawbacks of Frames No standards (slot-filler values) More of a general methodology than a specific representation: –Frame for a class-room will be different for a professor and for a maintenance worker No associated reasoning/inference mechanisms

Description Logic There is a family of frame-like KR systems with a formal semantics –KL-ONE, Classic A subset of FOL designed to focus on categories and their definitions in terms of existing relations. Automatic classification –Finding the right place in a hierarchy of objects for a new description More expressive than frames and semantic networks Major inference tasks: –Subsumption Is category C1 a subset of C2? –Classification Does Object O belong to C?

Bi-partite view of knowledge representation 1. Descriptions 2. Assertions Entities can be “described” without making any particular assertions about them Descriptions are made from other descriptions using a very small set of operators KL-ONE (Brachman, 1977 )

OVERFLOW Semantic nets: originally developed for mapping sentences (NLP). Example with Shank’s graphs.