Objects Objects are at the heart of the Object Oriented Paradigm What is an object?

Slides:



Advertisements
Similar presentations
Expert System Seyed Hashem Davarpanah
Advertisements

© C. Kemke Knowledge Representation 1 COMP 4200: Expert Systems Dr. Christel Kemke Department of Computer Science University of Manitoba.
Discrete Event Control
Knowledge Representation
Intelligent systems Lection 7 Frames, selection of knowledge representation, its combinations.
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.
Semantic Nets, Frames, World Representation. Knowledge Representation as a medium for human expression An intelligent system must have KRs that can be.
OOP - Object Oriented Programming Object Oriented Programming is an approach to programming that was developed to make large programs easier to manage.
Intelligent systems Lecture 6 Rules, Semantic nets.
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
Lahore University of Management Sciences, Lahore, Pakistan Dr. M.M. Awais- Computer Science Department Lecture 6 Knowledge Representation Non-Formal Method.
Natural Categories Hierarchical organization of categories –Superordinate (e.g., furniture) –Basic-level (e.g., chair) –Subordinate (e.g., armchair) Rosch.
File Systems and Databases
Knowledge Representation and Objects
Knowledge representation methods جلسه سوم. KR is AI bottleneck The most important ingredient in any expert system is knowledge. The power of expert systems.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Knowledge Representation Semantic Network dan Frame.
GENERAL CONCEPTS OF OOPS INTRODUCTION With rapidly changing world and highly competitive and versatile nature of industry, the operations are becoming.
IS0514Slide 1 IS0514 Lecture Week 5 Introduction to Object Orientation.
For Friday Exam 1. For Monday No reading Take home portion of exam due.
USCISIUSCISI Background Description Logic Systems Thomas Russ.
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.
For Wednesday Read chapter 13 Homework: –Chapter 10, exercise 5 (part 1 only, don’t redo) Progress for program 2 due.
Artificial Intelligence LECTURE 2 ARTIFICIAL INTELLIGENCE LECTURES BY ENGR. QAZI ZIA 1.
Temporal Reasoning and Planning in Medicine Frame-Based Representations and Description Logics Yuval Shahar, M.D., Ph.D.
@Anupam Basu Frames Lecture Basu What is a Frame? A frame is a prototype of a concept –Denoting the attributes of the concept –The class of.
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall Knowledge Representation Semantic Web - Fall 2005 Computer.
Machine Learning Chapter 5. Artificial IntelligenceChapter 52 Learning 1. Rote learning rote( โรท ) n. วิถีทาง, ทางเดิน, วิธีการตามปกติ, (by rote จากความทรงจำ.
1 The Theoretical Framework. A theoretical framework is similar to the frame of the house. Just as the foundation supports a house, a theoretical framework.
Semantic Nets, Frames, World Representation CS – W February, 2004.
1 Knowledge Representation (continue). 2 Knowledge Representation Logic isn’t the only method of representing knowledge. There are other methods which.
Intelligent Control Methods Lecture 7: Knowledge representation Slovak University of Technology Faculty of Material Science and Technology in Trnava.
Cognitive Processes PSY 334 Chapter 5 – Meaning-Based Knowledge Representation.
1 Lectures on Artificial Intelligence (CS 364) 1 Khurshid Ahmad Professor of Artificial Intelligence Centre for Knowledge Management September 2001.
Knowledge Representation
1 How is knowledge stored? Human knowledge comes in 2 varieties: Concepts Concepts Relations among concepts Relations among concepts So any theory of how.
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.
Finite State Machines (FSM) OR Finite State Automation (FSA) - are models of the behaviors of a system or a complex object, with a limited number of defined.
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
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.
Knowledge Representation. A knowledge base can be organised in several different configurations to facilitate fast inferencing Knowledge Representation.
Module 5 Other Knowledge Representation Formalisms
Knowledge Representation & Logic
Knowledge Representation Techniques
Artificial Intelligence
OOP - Object Oriented Programming
ece 720 intelligent web: ontology and beyond
Knowledge Representation
Knowledge Representation
Knowledge Representation
Knowledge Representation
File Systems and Databases
Issues in Knowledge Representation
KNOWLEDGE REPRESENTATION
Weak Slot-and-Filler Structures
Semantic Nets and Frames
How is knowledge stored?
Subject : Artificial Intelligence
Presentation transcript:

Objects Objects are at the heart of the Object Oriented Paradigm What is an object?

Objects We are surrounded by objects. In this class room there are desks, blackboards, lights, chairs and so on. Each object has specific attributes The desk is made of wood. The seat has a blue cover and so on.

Objects have associations and relationships with each other. Seats have desktops attached. All are attached to the floor Seats are adjacent to other seats. They are oriented in the same way. Lights are controlled by switches

Object Roles and Functions Each Object in the room has a specific role or function or behaviour. Seats are to be sat on. Board is to be written on. Lights can be turned on and off Boards can be moved up and down and seats can be put up and down.

Objects can be classified Within the room objects can be grouped into different classes For example we could have the furniture objects e.g. chairs, tables, worktop We could also have the electrical objects. Lights, projector, laptop and so on.

The nature of Objects Clearly Objects constitute a complex multi faceted concept. Their definition is dependent on many elements- their attributes, their behaviour, their classification and as we will see much, much more To investigate the nature of objects, it is helpful to consider an important knowledge representation scheme which is the basis for theoretical frameworks of the object oriented paradigm This framework is known as semantic networks

Semantic Nets Semantic networks are a popular scheme which elegantly reflect these ideas. A network consists of nodes repesenting objects, concepts and events and links between the nodes representing their interrelations.

Example Using the example Birds have wings a typical semantic net would be

Origin The development of semantic networks had its origins in psychology. Ross Quillian in 1968 designed two semantic network based systems that were intended primariliy as psychological models of associateive memory. Semantic Networks quickly found application in AI. B. Raphaels SIR system, also 1968, was one of the first programs to use this type of representation scheme. SIR was a question Answering system and could answer questions requiring a variety of simple reasoning tasks and relationships

Meaning of Semantic Nets The semantics of net structures however depends solely on the program that manipulates them and there are no fixed conventions about their meaning. A wide variety of network based systems have been implemented that use totally different procedures for making inferences.

Another Example Dogbone likes

Evolving Features While there are no fixed conventions, a number of important features of Semantic nets have emerged, that are widely used. These have largely emerged because of the application of Semantic Nets to Object Oriented Theory.

Object Definitions The central aspect of the object paradigm is how it defines objects. The basic mechanism of representation is the articulation of class hierarchies. Instances of Objects exist. In turn Objects belong to classes and these in turn can belong to other classes

Example Consider Fido ( who is a dog) Fido is instance of the object “dog”. Dogs belong to the class pets, which for example could also include other classes such as cats. Pets in turn belong to a class animals and so on

Fido Dogs Pets Animals Cats

Labels used in Semantic Nets Objects and Instances Both Represented by Nodes linked by an IS_A link FidoDog IS_A Instance Object

Labels used in Semantic Nets Objects and Classes Both Represented by Nodes linked by an Subset or a SuperSet link DogPets Subset Object Class

SuperSet links Objects and Classes Both Represented by Nodes linked by an SuperSet link DogPets Subset Object Class Superset

Relationships, attributes and associations Represented by a labelled link between objects etc Fido Black and white colour

Component Parts Object components Both Represented by Nodes linked by an HAP (has as part) link A dog has a tail DogTail HAP Object

Inheritance Attributes of classes are inherited by subclasses and instances of objects Because we know dogs have tails and Fido is a dog we know Fido has a tail since this is inherited from the parent class

Inheritance A dog has a tail and Fido is a dog DogTail HAP Object Fido ISA

Bigger Example Exercise What does the following Semantic net represent

My House Bungalow House Building Roof 1 brick wallsRed Habitation No. Of Storeys Purpose Colour HAP subset ISA Made_of

Advantages of Semantic Nets Easy to visualize – Graphical in nature – easy for humans to interpret Expressive power equal to or exceeding that of First Order Predicate Logic Formal definitions of semantic networks have been developed for use Related knowledge is easily clustered – logically and physically close Efficient in space requirements –Objects represented only once –Relationships handled by pointers Other schemes are limited to True or False answers where as Semantic Nets are more informative and flexible Not limited to only binary representation… can also represent action concepts

Disadvantages of Semantic Nets Inheritance (particularly from multiple sources and when exceptions in inheritance are wanted) can cause problems such as conflicts Facts placed inappropriately cause problems No standards about node and arc values – in spite of the generic formal definitions