Intelligent Systems Knowledge Representa6on

Size: px
Start display at page:

Download "Intelligent Systems Knowledge Representa6on"

Transcription

1 Intelligent Systems Knowledge Representa6on SCJ3553 Ar6ficial Intelligence Faculty of Computer Science and Informa6on Systems Universi6 Teknologi Malaysia

2 Outline Introduc6on Seman6c Network Frame Conceptual Graph Agent- based

3 Introduc6on Implementa6on of intelligent systems Representa6on scheme (like data structures, explicit structure for knowledge representa6on) Representa6on medium (like programming languages, i.e. PROLOG, LISP,C++,Java, JSP, ASP.NET,PHP.)

4 Seman6c Network Graph- explicitly represen6ng rela6ons using arcs and nodes; formalizing knowledge Seman6c network represents knowledge as a graph with nodes corresponding to facts or concepts and arcs correspond to rela6ons between concepts Eg. Figure 1(canary- bird) and Figure 2(snow- ice)

5 Figure 1: Seman6c network developed by Collins and Quillian in their research on human informa6on storage and response 6mes (Harmon and King 1985). Seman6c Network Knowledge organiza6on Inheritance systems allow:- - storing knowledge at highest level of abstrac6on - reduce size of knowledge base - help prevents update inconsistencies

6 Seman6c Network Seman6c network can be used to:- - answer ques6ons about snow,ice and snowmen(with appropriate inference rules) - References are made by following links to concept - implement inheritance i.e. frosty inherits all proper6es of snowman Figure 2: Network representa6on of proper6es of snow and ice

7 A program defined English word Each defini6on leads to other defini6on in unstructured or circular fashion Looking up a word, the network is traversed un6l the word is understood Knowledge- based is organized into planes, each explains single word i.e. 3 planes capture defini6ons of plant - living organism,work place or pucng seed in ground Seman6c Network Figure 3: Three planes represen6ng three defini6ons of the word plant (Quillian 1967)

8 Seman6c Network Knowledge- based is used to find rela6onships between pairs of english word Given two words, it would search graphs outward from each word in breadth- first fashion, searching for intersec(on- node Figure 4: Intersec6on path between cry and comfort (Quillian 1967).

9 Seman6c Network

10 Frame Another representa6onal scheme Implicit connec6on of informa6on Sta6c data structure to represent well- understood stereotyped situa6ons Organize our knowledge of the world We adjust to new situa6on by calling up informa6on structure by past experience We then revise details of past experiences to represent differences in new situa6on

11 Frame

12 Frame Hotel room and its components are described by number of individual frames Each frame may be seen as data structure Contains info relevant to stereotyped en66es Frame systems support class inheritance

13 Frame This frame system represents four of faces of cube Broken line indicates face out of view from that perspec6ve Links between frames indicate rela6ons between views represented by frames Each slot in one frame could be a pointer to another en6re frame Since given informa6on can fill many different slot (face E), No redundancy in informa6on stored Frames allow complex objects to be represented as a single frame rather than large network structure

14 Frame

15 Conceptual Graph Example of a network representa6on language A finite, connected graph Nodes are either: concepts or conceptual rela6ons No labeled arcs Conceptual rela6on nodes=rela6ons between concepts i.e. (dog and brown ~ concept nodes) i.e. (color ~ conceptual rela6on)

16 Conceptual Graph Each conceptual graph represents a single proposi6on A typical knowledge- base contains several graphs Graph must be finite i.e. a dog has a color of brown Conceptual graphs are used to model seman6cs of natural language

17 Conceptual Graph type individual The graph uses conceptual rela6ons to represent cases of the verb to give Conceptual graphs used to model seman6cs of natural language Every concept is a unique individual of a par6cular type, separated by :

18 Conceptual Graph Conceptual graph indica6ng that the dog named emma is brown. Conceptual graph indica6ng that a par6cular (but unnamed) dog is brown. Conceptual graph indica6ng that a dog named emma is brown. Graph 1= 3

19 Conceptual Graph Conceptual graph of a person with three names. # marker # Marker is unique and different from names Individual has many names but one marker different individuals may have same name, but not same marker

20 Conceptual Graph Conceptual graph of the sentence The dog scratches its ear with its paw. To summarize: each concept node indicates individual of specified type This individual is the referent of the concept Individual concept ~referent uses individual marker Generic concept ~ referent uses generic marker

21 Generaliza(on and Specializa(on: Examples of restrict, join, and simplify opera(ons Conceptual Graph Conceptual graph includes opera6ons crea6ng new graphs from exis6ng ones: - specializing or generalizing exis6ng graph to represent seman6cs of natural language:- 1)Copy- exact copy of graph 2)Restrict- replace concept nodes with specialized note: generic marker replace individual marker Replace type with subtypes; animal - > dog

22 3)Join- combine 2 graphs into single one If concept node c 1 and c 2 iden6cal, delete c 2 ; c 1 replace c 2 Specializa6on- produce less general graph 4)Simplify- if graph has duplicate rela6ons, delete one together with its arcs Occur amer join opera6on Ж restrict ~ match two concepts Ж join and restrict ~ allow implementa6on of inheritance Conceptual Graph

23 Conceptual Graph Conceptual graph of the proposi6on There are no pink dogs. u To represent nega6on or disjunc6on- variable quan6fica6on (universal quan6fier (for all) and existen6al quan6fier (there exist) u neg takes argument as proposi6on concept and assert that concept as false u In conceptual graph, generic concepts are assumed to be existen6ally quan6fied u Eg. Transla6ons X Y (dog(x) color(x,y) brown(y) ==> existen6al quan6fier X Y ( (dog(x) color(x,y) pink(y))) ==> universal quan6fier Eg. Transla6on X 1 (dog(emma) color(emma, X 1 ) brown(x 1 )) Ø There is straight mapping from conceptual graph into predicate calculus nota6on (Sowa,1984) Ø Advantage of conceptual graph support some special- purpose inferencing mechanisms such as join and restrict, not normally part of predicate calculus

24 Conceptual Graph On a piece of paper, answer the ques6ons below and submit Translate the two conceptual graphs into English Translate the two conceptual graphs into predicate calculus

25 Conceptual Graph

26 Agent Defini6on: mul6- agent :- a comp program with problem solvers situated in interac6ve environments, capable of flexible, autonomous and socially organized ac6ons. 4 criteria of intelligent agent: Situated, autonomous, flexible and social

27 Agent

28 Agent Situatedness Means agent receives input from environment in which it is ac6ve and can also effect changes within that environment i.e. situa6ons like internet, game playing, robo6c situa6on i.e. ROBOCUP compe66on agent interact with ball and opponent

29 Agent Autonomous Can interact with its environment without direct interven6on of other agents Control over its own ac6on Can also learn from experience to improve performance i.e. ROBOCUP agent pass the ball to a teammate or kick on goal depending on its situa6on

30 Agent Flexible Intelligently responsive receive s6muli from its environment and responds to them in an appropriate and 6mely fashion proac6ve not simply responsive but able to be opportunis6c, goal directed and have appropriate alterna6ves for various situa6ons i.e. soccer agent change its dribble depending on the challenge parern of opponent

31 Agent Social Interact with other somware or human- agent towards the goal social dimension address difficult situa6on i.e. ROBOCUP to score a goal, how one agent support another agent s goal?

32 Agent Mul6- agent problem characteris6cs: 1. Each agent has incomplete informa6on and capabili6es to solve en6re problem 2. No global system controller for en6re problem solving 3. Knowledge and input data for the problem is decentralized 4. The reasoning process are asynchronous

33 Agent Agent VS Object AGENT request ac6on to be performed designed to have flexible have own thread of controls Object invoke methods on one another defined as computa6onal systems with encapsulated state have methods associated with state communicate by message passing rarely exhibit control over own behavior

34 Agent

Building Control Algorithm for State Space Search

Building Control Algorithm for State Space Search Building Control Algorithm for State Space Search SCJ3553 Ar9ficial Intelligence Faculty of Computer Science and Informa9on Systems Universi9 Teknologi Malaysia Outline Recursion- based system Produc9on

More information

Object Oriented Design (OOD): The Concept

Object Oriented Design (OOD): The Concept Object Oriented Design (OOD): The Concept Objec,ves To explain how a so8ware design may be represented as a set of interac;ng objects that manage their own state and opera;ons 1 Topics covered Object Oriented

More information

UNIT II A. ENTITY RELATIONSHIP MODEL

UNIT II A. ENTITY RELATIONSHIP MODEL UNIT II A. ENTITY RELATIONSHIP MODEL Agenda En0ty & En0ty Sets A6ributes Rela0onship & Rela0onship Sets Constraints Mapping Cardinali0es, Par0cipa0on Constraints, Keys E-R Diagrams & Design of Database

More information

Predicate Logic and Quan0fies

Predicate Logic and Quan0fies Predicate Logic and Quan0fies Sec0ons 1.4, and 1.5 of Rosen Spring 2017 CSCE 235H Introduc7on to Discrete Structures (Honors) Course web-page: cse.unl.edu/~cse235h All ques7ons: Piazza LaTeX Using the

More information

LING 581: Advanced Computa7onal Linguis7cs. Lecture Notes April 16th

LING 581: Advanced Computa7onal Linguis7cs. Lecture Notes April 16th LING 581: Advanced Computa7onal Linguis7cs Lecture Notes April 16th Administrivia Factoid Ques-on Answering homework did you submit your simula.on? Seman7cs New topic! We want computers to be able to understand

More information

Ontology engineering. Valen.na Tamma. Based on slides by A. Gomez Perez, N. Noy, D. McGuinness, E. Kendal, A. Rector and O. Corcho

Ontology engineering. Valen.na Tamma. Based on slides by A. Gomez Perez, N. Noy, D. McGuinness, E. Kendal, A. Rector and O. Corcho Ontology engineering Valen.na Tamma Based on slides by A. Gomez Perez, N. Noy, D. McGuinness, E. Kendal, A. Rector and O. Corcho Summary Background on ontology; Ontology and ontological commitment; Logic

More information

iuml-b Class Diagrams 1

iuml-b Class Diagrams 1 iuml-b Class Diagrams 1 Mo3va3on Provide a more approachable interface for newcomers to Event-B Provide diagrams to help visualise models Provide extra modelling features to Event-B Sequencing of Events

More information

Document Databases: MongoDB

Document Databases: MongoDB NDBI040: Big Data Management and NoSQL Databases hp://www.ksi.mff.cuni.cz/~svoboda/courses/171-ndbi040/ Lecture 9 Document Databases: MongoDB Marn Svoboda svoboda@ksi.mff.cuni.cz 28. 11. 2017 Charles University

More information

CISC327 - So*ware Quality Assurance

CISC327 - So*ware Quality Assurance CISC327 - So*ware Quality Assurance Lecture 8 Introduc

More information

The Vampire Theorem Prover. Krystof Hoder Andrei Voronkov

The Vampire Theorem Prover. Krystof Hoder Andrei Voronkov The Vampire Theorem Prover Krystof Hoder Andrei Voronkov Automated First- Order Automated we do not rely on user interac@on can be used a black- box by other tools Theorem Proving Automated First- Order

More information

Review. Asser%ons. Some Per%nent Ques%ons. Asser%ons. Page 1. Automated Tes%ng. Path- Based Tes%ng. But s%ll need to look at execu%on results

Review. Asser%ons. Some Per%nent Ques%ons. Asser%ons. Page 1. Automated Tes%ng. Path- Based Tes%ng. But s%ll need to look at execu%on results Review Asser%ons Computer Science 521-621 Fall 2011 Prof. L. J. Osterweil Material adapted from slides originally prepared by Prof. L. A. Clarke Dynamic Tes%ng Execute program on real data and compare

More information

CMPS 20 Game Design Experience

CMPS 20 Game Design Experience CMPS 20 Game Design Experience Winter 2013 Week 4/5: Design Patterns Computational Cinematics Studio // Center for Games and Playable Media http://games.soe.ucsc.edu/ccs // http://games.soe.ucsc.edu Arnav

More information

Approach starts with GEN and KILL sets

Approach starts with GEN and KILL sets b -Advanced-DFA Review of Data Flow Analysis State Propaga+on Computer Science 5-6 Fall Prof. L. J. Osterweil Material adapted from slides originally prepared by Prof. L. A. Clarke A technique for determining

More information

Preliminary ACTL-SLOW Design in the ACS and OPC-UA context. G. Tos? (19/04/2016)

Preliminary ACTL-SLOW Design in the ACS and OPC-UA context. G. Tos? (19/04/2016) Preliminary ACTL-SLOW Design in the ACS and OPC-UA context G. Tos? (19/04/2016) Summary General Introduc?on to ACS Preliminary ACTL-SLOW proposed design Hardware device integra?on in ACS and ACTL- SLOW

More information

A formal design process, part 2

A formal design process, part 2 Principles of So3ware Construc9on: Objects, Design, and Concurrency Designing (sub-) systems A formal design process, part 2 Josh Bloch Charlie Garrod School of Computer Science 1 Administrivia Midterm

More information

Component diagrams. Components Components are model elements that represent independent, interchangeable parts of a system.

Component diagrams. Components Components are model elements that represent independent, interchangeable parts of a system. Component diagrams Components Components are model elements that represent independent, interchangeable parts of a system. Components are more abstract than classes and can be considered to be stand- alone

More information

LISP: LISt Processing

LISP: LISt Processing Introduc)on to Racket, a dialect of LISP: Expressions and Declara)ons LISP: designed by John McCarthy, 1958 published 1960 CS251 Programming Languages Spring 2017, Lyn Turbak Department of Computer Science

More information

Computer Programming-I. Developed by: Strawberry

Computer Programming-I. Developed by: Strawberry Computer Programming-I Objec=ve of CP-I The course will enable the students to understand the basic concepts of structured programming. What is programming? Wri=ng a set of instruc=ons that computer use

More information

COSC 111: Computer Programming I. Dr. Bowen Hui University of Bri>sh Columbia Okanagan

COSC 111: Computer Programming I. Dr. Bowen Hui University of Bri>sh Columbia Okanagan COSC 111: Computer Programming I Dr. Bowen Hui University of Bri>sh Columbia Okanagan 1 First half of course SoEware examples From English to Java Template for building small programs Exposure to Java

More information

Spa$al Analysis and Modeling (GIST 4302/5302) Guofeng Cao Department of Geosciences Texas Tech University

Spa$al Analysis and Modeling (GIST 4302/5302) Guofeng Cao Department of Geosciences Texas Tech University Spa$al Analysis and Modeling (GIST 4302/5302) Guofeng Cao Department of Geosciences Texas Tech University Class Outlines Spatial Point Pattern Regional Data (Areal Data) Continuous Spatial Data (Geostatistical

More information

Key Nego(a(on Protocol & Trust Router

Key Nego(a(on Protocol & Trust Router Key Nego(a(on Protocol & Trust Router dra6- howle:- radsec- knp ABFAB, IETF 80 31 March, Prague. Introduc(on The ABFAB architecture does not require any par(cular AAA strategy for connec(ng RPs to IdPs.

More information

A Compiler and Run- 1me System for Network Programming Languages

A Compiler and Run- 1me System for Network Programming Languages A Compiler and Run- 1me System for Network Programming Languages Christopher Monsanto, Princeton Nate Foster, Cornell Rob Harrison, West Point David Walker, Princeton 1 SoFware- Defined Networks Controller

More information

CS6200 Informa.on Retrieval. David Smith College of Computer and Informa.on Science Northeastern University

CS6200 Informa.on Retrieval. David Smith College of Computer and Informa.on Science Northeastern University CS6200 Informa.on Retrieval David Smith College of Computer and Informa.on Science Northeastern University Course Goals To help you to understand search engines, evaluate and compare them, and

More information

Related Course Objec6ves

Related Course Objec6ves Syntax 9/18/17 1 Related Course Objec6ves Develop grammars and parsers of programming languages 9/18/17 2 Syntax And Seman6cs Programming language syntax: how programs look, their form and structure Syntax

More information

Object-based representation. Objects

Object-based representation. Objects Object-based representation Luger, Part III, 6.0, 6.1, 6.2.2-6.2.4, 6.4 (skim) Objects Two basic forms of Structured Objects Semantic Nets Frames Semantic Nets (Associative Nets) Components Nodes - represent

More information

DDD at 10. Eric Evans #dddesign

DDD at 10. Eric Evans #dddesign DDD at 10 Eric Evans domainlanguage.com @ericevans0 #dddesign Domain- Driven Design (DDD) Focus on the core domain. Explore models in a crea?ve collabora?on of sobware prac??oners and domain prac??oners.

More information

Vulnerability Analysis (III): Sta8c Analysis

Vulnerability Analysis (III): Sta8c Analysis Computer Security Course. Vulnerability Analysis (III): Sta8c Analysis Slide credit: Vijay D Silva 1 Efficiency of Symbolic Execu8on 2 A Sta8c Analysis Analogy 3 Syntac8c Analysis 4 Seman8cs- Based Analysis

More information

CS6200 Informa.on Retrieval. David Smith College of Computer and Informa.on Science Northeastern University

CS6200 Informa.on Retrieval. David Smith College of Computer and Informa.on Science Northeastern University CS6200 Informa.on Retrieval David Smith College of Computer and Informa.on Science Northeastern University Course Goals To help you to understand search engines, evaluate and compare them, and

More information

Classes & Objects CMSC 202

Classes & Objects CMSC 202 Classes & Objects CMSC 202 Programming & Abstrac9on All programming languages provide some form of abstrac'on Also called informa'on hiding Separa9ng how one uses a program and how the program has been

More information

Database Design CENG 351

Database Design CENG 351 Database Design Database Design Process Requirements analysis What data, what applica;ons, what most frequent opera;ons, Conceptual database design High level descrip;on of the data and the constraint

More information

What were his cri+cisms? Classical Methodologies:

What were his cri+cisms? Classical Methodologies: 1 2 Classifica+on In this scheme there are several methodologies, such as Process- oriented, Blended, Object Oriented, Rapid development, People oriented and Organisa+onal oriented. According to David

More information

Midterm Review. CSE 120: Principles of Opera=ng Systems. UC San Diego: Summer Session I, 2009 Frank Uyeda

Midterm Review. CSE 120: Principles of Opera=ng Systems. UC San Diego: Summer Session I, 2009 Frank Uyeda Midterm Review CSE 120: Principles of Opera=ng Systems UC San Diego: Summer Session I, 2009 Frank Uyeda Course Content Role of an Opera=ng System Concurrency and Synchroniza=on What are the challenges

More information

61A LECTURE 12 OOP 2, INHERITANCE. Steven Tang and Eric Tzeng July 14, 2013

61A LECTURE 12 OOP 2, INHERITANCE. Steven Tang and Eric Tzeng July 14, 2013 61A LECTURE 12 OOP 2, INHERITANCE Steven Tang and Eric Tzeng July 14, 2013 Announcements Midterm grades are up Average: 34 First quartile: 26.5 Median: 36.0 Third quartile: 43.0 Hog contest strategy due

More information

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

Semantic Nets, Frames, World Representation. CS W February, 2004 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

More information

Leveraging User Session Data to Support Web Applica8on Tes8ng

Leveraging User Session Data to Support Web Applica8on Tes8ng Leveraging User Session Data to Support Web Applica8on Tes8ng Authors: Sebas8an Elbaum, Gregg Rotheermal, Srikanth Karre, and Marc Fisher II Presented By: Rajiv Jain Outline Introduc8on Related Work Tes8ng

More information

Design Principles & Prac4ces

Design Principles & Prac4ces Design Principles & Prac4ces Robert France Robert B. France 1 Understanding complexity Accidental versus Essen4al complexity Essen%al complexity: Complexity that is inherent in the problem or the solu4on

More information

Principles of So3ware Construc9on. A formal design process, part 2

Principles of So3ware Construc9on. A formal design process, part 2 Principles of So3ware Construc9on Design (sub- )systems A formal design process, part 2 Josh Bloch Charlie Garrod School of Computer Science 1 Administrivia Midterm exam Thursday Review session Wednesday,

More information

Simplified Computa/on and Generaliza/on of the Refined Process Structure Tree

Simplified Computa/on and Generaliza/on of the Refined Process Structure Tree The 7 th Interna/onal Workshop on Web Services and Formal Methods (WS- FM 2010) Simplified Computa/on and Generaliza/on of the Refined Process Structure Tree Artem Polyvyanyy, Jussi Vanhatalo, and Hagen

More information

CS 188: Ar)ficial Intelligence

CS 188: Ar)ficial Intelligence CS 188: Ar)ficial Intelligence Search Instructors: Pieter Abbeel & Anca Dragan University of California, Berkeley [These slides were created by Dan Klein and Pieter Abbeel for CS188 Intro to AI at UC Berkeley

More information

Mo#va#ng the OO Way. COMP 401, Fall 2017 Lecture 05

Mo#va#ng the OO Way. COMP 401, Fall 2017 Lecture 05 Mo#va#ng the OO Way COMP 401, Fall 2017 Lecture 05 Arrays Finishing up from last #me Mul#dimensional Arrays Mul#dimensional array is simply an array of arrays Fill out dimensions lef to right. int[][]

More information

CSE 473: Ar+ficial Intelligence

CSE 473: Ar+ficial Intelligence CSE 473: Ar+ficial Intelligence Search Instructor: Luke Ze=lemoyer University of Washington [These slides were adapted from Dan Klein and Pieter Abbeel for CS188 Intro to AI at UC Berkeley. All CS188 materials

More information

represen/ng the world in 1s and 0s CS 4100/5100 Founda/ons of AI

represen/ng the world in 1s and 0s CS 4100/5100 Founda/ons of AI represen/ng the world in 1s and 0s CS 4100/5100 Founda/ons of AI Announcements Assignment 2 clarifica/ons Final projects: what s next? Feedback Project Proposal Midterm Exam: October 18th ASP CLARIFICATIONS

More information

Principles of Programming Languages

Principles of Programming Languages Principles of Programming Languages h"p://www.di.unipi.it/~andrea/dida2ca/plp- 14/ Prof. Andrea Corradini Department of Computer Science, Pisa Lesson 11! Syntax- Directed Transla>on The Structure of the

More information

more uml: sequence & use case diagrams

more uml: sequence & use case diagrams more uml: sequence & use case diagrams uses of uml as a sketch: very selec)ve informal and dynamic forward engineering: describe some concept you need to implement reverse engineering: explain how some

More information

Knowledge Representation. Dr. Asaad Sabah Hadi

Knowledge Representation. Dr. Asaad Sabah Hadi Knowledge Representation Dr. Asaad Sabah Hadi 1 Knowledge Knowledge is a collection of specialized facts, procedures and judgment rules High Degree of Abstraction Knowledge Information Low Data Quantity

More information

An ontology of resources for Linked Data

An ontology of resources for Linked Data An ontology of resources for Linked Data Harry Halpin and Valen8na Presu: LDOW @ WWW2009 Madrid, April 20th Outline Premises and background Proposal overview Some details of IRW ontology Simple applica8on

More information

Puzzle Solving (single-agent search) Robert Holte Compu.ng Science Department University of Alberta

Puzzle Solving (single-agent search) Robert Holte Compu.ng Science Department University of Alberta Puzzle Solving (single-agent search) Robert Holte Compu.ng Science Department University of Alberta 1 Puzzle = 1-player game Examples: Rubik s Cube Sliding-.le puzzle In this talk puzzles have determinis.c

More information

Sec$on 2: Specifica)on, ADTs, RI WITH MATERIAL FROM MANY

Sec$on 2: Specifica)on, ADTs, RI WITH MATERIAL FROM MANY Sec$on 2: Specifica)on, ADTs, RI WITH MATERIAL FROM MANY Agenda Announcements HW1: due today at 23:59 pm Don t forget to commit/push your changes THIS INCLUDES TAGGING YOUR FINAL VERSION Abstract data

More information

Con$nuous Audi$ng and Risk Management in Cloud Compu$ng

Con$nuous Audi$ng and Risk Management in Cloud Compu$ng Con$nuous Audi$ng and Risk Management in Cloud Compu$ng Marcus Spies Chair of Knowledge Management LMU University of Munich Scien$fic / Technical Director of EU Integrated Research Project MUSING Cloud

More information

Seman&c Policy Enforcement and Reconcilia&on for Informa&on Exchange in XMPP

Seman&c Policy Enforcement and Reconcilia&on for Informa&on Exchange in XMPP Seman&c Policy Enforcement and Reconcilia&on for Informa&on Exchange in XMPP VIStology, Inc. Brian Ulicny, Won Ng, Oleg Simakoff, Jakub Moskal, Mitch Kokar (Northeastern) STIDS 2011 11/17/11 VIStology,

More information

Subclassing, con.nued Method overriding, virtual methods, abstract classes/methods. COMP 401, Spring 2015 Lecture 9 2/19/2015

Subclassing, con.nued Method overriding, virtual methods, abstract classes/methods. COMP 401, Spring 2015 Lecture 9 2/19/2015 Subclassing, con.nued Method overriding, virtual methods, abstract classes/methods COMP 401, Spring 2015 Lecture 9 2/19/2015 Subclassing So Far A subclass inherits implementa.on details from its superclass

More information

22c:181 / 55:181 Formal Methods in So8ware Engineering

22c:181 / 55:181 Formal Methods in So8ware Engineering 22c:181 / 55:181 Formal Methods in So8ware Engineering Introduc>on to Alloy Copyright 2001-13, Matt Dwyer, John Hatcliff, Rod Howell, Laurence Pilard, and Cesare Tinelli. Created by Cesare Tinelli and

More information

Modules and Representa/on Invariants

Modules and Representa/on Invariants Modules and Representa/on Invariants COS 326 David Walker Princeton University slides copyright 2017 David Walker permission granted to reuse these slides for non-commercial educa/onal purposes LAST TIME

More information

CSE Opera,ng System Principles

CSE Opera,ng System Principles CSE 30341 Opera,ng System Principles Lecture 5 Processes / Threads Recap Processes What is a process? What is in a process control bloc? Contrast stac, heap, data, text. What are process states? Which

More information

Knowledge Representation

Knowledge Representation Knowledge Representation References Rich and Knight, Artificial Intelligence, 2nd ed. McGraw-Hill, 1991 Russell and Norvig, Artificial Intelligence: A modern approach, 2nd ed. Prentice Hall, 2003 Outline

More information

Through Python. "Nel mezzo del cammin di nostra vita mi ritrovai per una selva oscura..." Dante Alighieri

Through Python. Nel mezzo del cammin di nostra vita mi ritrovai per una selva oscura... Dante Alighieri Through Python "Nel mezzo del cammin di nostra vita mi ritrovai per una selva oscura..." Dante Alighieri Syllabus Variables vs object Float representa2on The importance of syntax operator overloading built-in

More information

Quan%fiers. nobody has seen a unicorn means roughly (Prolog- style):?- setof(x,(person(x), seen(x,y), unicorn(y)),set),cardinality(set,0).

Quan%fiers. nobody has seen a unicorn means roughly (Prolog- style):?- setof(x,(person(x), seen(x,y), unicorn(y)),set),cardinality(set,0). Quan%fiers Not all noun phrases (NPs) are (by nature) directly referen%al like names Quan%fiers: something to do with indica/ng the quan/ty of something Examples: every child nobody two dogs several animals

More information

Evalua&ng Secure Programming Knowledge

Evalua&ng Secure Programming Knowledge Evalua&ng Secure Programming Knowledge Ma6 Bishop, UC Davis Jun Dai, Cal State Sacramento Melissa Dark, Purdue University Ida Ngambeki, Purdue University Phillip Nico, Cal Poly San Luis Obispo Minghua

More information

Decision Support Systems

Decision Support Systems Decision Support Systems 2011/2012 Week 3. Lecture 6 Previous Class Dimensions & Measures Dimensions: Item Time Loca0on Measures: Quan0ty Sales TransID ItemName ItemID Date Store Qty T0001 Computer I23

More information

Sta$c Single Assignment (SSA) Form

Sta$c Single Assignment (SSA) Form Sta$c Single Assignment (SSA) Form SSA form Sta$c single assignment form Intermediate representa$on of program in which every use of a variable is reached by exactly one defini$on Most programs do not

More information

CompSci Understanding Data: Theory and Applica>ons

CompSci Understanding Data: Theory and Applica>ons CompSci 590.6 Understanding Data: Theory and Applica>ons Lecture 8 Why- Not Queries (Query- based) Instructor: Sudeepa Roy Email: sudeepa@cs.duke.edu 1 Today s Paper(s) Why Not? Chapman- Jagadish SIGMOD

More information

Bits, Bytes, and Integers

Bits, Bytes, and Integers Bits, Bytes, and Integers B&O Readings: 2.1-2.3 CSE 361: Introduc=on to Systems So@ware Instructor: I- Ting Angelina Le e Note: these slides were originally created by Markus Püschel at Carnegie Mellon

More information

CS251 Programming Languages Spring 2016, Lyn Turbak Department of Computer Science Wellesley College

CS251 Programming Languages Spring 2016, Lyn Turbak Department of Computer Science Wellesley College Functions in Racket CS251 Programming Languages Spring 2016, Lyn Turbak Department of Computer Science Wellesley College Racket Func+ons Functions: most important building block in Racket (and 251) Functions/procedures/methods/subroutines

More information

SDTM domains by query - is it possible?

SDTM domains by query - is it possible? SDTM domains by query - is it possible? Johannes Ulander Standardisa8on and Harmonisa8on Specialist S-Cubed Agenda What is data? Introduc8on to linked data and graphs Try some examples Where did my SDTM

More information

Founda'ons of So,ware Engineering. Sta$c analysis (1/2) Claire Le Goues

Founda'ons of So,ware Engineering. Sta$c analysis (1/2) Claire Le Goues Founda'ons of So,ware Engineering Sta$c analysis (1/2) Claire Le Goues 1 Two fundamental concepts Abstrac'on. Elide details of a specific implementa$on. Capture seman$cally relevant details; ignore the

More information

Prepared for COMPANY X

Prepared for COMPANY X Data Business Vision Prepared for Comple(on Rate This report was prepared by Info-Tech Research Group for on 2012-09-20. Previous completion date: 2012-09-20. --------------------------------------------------------------------------------------------------------------------

More information

Rela+onal Algebra. Rela+onal Query Languages. CISC437/637, Lecture #6 Ben Cartere?e

Rela+onal Algebra. Rela+onal Query Languages. CISC437/637, Lecture #6 Ben Cartere?e Rela+onal Algebra CISC437/637, Lecture #6 Ben Cartere?e Copyright Ben Cartere?e 1 Rela+onal Query Languages A query language allows manipula+on and retrieval of data from a database The rela+onal model

More information

Fix- point engine in Z3. Krystof Hoder Nikolaj Bjorner Leonardo de Moura

Fix- point engine in Z3. Krystof Hoder Nikolaj Bjorner Leonardo de Moura μz Fix- point engine in Z3 Krystof Hoder Nikolaj Bjorner Leonardo de Moura Mo?va?on Horn EPR applica?ons (Datalog) Points- to analysis Security analysis Deduc?ve data- bases and knowledge bases (Yago)

More information

Introduc)on to Computer Networks

Introduc)on to Computer Networks Introduc)on to Computer Networks COSC 4377 Lecture 15 Spring 2012 March 19, 2012 Announcements HW7 due this week HW8 due 3/28 Exam 2 on 4/23 HW7 RIP (Rou)ng Informa)on Protocol) Components Forwarding Rou)ng

More information

Introduc)on to Knowledge Graphs and Rich Seman)c Search. Peter Haase, metaphacts Barry Norton, Bri4sh Museum Denny Vrandečić, Google / Wikimedia

Introduc)on to Knowledge Graphs and Rich Seman)c Search. Peter Haase, metaphacts Barry Norton, Bri4sh Museum Denny Vrandečić, Google / Wikimedia Introduc)on to Knowledge Graphs and Rich Seman)c Search Peter Haase, metaphacts Barry Norton, Bri4sh Museum Denny Vrandečić, Google / Wikimedia Speaker Introduc4on A Knowledge Graph Perspec3ve Outline

More information

Embedding System Dynamics in Agent Based Models for Complex Adap;ve Systems

Embedding System Dynamics in Agent Based Models for Complex Adap;ve Systems Embedding System Dynamics in Agent Based Models for Complex Adap;ve Systems Kiyan Ahmadizadeh, Maarika Teose, Carla Gomes, Yrjo Grohn, Steve Ellner, Eoin O Mahony, Becky Smith, Zhao Lu, Becky Mitchell

More information

System Modeling Environment

System Modeling Environment System Modeling Environment Requirements, Architecture and Implementa

More information

The DCGS- A ontology suite Standard opera8ng procedures and ontology quality assurance Annota8on vs. Explica8on How the DCGS- A ontologies are being

The DCGS- A ontology suite Standard opera8ng procedures and ontology quality assurance Annota8on vs. Explica8on How the DCGS- A ontologies are being Ron Rudnicki November 12, 2013 The DCGS- A ontology suite Standard opera8ng procedures and ontology quality assurance Annota8on vs. Explica8on How the DCGS- A ontologies are being used for the explica8on

More information

Condi(onals and Loops

Condi(onals and Loops Condi(onals and Loops 1 Review Primi(ve Data Types & Variables int, long float, double boolean char String Mathema(cal operators: + - * / % Comparison: < > = == 2 A Founda(on for Programming any program

More information

SIS Logic Synthesis System

SIS Logic Synthesis System SIS Logic Synthesis System Luigi Di Guglielmo Davide Bresolin Tiziano Villa University of Verona Dep. Computer Science Italy Introduc>on Logic Synthesis performs the transla>on from a high level descrip>on

More information

CS261 Data Structures. Ordered Bag Dynamic Array Implementa;on

CS261 Data Structures. Ordered Bag Dynamic Array Implementa;on CS261 Data Structures Ordered Bag Dynamic Array Implementa;on Goals Understand the downside of unordered containers Binary Search Ordered Bag ADT Downside of unordered collec;ons What is the complexity

More information

CS 267: Automated Verification. Lecture 18, Part 2: Data Model Analysis for Web Applications. Instructor: Tevfik Bultan

CS 267: Automated Verification. Lecture 18, Part 2: Data Model Analysis for Web Applications. Instructor: Tevfik Bultan CS 267: Automated Verification Lecture 18, Part 2: Data Model Analysis for Web Applications Instructor: Tevfik Bultan Web Application Depability 2 Web Application Depability 3 Web Application Depability

More information

Knowledge representation Semantic networks and frames

Knowledge representation Semantic networks and frames Knowledge representation Semantic networks and frames CmSc310 Artificial Intelligence 1. Introduction: What is knowledge? The science that studies various issues about knowledge is called epistemology.

More information

Modeling and Rendering

Modeling and Rendering Modeling and Rendering Prelude: The Poin2ng Problem 2D screen and mouse input, 3D world Keyboard Object snaps Construc2on planes Explicit planes (including primary axes) Implicit planes (exis2ng geometry

More information

L6: System design: behavior models

L6: System design: behavior models L6: System design: behavior models Limita6ons of func6onal decomposi6on Behavior models State diagrams Flow charts Data flow diagrams En6ty rela6onship diagrams Unified Modeling Language Capstone design

More information

RDD and Strategy Pa.ern

RDD and Strategy Pa.ern RDD and Strategy Pa.ern CSCI 3132 Summer 2011 1 OO So1ware Design The tradi7onal view of objects is that they are data with methods. Smart Data. But, it is be.er to think of them as en##es that have responsibili#es.

More information

Informa/on Retrieval. Text Search. CISC437/637, Lecture #23 Ben CartereAe. Consider a database consis/ng of long textual informa/on fields

Informa/on Retrieval. Text Search. CISC437/637, Lecture #23 Ben CartereAe. Consider a database consis/ng of long textual informa/on fields Informa/on Retrieval CISC437/637, Lecture #23 Ben CartereAe Copyright Ben CartereAe 1 Text Search Consider a database consis/ng of long textual informa/on fields News ar/cles, patents, web pages, books,

More information

Decision Support Systems

Decision Support Systems Decision Support Systems 2011/2012 Week 3. Lecture 5 Previous Class: Data Pre- Processing Data quality: accuracy, completeness, consistency, 4meliness, believability, interpretability Data cleaning: handling

More information

Compila(on /15a Lecture 6. Seman(c Analysis Noam Rinetzky

Compila(on /15a Lecture 6. Seman(c Analysis Noam Rinetzky Compila(on 0368-3133 2014/15a Lecture 6 Seman(c Analysis Noam Rinetzky 1 You are here Source text txt Process text input characters Lexical Analysis tokens Annotated AST Syntax Analysis AST Seman(c Analysis

More information

USABILITY OF NOTATIONS

USABILITY OF NOTATIONS Human Computer Interac0on Lecture 6: Programming languages USABILITY OF NOTATIONS 1 Cogni0ve Dimensions of Nota0ons Discussion tools for use when considering alterna0ve designs of programming languages,

More information

HPCSoC Modeling and Simulation Implications

HPCSoC Modeling and Simulation Implications Department Name (View Master > Edit Slide 1) HPCSoC Modeling and Simulation Implications (Sharing three concerns from an academic research user perspective using free, open tools. Solutions left to the

More information

NAMES, SCOPES AND BINDING A REVIEW OF THE CONCEPTS

NAMES, SCOPES AND BINDING A REVIEW OF THE CONCEPTS NAMES, SCOPES AND BINDING A REVIEW OF THE CONCEPTS Name Binding and Binding Time Name binding is the associa1on of objects (data and/or code) with names (iden1fiers) Shape S = new Shape(); The binding

More information

Transac.on Management. Transac.ons. CISC437/637, Lecture #16 Ben Cartere?e

Transac.on Management. Transac.ons. CISC437/637, Lecture #16 Ben Cartere?e Transac.on Management CISC437/637, Lecture #16 Ben Cartere?e Copyright Ben Cartere?e 1 Transac.ons A transac'on is a unit of program execu.on that accesses and possibly updates rela.ons The DBMS s view

More information

RDF Schema. Philippe Genoud, UFR IM2AG, UGA Manuel Atencia Arcas, UFR SHS, UGA

RDF Schema. Philippe Genoud, UFR IM2AG, UGA Manuel Atencia Arcas, UFR SHS, UGA RDF Schema Philippe Genoud, UFR IM2AG, UGA Manuel Atencia Arcas, UFR SHS, UGA 1 RDF Schema (RDF-S) Introduc)on Classes in RDF- S Proper@es in RDF- S Interpreta@on of RDF- S statements Descrip@on of classes

More information

Opera&ng Systems ECE344

Opera&ng Systems ECE344 Opera&ng Systems ECE344 Lecture 10: Scheduling Ding Yuan Scheduling Overview In discussing process management and synchroniza&on, we talked about context switching among processes/threads on the ready

More information

10/7/15. MediaItem tostring Method. Objec,ves. Using booleans in if statements. Review. Javadoc Guidelines

10/7/15. MediaItem tostring Method. Objec,ves. Using booleans in if statements. Review. Javadoc Guidelines Objec,ves Excep,ons Ø Wrap up Files Streams MediaItem tostring Method public String tostring() { String classname = getclass().tostring(); StringBuilder rep = new StringBuilder(classname); return rep.tostring();

More information

Interna'onal Community for Open and Interoperable AR content and experiences

Interna'onal Community for Open and Interoperable AR content and experiences where professionals get the latest information about standards for AR Interna'onal Community for Open and Interoperable AR content and experiences Summary Report of Fourth Mee'ng Oct 24-25 2011 At- a-

More information

Enterprise Architecture CS 4720 Web & Mobile Systems

Enterprise Architecture CS 4720 Web & Mobile Systems Enterprise Architecture Web & Mobile Systems The Concept of a Web Service Each service is built around a func=on/feature That func=on is surrounded by a specified set of protocols (SOAP, POX, WSDL, WSD,

More information

Principles of Programming Languages

Principles of Programming Languages Principles of Programming Languages h"p://www.di.unipi.it/~andrea/dida2ca/plp- 14/ Prof. Andrea Corradini Department of Computer Science, Pisa Lesson 10! Con:nua:on of the course Syntax- Directed Transla:on

More information

Model Transforma.on. Krzysztof Czarnecki Genera.ve So:ware Development Lab University of Waterloo, Canada gsd.uwaterloo.ca

Model Transforma.on. Krzysztof Czarnecki Genera.ve So:ware Development Lab University of Waterloo, Canada gsd.uwaterloo.ca Model Transforma.on Krzysztof Czarnecki Genera.ve So:ware Development Lab University of Waterloo, Canada gsd.uwaterloo.ca Modeling Wizards Summer School, Oct. 1, 2010, Oslo, Norway What is model transforma.on?

More information

Java. Package, Interface & Excep2on

Java. Package, Interface & Excep2on Java Package, Interface & Excep2on Package 2 Package Java package provides a mechanism for par55oning the class name space into more manageable chunks Both naming and visibility control mechanism Define

More information

ASSOCIATIVE NETS AND FRAME SYSTEMS

ASSOCIATIVE NETS AND FRAME SYSTEMS ASSOCIATIVE NETS AND FRAME SYSTEMS Network Representations If L is a set of labeled links and N is a set of nodes, then a network is any subset of N L N, where the order of the triples is material. Lecture

More information

CHAMPION: Intelligent Hierarchical Reasoning Agents for Enhanced Decision Support

CHAMPION: Intelligent Hierarchical Reasoning Agents for Enhanced Decision Support CHAMPION: Intelligent Hierarchical Reasoning Agents for Enhanced Decision Support November 16, 2011 RYAN HOHIMER, FRANK GREITZER, CHRISTINE NOONAN, JANA STRASBURG Pacific Northwest National Laboratory

More information

Spa$al Analysis and Modeling (GIST 4302/5302) Guofeng Cao Department of Geosciences Texas Tech University

Spa$al Analysis and Modeling (GIST 4302/5302) Guofeng Cao Department of Geosciences Texas Tech University Spa$al Analysis and Modeling (GIST 432/532) Guofeng Cao Department of Geosciences Texas Tech University Representa$on of Spa$al Data Representa$on of Spa$al Data Models Object- based model: treats the

More information