ARTIFICIAL INTELLIGENCE

Slides:



Advertisements
Similar presentations
Chapter 2: Entity-Relationship Model
Advertisements

Chapter 6: Entity-Relationship Model (part I)
1 Pertemuan 13 Weak Slot-and-Filler Structures Matakuliah: T0264/Inteligensia Semu Tahun: Juli 2006 Versi: 2/2.
Knowledge Representation
Chapter 4 Knowledge Representation Artificial Intelligence ดร. วิภาดา เวทย์ประสิทธิ์ ภาควิชาวิทยาการคอมพิวเตอร์ คณะ วิทยาศาสตร์ มหาวิทยาลัยสงขลานครินทร์
Text-Book Chapters (7 and 8) Entity-Relationship Model
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
Lecture Eleven Entity-Relationship Modelling
Chapter 4 ENTITY-RELATIONSHIP MODELLING.
Chapter 8 Structuring System Data Requirements
Chapter 4 Entity-Relationship modeling Transparencies © Pearson Education Limited 1995, 2005.
Entity-Relationship modeling Transparencies
Chapter 12 Entity-Relationship Modeling Pearson Education © 2009.
CSE314 Database Systems Data Modeling Using the Entity- Relationship (ER) Model Doç. Dr. Mehmet Göktürk src: Elmasri & Navanthe 6E Pearson Ed Slide Set.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 7.1.
Chapter 6 A Primer On Digital Logic Power Point Slides PROPRIETARY MATERIAL. © 2014 The McGraw-Hill Companies, Inc. All rights reserved. No part of this.
Entity-relationship Modeling Transparencies 1. ©Pearson Education 2009 Objectives How to use ER modeling in database design. The basic concepts of an.
Knowledge Representation Semantic Network dan Frame.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
A Z Approach in Validating ORA-SS Data Models Scott Uk-Jin Lee Jing Sun Gillian Dobbie Yuan Fang Li.
©Silberschatz, Korth and Sudarshan2.1Database System Concepts Chapter 2: Entity-Relationship Model Entity Sets Relationship Sets Design Issues Mapping.
© Pearson Education Limited, Chapter 7 Entity-Relationship modeling Transparencies.
Entity-Relationship Modeling Based on Chapter 12.
7-1 © Prentice Hall, 2007 Chapter 7: Conceptual Data Modeling Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich,
Unit 3 Conceptual Data Modeling. Key Concepts Conceptual data modeling process Classes and objects Attributes Identifiers, candidate keys, and primary.
7-1 © Prentice Hall, 2007 Week 5: Conceptual Data Modeling Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich,
Chapter 12 Entity-Relationship Modeling Pearson Education © 2009.
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall Knowledge Representation Semantic Web - Fall 2005 Computer.
1 Entity-Relationship Model © Pearson Education Limited 1995, 2005.
Semantic Nets, Frames, World Representation CS – W February, 2004.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
Computing & Information Sciences Kansas State University Friday, 26 Sep 2008CIS 560: Database System Concepts Lecture 13 of 42 Friday, 26 September 2008.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
Knowledge Representation Fall 2013 COMP3710 Artificial Intelligence Computing Science Thompson Rivers University.
©Silberschatz, Korth and Sudarshan2.1Database System Concepts Chapter 2: Entity-Relationship Model Entity Sets Relationship Sets Mapping Constraints Keys.
Definition and Technologies Knowledge Representation.
ENTITY-RELATIONSHIP MODELLING. Objectives: How to use Entity–Relationship (ER) modelling in database design. Basic concepts associated with ER model.
Chapter 2: Entity-Relationship Model
Data Modeling Using the Entity- Relationship (ER) Model
COP Introduction to Database Structures
Knowledge Representation
Comprehensive Introduction to OOP with Java, C. Thomas Wu Stack ADT
Entity- Relationship (ER) Model
Chapter # 3 Data Modeling Using the Entity-Relationship (ER) Model
Conceptual Design & ERD Modelling
Entity-Relationship Model
TMC2034 Database Concept and Design
Systems Analysis and Design
Entity-Relationship Model
Chapter 2: Entity-Relationship Model
MIS 322 – Enterprise Business Process Analysis
Entity-Relationship Modeling
Knowledge Representation
Chapter 3 Image Slides Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Issues in Knowledge Representation
Chapter 7 Structuring System Requirements: Conceptual Data Modeling
Digital Modulation and Transmission
Entity-Relationship Modeling
Database Systems: Design, Implementation, and Management Tenth Edition
ARTIFICIAL INTELLIGENCE
KNOWLEDGE REPRESENTATION
BASIC ELECTRICAL ENGINEERING
Chapter 6: Entity-Relationship Model
Chapter 3: Modeling Data in the Organization
Weak Slot-and-Filler Structures
Chapter 7: Entity-Relationship Model
Knowledge Representation
Appendix A Object-Oriented Analysis and Design
Entity Relation Model Tingting Zhang.
Chapter 2: Entity-Relationship Model
Presentation transcript:

ARTIFICIAL INTELLIGENCE Third Edition Transparencies/Handouts Chapter 9 Weak Slot-and-Filler Structures PROPRIETARY MATERIAL. © 2009 The McGraw-Hill Companies, Inc. All rights reserved. No part of this PowerPoint slide may be displayed, reproduced or distributed in any form or by any means, without the prior written permission of the publisher, or used beyond the limited distribution to teachers and educators permitted by McGraw-Hill for their individual course preparation. If you are a student using this PowerPoint slide, you are using it without permission. 207

Weak Slot-and-Filler Structures Index assertions by the entities they describe. Make it easy to describe properties of relations. Are a form of object-oriented programming. Support both monotonic and Nonmonotonic inference. 208

A Semantic Network 209

Representing Nonbinary Predicates Unary Predicates can be rewritten as binary ones. could be rewritten as N-Place Predicates becomes 210

A Semantic Net Representing a Sentence “John gave the book to Mary.” 211

Some Important Distinctions First try : Second try : Third try : 212

Partitioned Semantic Nets The dog bit the mail carrier. Every dog has bitten a mail carrier. Every dog in town has bitten the constable. Every dog has bitten every mail carrier. 213

A Simplified Frame System 214

A Simplified Frame System (Cont’d) 215

A Simplified Frame System (Cont’d) 216

Representing the Class of All Teams as a Metaclass 217

Representing the Class of All Teams as a Metaclass (Cont’d) 218

Classes and Metaclasses 219

Representing Relationships among Classes 220

Representing Relationships among Classes (Cont’d) 221

Slots as Full – Fledged Objects We want to be able to represent and use the following properties of slots (attributes or relations) : The classes to which the attribute can be attached. Constraints to either the type or the value of the attribute. A value that all instances of a class must have by the definition of the class. A default value for the attribute. Rules for inheriting values for the attribute. Rules for computing a value separately from inheritance. An inverse attribute. Whether the slot is single-valued or multivalued. 222

Representing Slots as Frames, I Multiple Choice Single Answer Representing Slots as Frames, I 223

Representing Slots as Frames, II 224

Representing Slots as Frames, III 225

Representing Slots as Frames, IV 226

Associating Defaults with Slots 227

A Shorthand Notation for slot-Range Specification 228

Representing Slot - Values As simple frames : Using Lambda Notation : 229

Tangled Hierarchies 230

More Tangled Hierarchies 231

Defining Property Inheritance Inferential Distance : Class1 is closer to Class2 than to Class3, if and only if Class1 has an inference path through Class2 to Class3 (in other words, Class2 is between Class1 and Class3). We can now define the result of inheritance as follows: The set of competing values for a slot S in a frame F contains all those values that • Can be derived from some frame X that is above F in the isa hierarchy • Are not contradicted by some frame Y that has a shorter inferential distance to F than X does 232

Algorithm : Property Inheritance To retrieve a value V for slot S of an instance F do: 1. Set CANDIDATES to empty. 2. Do breadth-first or depth-first search up the isa hierarchy from F, following all instance and isa links. At each step, see if a value for S or one f its generalizations is stored. (a) If a value is found, add it to CANDIDATES and terminate that branch of the search. (b) If no value is found but there are instance or isa links upward, follow them. (c) Otherwise, terminate the branch. 3. For each element C of CANDIDATES do: (a) See if there is any other element of CANDIDATES that was derived from a class closer to F than the class from which C came. (b) If there is, then, remove C from CANDIDATES. 4. Check the cardinality of CANDIDATES: (a) If it is 0, then report that no value was found. (b) If it is 1, then return the single element of CANDIDATES as V. (c) If it is greater than 1, report a contradiction. 233