The Semantic Web Week 18: Web Agents that can reason … Module Website: Practical this week:

Slides:



Advertisements
Similar presentations
Web Service Modelling Ontology (WSMO)
Advertisements

Knowledge Engineering for Planning Domain Design Ron Simpson University of Huddersfield.
REVIEW : Planning To make your thinking more concrete, use a real problem to ground your discussion. –Develop a plan for a person who is getting out of.
Language for planning problems
CSE391 – 2005 NLP 1 Planning The Planning problem Planning with State-space search.
1 Logic Programming School of Informatics, University of Edinburgh Logic Programming in 50 Minutes The purpose of this lecture is to explain why logic.
Planning Module THREE: Planning, Production Systems,Expert Systems, Uncertainty Dr M M Awais.
Planning Module THREE: Planning, Production Systems,Expert Systems, Uncertainty Dr M M Awais.
Lecture 3Dr. Verma1 COSC 6397 – Information Assurance Module M2 – Protocol Specification and Verification University of Houston Rakesh Verma Lecture 3.
Title: Intelligent Agents A uthor: Michael Woolridge Chapter 1 of Multiagent Systems by Weiss Speakers: Tibor Moldovan and Shabbir Syed CSCE976, April.
CPSC 422, Lecture 21Slide 1 Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 21 Mar, 4, 2015 Slide credit: some slides adapted from Stuart.
The Semantic Web Week 20: Agents that can plan and learn.. Module Website: Practical this week:
SELBO Agent Ivan Minov University of Plovdiv “Paisii Hilendarski“
Pankaj Kumar Qinglan Zhang Sagar Davasam Sowjanya Puligadda Wei Liu
SDP Languages and Environments. Types of Languages and Environments There are 4 main types of language that you must be able to describe at Higher level.
2 We need programming languages to communicate with a computer. The two broad classifications of programming languages are: Low-level and High- level.
Andrew Courter Texas Tech University CS5331.  PKS Why PKS? STRIPS The Databases Inference Algorithm Extended Features  PKS Examples  Conclusion and.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Artificial Intelligence 2005/06
Ontologies and the Semantic Web by Ian Horrocks presented by Thomas Packer 1.
Artificial Intelligence Chapter 11: Planning
CPSC 322, Lecture 20Slide 1 Propositional Definite Clause Logic: Syntax, Semantics and Bottom-up Proofs Computer Science cpsc322, Lecture 20 (Textbook.
Agent Mediated Grid Services in e-Learning Chun Yan, Miao School of Computer Engineering Nanyang Technological University (NTU) Singapore April,
The Semantic Web Week 13 Module Website: Lecture: Knowledge Acquisition / Engineering Practical: Getting to know.
AI – Week 5 An Introduction to AI Planning Lee McCluskey, room 2/07
Week 4: Introduction to AI Planning Lee McCluskey, room 2/07
Academic Advisor: Prof. Ronen Brafman Team Members: Ran Isenberg Mirit Markovich Noa Aharon Alon Furman.
The Semantic Web Week 18: Part 4 Introduction to Web Services and Intelligent Web Agents Module Website: Practical.
Formal Aspects of Computer Science – Week 12 RECAP Lee McCluskey, room 2/07
Eiffel Language and Design by Contract Contract –An agreement between the client and the supplier Characteristics –Expects some benefits and is prepared.
Automated Planning and HTNs Planning – A brief intro Planning – A brief intro Classical Planning – The STRIPS Language Classical Planning – The STRIPS.
1 Planning Chapters 11 and 12 Thanks: Professor Dan Weld, University of Washington.
FRANCISCO J. GALAN AND AHMED RIVERAS UNIVERSITY OF SEVILLE SEMANTIC WEB SERVICES IN A TRANSACTIONAL CONTEXT PROLE 2013 (MADRID)
Intelligent Tutoring Systems Traditional CAI Fully specified presentation text Canned questions and associated answers Lack the ability to adapt to students.
Microsoft ® Official Course Monitoring and Troubleshooting Custom SharePoint Solutions SharePoint Practice Microsoft SharePoint 2013.
Automatic Software Testing Tool for Computer Networks ARD Presentation Adi Shachar Yaniv Cohen Dudi Patimer
Microsoft ® Official Course Module 12 Monitoring, Managing, and Recovering AD DS.
Some Thoughts to Consider 6 What is the difference between Artificial Intelligence and Computer Science? What is the difference between Artificial Intelligence.
INTRODUCTION TO ARTIFICIAL INTELLIGENCE Massimo Poesio Intelligent agents.
Managing Large RDF Graphs (Infinite Graph) Vaibhav Khadilkar Department of Computer Science, The University of Texas at Dallas FEARLESS engineering.
Špindlerův Mlýn, Czech Republic, SOFSEM Semantically-aided Data-aware Service Workflow Composition Ondrej Habala, Marek Paralič,
Module 3: Business Information Systems Chapter 11: Knowledge Management.
Interactive Biochemistry JavaLab.chem.virginia.edu Charles M. Grisham University of Virginia.
2APL A Practical Agent Programming Language March 6, 2007 Cathy Yen.
1 Intelligent Systems ISCRAM 2013 Validating Procedural Knowledge in the Open Virtual Collaboration Environment Gerhard Wickler AIAI, University.
Agent Model for Interaction with Semantic Web Services Ivo Mihailovic.
Artificial Intelligence: Planning Lecture 6 Problems with state space search Planning Operators A Simple Planning Algorithm (Game Playing)
CHA2555 Week2: Knowledge Representation, Logic and Planning Lee McCluskey First term:
Knowledge Representation Use of logic. Artificial agents need Knowledge and reasoning power Can combine GK with current percepts Build up KB incrementally.
Using WSMX to Bind Requester & Provider at Runtime when Executing Semantic Web Services Matthew Moran, Michal Zaremba, Adrian Mocan, Christoph Bussler.
F28PL1 Programming Languages Lecture 16: Prolog 1.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
ARTIFICIAL INTELLIGENCE DR. ABRAHAM AI a field of computer science that is concerned with mechanizing things people do that require intelligent.
 Dr. Syed Noman Hasany 1.  Review of known methodologies  Analysis of software requirements  Real-time software  Software cost, quality, testing.
Artificial Intelligence: The Cyber Art of Being Alive Jerry B. Weinberg Associate Professor Department of Computer Science.
1 Knowledge Based Systems (CM0377) Lecture 3 (Last modified 5th February 2001)
Implementing Agent Systems Roughly speaking, there are three platforms: 1.Those that focus on internal agent reasoning and support plans, goals, etc. 2.Those.
CPSC 422, Lecture 21Slide 1 Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 21 Oct, 30, 2015 Slide credit: some slides adapted from Stuart.
1/16 Planning Chapter 11- Part1 Author: Vali Derhami.
Artificial Intelligence Lecture No. 6 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
(Classical) AI Planning. General-Purpose Planning: State & Goals Initial state: (on A Table) (on C A) (on B Table) (clear B) (clear C) Goals: (on C Table)
Introduction to Artificial Intelligence CS 438 Spring 2008 Today –AIMA, Ch. 3 –Problem Solving Agents State space search –Programming Assignment Thursday.
Robust Planning using Constraint Satisfaction Techniques Daniel Buettner and Berthe Y. Choueiry Constraint Systems Laboratory Department of Computer Science.
Planning I: Total Order Planners Sections
1 TP #2: How does Prolog answer questions? n Miscellaneous info; n Last TP exercises solved; n How does Prolog answer questions? n Recursive Prolog programs;
AI – Week 3 An Introduction to AI Planning Lee McCluskey, room 3/10
Heuristic Search Planners. 2 USC INFORMATION SCIENCES INSTITUTE Planning as heuristic search Use standard search techniques, e.g. A*, best-first, hill-climbing.
Artificial Intelligence Knowledge Representation.
Chapter 13 Artificial Intelligence. Artificial Intelligence – Figure 13.1 The Turing Test.
Presentation transcript:

The Semantic Web Week 18: Web Agents that can reason … Module Website: Practical this week:

Intelligent Agents - Overview Two points from last week: Basic Intelligent (Web) Agents are Programs capable of flexible, autonomous behaviour in dynamic, unpredictable environments SO they should be able to generate plans to solve goals and execute plans WEB SERVICES.. can be considered as “actions” as they have “preconditions” and “effects”

Semantic Web Services - Requirements Recap…. A SWS contains a computer-interpretable declarative description of the Service n Agents need to be able to discover the relevant web services that may satisfy their goals – with published costs/resources required to use the service n Agents need to be able to understand the Service protocol so that they can execute the service Agents need to be able to reason with the published capabilities of a service so that they can compose we services

Example - Mobile Virtual Agent Virtual Bank Service Booking Service MV Agent Action Book-theatre(T) Pre: seat-price(T,X)&resource(Y)&Y > X & atbooking-service(T) & Effects: ¬resoiurce(Y)&resource(Y-X)&have_ticket(T)

Example An intelligent agent has been given the goal of buying a ticket for a production p at Theatre t - formulated as "have_ticket(t,p)". The agent needs to have (i) a knowledge of its current situation and its environment. We can model this as facts about objects (ii) a knowledge of actions (executing web services) that it can take (iii) a knowledge of any events / actions that can result from other agents in the world

Action Knowledge This is CENTRAL to planning. Most simply, actions are modelled as PRE and POST conditions in the form of n PRECONDITIONS n EFFECTS u ADD SET u DELETE SET

Action Knowledge EXAMPLE Action: Book-theatre-seat(T,P) Precondition: seat-price(T,X)&haveresource(Y)&Y >= X & atbooking-service(T) & freeseat(T,P) Effects: ¬resource(Y)&haveresource(Y-X)&have_ticket(T,P) Action: GetMoney(B,Z) Precondition: have_password(B,P)& balance(B,A) & haveresource(Y) & A >= Z Effects: balance(B,A-Z) & haveresource(Y+Z) & ¬ balance(B,A) & ¬ haveresource(Y) Action: LoginBookings(T) Precondition: ¬ atbooking-service(T) & haveresource(Y)&Y >= 0 Effects: atbooking-service(T)

State Knowledge Agents need a knowledge of its current situation and its environment Initial state. A STATE represents a situation or snapshot of an application. This is sometimes called a WORLD STATE. STATES of a planning world are most simply defined as conjunctions of ground predicates (like a relational database for each state). Example: assume the agent knows that the following are true: seat-price(t,35)& haveresource(10) & have_password(ebank,$%)& balance(ebank,100) The agent’s goal is to achieve a state which contains the fact.. have_ticket(t,p)

Generative Planning The problem of reasoning with action specifications in order to generate plans containing those actions - involves SEARCH algorithms - is EXPONENTIAL in the size of the solution The area of computer science devoted to this problem is called “generative planning” and is a branch of artificial intelligence. EXAMPLE: GetMoney(ebank,15), LoginBookings(t), Book-theatre(t,p)

Exercises 1. Load the program in week 19 into a Prolog interpreter and execute is as follows: % sicstus |- [plan2]. …. Yes |- task1. …. |- task2. 2. Change the parameters in the web service descriptions around and re-run the tasks. Check the solutions have changed as expected. What happens if the agent runs out of money? 3. Use an editor an look at the “trace” file in your directory. Each of the ‘nodes’ represents a searched state. Can you see from the trace how the search takes place? 4. Change the web service knowledge so that the agent must logon to the bank before extracting money. 5. Try to make the web service knowledge more sophisticated by adding more services.