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

Similar documents
Logical Reasoning Systems

Object-based representation. Objects

Knowledge Representation

Module 8. Other representation formalisms. Version 2 CSE IIT, Kharagpur

Module 8. Other representation formalisms. Version 2 CSE IIT, Kharagpur

Overview. COMP 4200: Expert Systems. Knowledge Representation 2. Knowledge Representation 1

AITA : Knowledge Representation

AITA : Frame Based Systems

Description Logics. Structural Description Logics (Acknowledgement: Enrico Franconi) Object-Oriented Representations. Applications

Production System. Logical Reasoning System 1

l A family of logic based KR formalisms l Distinguished by: l Decidable fragments of FOL l Closely related to Propositional Modal & Dynamic Logics

Semantic Nets and Frames SEEM

Knowledge representation Semantic networks and frames

Knowledge Representation

ASSOCIATIVE NETS AND FRAME SYSTEMS

COMP Instructor: Dimitris Papadias WWW page:

16 April 2011 Alan, Edison, etc, Saturday.

Knowledge Representations. How else can we represent knowledge in addition to formal logic?

Semantic Web KM: A Knowledge Machine for Semantic Webs

made up of characters, some of which form character data, and some of which form markup Markup encodes a description of the document's storage layout

Chapter 8: Enhanced ER Model

THE PREDICATE CALCULUS

Visually Interacting with a Knowledge Base

Conceptual Design with ER Model

Lecture 7: January 15, 2014

CSIT5300: Advanced Database Systems

Knowledge Representation. Dr. Asaad Sabah Hadi

Inheritance Conflicts in Object-Oriented Systems

Structural representations of unstructured knowledge

Chapter 2: Entity-Relationship Model

CS 146 Database Systems

Semantic Web. Ontology Engineering and Evaluation. Morteza Amini. Sharif University of Technology Fall 95-96

Q1:a. Best first search algorithm:

Downloaded from ioenotes.edu.np

Lightweight Semantic Web Motivated Reasoning in Prolog

Identifying entities. Another relationship. Continue exploring our first model for databases: Entity-relationship (ER) model. Identifying entities

Principles of Knowledge Representation and Reasoning

THE LOGIC OF INHERITANCE IN FRAME SYSTEMS

Knowledge Representation

Class modelling (part 2)

CONCEPT FORMATION AND DECISION TREE INDUCTION USING THE GENETIC PROGRAMMING PARADIGM

ENTITY-RELATIONSHIP MODEL. CS 564- Spring 2018

! model construction

Knowledge Representation Issues, Predicate Logic, Rules

Major components of ER diagram Practices


Chapter 4. Enhanced Entity- Relationship Modeling. Enhanced-ER (EER) Model Concepts. Subclasses and Superclasses (1)

Semantic Web. Ontology Engineering and Evaluation. Morteza Amini. Sharif University of Technology Fall 93-94

COMP219: Artificial Intelligence. Lecture 14: Knowledge Representation

CS:5810 Formal Methods in Software Engineering

Chapter 6: Entity-Relationship Model

Semantic Web Systems Ontologies Jacques Fleuriot School of Informatics

Database Design Phases. History. Entity-relationship model. ER model basics 9/25/11. Entity-relationship (ER) model. ER model basics II

CS 4604: Introduction to Database Management Systems. B. Aditya Prakash Lecture #5: Entity/Relational Models---Part 1

Entity-Relationship Models: Good Design and Constraints

Semantics and Ontologies for Geospatial Information. Dr Kristin Stock

The Entity-Relationship (ER) Model 2

Assignment 1: Entity-Relationship Model Solution

SEMANTICS. Retrieval by Meaning

Logic Programming. Let us have airline flight information of the form: 1. Application Domains: 2. Definitions

Instances and Classes. SOFTWARE ENGINEERING Christopher A. Welty David A. Ferrucci. 24 Summer 1999 intelligence

CS54100: Database Systems

Semantic Web Test

Class modelling (part 2)

What s in an Instance?

( ) Software Abstractions. With Alloy Analyzer

OVERVIEW OF DATABASE DEVELOPMENT

Chapter 8 The Enhanced Entity- Relationship (EER) Model

Structured Knowledge Representation

Advanced Logic and Functional Programming

Figure-12 Membership Grades of x o in the Sets A and B: μ A (x o ) =0.75 and μb(xo) =0.25

Compilers and Interpreters

ARTIFICIAL INTELLIGENCE (CS 370D)

Using the Right Tools: Enhancing retrieval from marked-up documents

Alloy Language and Analysis based on slides from. Greg Dennis and Rob Seater Software Design Group, MIT

Database Design Using E/R Model

On the Declarative Semantics of Inheritance Networks

ER modeling. Lecture 4

Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition. Chapter 7 Data Modeling with Entity Relationship Diagrams

Knowledge Sharing Among Heterogeneous Agents

CHAPTER. Knowledge Representation

Chapter 6: Entity-Relationship Model

Database Design with Entity Relationship Model

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe

SYLLABUS ADMIN DATABASE SYSTEMS I WEEK 2 THE ENTITY-RELATIONSHIP MODEL. Assignment #2 changed. A2Q1 moved to A3Q1

Modern Programming Languages. Lecture LISP Programming Language An Introduction

Deep Integration of Scripting Languages and Semantic Web Technologies

Using the. Parka Parallel Knowledge Representation System. (Version 3.2) 1. Brian Kettler, William Andersen, James Hendler, and Sean Luke

LISP. Everything in a computer is a string of binary digits, ones and zeros, which everyone calls bits.

Ontologies and OWL. Riccardo Rosati. Knowledge Representation and Semantic Technologies

A review of First-Order Logic

Semantic Concept Modeling UML Profile

Knowledge Representation. What is knowledge representation?

The Notion of Inheritance in Object-Oriented Programming

Entity-Relationship Model. Purpose of E/R Model

Chapter 4 Entity Relationship Modeling In this chapter, you will learn:

Chapter 2 Conceptual Modeling. Objectives

CSE 530A. ER Model. Washington University Fall 2013

Enhanced Entity-Relationship (EER) Modeling

A - 1. CS 494 Object-Oriented Analysis & Design. UML Class Models. Overview. Class Model Perspectives (cont d) Developing Class Models

Transcription:

Semantic Nets, Frames, World Representation CS W4701 24 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 xroman loyalto( x, Caesar) hate( x, Caesar) 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 216-270. 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. age mother age Sue John 5 wife husband father mother (john, sue) age (john, 5) wife (sue, max) age (max, 34) 34 Max

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

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 isa Rusty Animal isa haspart Bird isa Robin isa Red Wings

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) subclass Person subclass P?!P pacifist Quaker non-pacifist Republican Q R instance Nixon instance N

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) JOHN GO NEW YORK Who How Where BUS

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 3 components of a frame frame name attributes (slots) values (fillers: list of values, range, string, etc.) Book Frame Slot Filler Title AI. A modern Approach Author Russell & Norvig Year 2003

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 Chair Hotel Room what room where hotel contains hotel chair hotel phone hotel bed what chair height 20-40cm legs 4 Hotel Bed what bed size king part mattress Hotel Phone what phone billing guest Mattress price 100$

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

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?

KL-ONE (Brachman, 1977) 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

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