Rule Responder Agents for Distributed Query Answering Harold Boley Benjamin Craig Taylor Osmun Institute for Information Technology National Research Council,

Slides:



Advertisements
Similar presentations
0 McLean, VA August 8, 2006 SOA, Semantics and Security.
Advertisements

Web Service Architecture
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
Sujit R Nair November 30,2009. Introduction Need / Requirement. Characteristics of current rule markup Languages. A sample Scenario of Rule Interchange.
OBJECT ORIENTED PROGRAMMING M Taimoor Khan
Building and Analyzing Social Networks Web Data and Semantics in Social Network Applications Dr. Bhavani Thuraisingham February 15, 2013.
Web Service Standards Relevant to SOA
Transparent Robustness in Service Aggregates Onyeka Ezenwoye School of Computing and Information Sciences Florida International University May 2006.
1 Introduction to XML. XML eXtensible implies that users define tag content Markup implies it is a coded document Language implies it is a metalanguage.
Deploying a Distributed Symposium Planner Through Rule Responder Harold Boley Benjamin Craig Institute for Information Technology National Research Council,
SOA with Progress Philipp Walther Consultant. © 2007 Progress Software Corporation2 Agenda  SOA  Enterprise Service Bus (ESB)  The Progress SOA Portfolio.
Latest techniques and Applications in Interprocess Communication and Coordination Xiaoou Zhang.
Multiagent Systems and Societies of Agents
The WSMO / L / X Approach Michael Stollberg DERI – Digital Enterprise Research Institute Alternative Frameworks for Semantics in Web Services: Possibilities.
© 2006 IBM Corporation SOA on your terms and our expertise Discovering the Value of SOA SOA In Action SOA & End-2-End Business Driven Development using.
1 Joint work with Antonio Bucchiarone (Fondazione Bruno Kessler - IRST, Trento) and Fabrizio Montesi (University of Bologna/INRIA, Bologna) A Framework.
WellnessRules: The Activity Rule Responder Taylor Osmun Harold Boley Benjamin Craig Institute for Information Technology National Research Council, Canada.
Data Integration in Service Oriented Architectures Rahul Patel Sr. Director R & D, BEA Systems Liquid Data – XML-based data access and integration for.
SOA, BPM, BPEL, jBPM.
THE NEXT STEP IN WEB SERVICES By Francisco Curbera,… Memtimin MAHMUT 2012.
FIORANO SERVICE BUS The Cloud Enablement Platform
Harold Boley, Adrian Paschke, and Tara Athan (RuleML Initiative)RuleML Initiative The 6th International Symposium on Rules: Research Based and Industry.
Evaluating Centralized, Hierarchical, and Networked Architectures for Rule Systems Benjamin Craig University of New Brunswick Faculty of Computer Science.
PEOPLE FRIEND ADVISOR BASED ON INTERESTS AND DAILY ROUTINES 1 By: Mehdi Rohaninezhad National University of Malaysia(UKM) Feb 10, 2012.
BiodiversityWorld GRID Workshop NeSC, Edinburgh – 30 June and 1 July 2005 Metadata Agents and Semantic Mediation Mikhaila Burgess Cardiff University.
SymposiumPlanner-2011: Querying Two Virtual Organization Committees Zhili Zhao, Adrian Paschke, Chaudhry Usman Ali, and Harold Boley Corporate Semantic.
Principles of the SymposiumPlanner Instantiations of Rule Responder Zhili Zhao, Adrian Paschke, Chaudhry Usman Ali, and Harold Boley Corporate Semantic.
Web Services (Part 1) Service-Oriented Architecture Overview ITEC 625 Web Development Fall 2006 Reference: Web Services and Service-Oriented Architectures.
1 Expert Finding for eCollaboration Using FOAF with RuleML Rules MCeTECH May 2006 Jie Li 1,2, Harold Boley 1,2, Virendrakumar C. Bhavsar 1, Jing.
Chapter Intranet Agents. Chapter Background Intranet: an internal corporate network based on Internet technology. Typically, an intranet can.
The 7th International Web Rule Symposium: Research Based and Industry Focused (RuleML 2013) July 11-13, 2013, Seattle, USA.
Expert Querying and Redirection with Rule Responder FEWS-2007, 12 Nov 2007 Harold Boley 1, Adrian Paschke 2 1 National Research Council of Canada University.
Outline  Enterprise System Integration: Key for Business Success  Key Challenges to Enterprise System Integration  Service-Oriented Architecture (SOA)
Web Services (SOAP, WSDL, and UDDI)
Social Semantic Rule Sharing and Querying in Wellness Communities Harold Boley, Taylor Osmun, Benjamin Craig Institute for Information Technology, National.
Dr. Bhavani Thuraisingham October 2006 Trustworthy Semantic Webs Lecture #16: Web Services and Security.
OBJECT ORIENTED SYSTEM ANALYSIS AND DESIGN. COURSE OUTLINE The world of the Information Systems Analyst Approaches to System Development The Analyst as.
Interfacing Registry Systems December 2000.
Task Achieving Agents on the World Wide Web An Introduction Sharif Univ. of Tech. Computer Eng. Dep. Semantic Web Course Mohsen Lesani 13 Ord 1374.
Distributed Rule Responder Querying on the Semantic Web Harold Boley Institute for Information Technology National Research Council, Canada Fredericton,
Web Services Based on SOA: Concepts, Technology, Design by Thomas Erl MIS 181.9: Service Oriented Architecture 2 nd Semester,
XML Web Services Architecture Siddharth Ruchandani CS 6362 – SW Architecture & Design Summer /11/05.
Social Semantic Rule Sharing and Querying in Wellness Communities Harold Boley, Taylor Osmun, Benjamin Craig Institute for Information Technology, National.
1 Advanced Software Architecture Muhammad Bilal Bashir PhD Scholar (Computer Science) Mohammad Ali Jinnah University.
Harold Boley 1, Omair Shafiq 2, Derek Smith 3, Taylor Osmun 3 1 Institute for Information Technology, National Research Council Canada, Fredericton, NB,
Rule Responder Agents in Virtual Organizations Harold Boley Benjamin Craig Institute for Information Technology National Research Council, Canada Fredericton,
SEMANTIC AGENT SYSTEMS Towards a Reference Architecture for Semantic Agent Systems Applied to Symposium Planning Usman Ali.
Wellness-Rules: A Web 3.0 Case Study in RuleML-Based Prolog-N3 Profile Interoperation Harold Boley Taylor Osmun Benjamin Craig Institute for Information.
Advanced Topics in the Semantic Web: Semantic Services for Business Process Management - Overview - Harold Boley Semantic Web Laboratory NRC-IIT and UNB-CS.
Kemal Baykal Rasim Ismayilov
1 Registry Services Overview J. Steven Hughes (Deputy Chair) Principal Computer Scientist NASA/JPL 17 December 2015.
WSDL – Web Service Definition Language  WSDL is used to describe, locate and define Web services.  A web service is described by: message format simple.
CS562 Advanced Java and Internet Application Introduction to the Computer Warehouse Web Application. Java Server Pages (JSP) Technology. By Team Alpha.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
Rule Responder: A Multi-Agent Web Platform for Collaborative Virtual Organizations Based on RuleML and OO jDREW Benjamin Craig University Of New Brunswick.
Rule Responder: An Intelligent Multi-Agent System for Collaborative Teams and Virtual Communities Benjamin Craig Harold Boley Institute for Information.
Dr. Bhavani Thuraisingham September 18, 2006 Building Trustworthy Semantic Webs Lecture #9: Logic and Inference Rules.
SEMANTIC AGENT SYSTEMS Towards a Reference Architecture for Semantic Agent Systems Applied to Symposium Planning Usman Ali UNB FCS,Fredericton, NB 1.
Deploying a Distributed Symposium Planner Through Rule Responder Benjamin Craig Harold Boley Institute for Information Technology National Research Council,
Intro to Web Services Dr. John P. Abraham UTPA. What are Web Services? Applications execute across multiple computers on a network.  The machine on which.
RuleML Query Answering with Personal OO jDREW Agents in Rule Responder Benjamin Craig Harold Boley Fredericton, NB National Research Council - IIT May.
Taylor Osmun Institute for Information Technology National Research Council, Canada Fredericton, NB, Canada 1.
XML and Distributed Applications By Quddus Chong Presentation for CS551 – Fall 2001.
A service Oriented Architecture & Web Service Technology.
Social Semantic Rule Sharing and Querying in Wellness Communities Harold Boley, Taylor Osmun, Benjamin Craig, Derek Smith Institute for Information Technology,
Business Process Execution Language (BPEL) Pınar Tekin.
A Semi-Automated Digital Preservation System based on Semantic Web Services Jane Hunter Sharmin Choudhury DSTC PTY LTD, Brisbane, Australia Slides by Ananta.
Orlando Florida RuleML 2007 Thursday, October 25, 2007
Toward an Ontology-Driven Architectural Framework for B2B E. Kajan, L
Presentation transcript:

Rule Responder Agents for Distributed Query Answering Harold Boley Benjamin Craig Taylor Osmun Institute for Information Technology National Research Council, Canada Fredericton, NB, Canada Database Seminar School of Computer Science at Carleton University Ottawa, ON, Canada November 19, 2009 (Updated: December 8, 2009)

1Outline Rule Responder Overview Rule Responder Overview Agents Agents Personal / Organizational / External Personal / Organizational / External Infrastructure Infrastructure Reaction RuleML Messages Reaction RuleML Messages Message Performatives Message Performatives Agent Communication Protocols Agent Communication Protocols Mule ESB (Communication Middleware) Mule ESB (Communication Middleware) Rule Engines (for Realizing Agents) Rule Engines (for Realizing Agents) Prova Prova OO jDREW OO jDREW Symposium Planner Use Case Symposium Planner Use Case Query Delegation/Answering Query Delegation/Answering Shared Knowledge between Pas Shared Knowledge between Pas Ontology Description Ontology Description Future Work and Conclusion Future Work and Conclusion

2 Overview of Rule Responder (I) Rule Responder is an experimental multi-agent system for collaborative teams and virtual communities on the Web Rule Responder is an experimental multi-agent system for collaborative teams and virtual communities on the Web Supports rule-based collaboration between the distributed members of such virtual organizations Supports rule-based collaboration between the distributed members of such virtual organizations Members of each virtual organization are assisted by semi-automated rule-based agents, which use rules to describe the decision and behavioral logic Members of each virtual organization are assisted by semi-automated rule-based agents, which use rules to describe the decision and behavioral logic

3 Overview of Rule Responder (II) Uses languages and engines of the RuleML family for rule serialization, based on logic and XML: Uses languages and engines of the RuleML family for rule serialization, based on logic and XML: Hornlog RuleML: Reasoning ( decision ) Hornlog RuleML: Reasoning ( decision ) Reaction RuleML: Interaction ( behavior ) Reaction RuleML: Interaction ( behavior ) Implemented on top of a Mule-based Service Oriented Architecture (SOA) as an Enterprise Service Bus (ESB) Implemented on top of a Mule-based Service Oriented Architecture (SOA) as an Enterprise Service Bus (ESB)

4 Personal Agents A personal agent assists a person  sometimes several  of an organization, (semi-autonomously) acting on their behalf A personal agent assists a person  sometimes several  of an organization, (semi-autonomously) acting on their behalf It contains a FOAF*-like fact profile plus FOAF-extending rules to encode ‘routine’ knowledge of its human owner It contains a FOAF*-like fact profile plus FOAF-extending rules to encode ‘routine’ knowledge of its human owner * The Friend of a Friend (FOAF) project:

5 Organizational Agents An organizational agent represents goals and strategies shared by each member of the organization An organizational agent represents goals and strategies shared by each member of the organization It contains rule* sets that describe the policies, regulations, opportunities, etc. of its organization It contains rule* sets that describe the policies, regulations, opportunities, etc. of its organization * To be brief, the term ‘rule’ encompasses ‘fact’ (which is a rule without premise)

6 External Agents External agents exchange messages with (the public interface of) organizational agents, sending queries (requests), receiving answers (results), or interchanging complete rule sets External agents exchange messages with (the public interface of) organizational agents, sending queries (requests), receiving answers (results), or interchanging complete rule sets End users, as external agents, employ a Web (HTTP) interface of Rule Responder (currently an API-like browser interface) End users, as external agents, employ a Web (HTTP) interface of Rule Responder (currently an API-like browser interface) Support for simultaneous external agents: - Currently, end users (B2C) - Ultimately, other organizations (B2B) Support for simultaneous external agents: - Currently, end users (B2C) - Ultimately, other organizations (B2B)

7 Rule Responder as a Multi-Agent Infrastructure Realizes Virtual Organizations in which a central OA mediates between EAs and PAs Realizes Virtual Organizations in which a central OA mediates between EAs and PAs Built on top of the Mule ESB Built on top of the Mule ESB Each OA is realized with an instance of a Rule Engine Each OA is realized with an instance of a Rule Engine Each PA is realized with a Servlet using a Rule Engine  sometimes several Each PA is realized with a Servlet using a Rule Engine  sometimes several Combines ideas of multi-agent systems, distributed rule management systems, as well as service-oriented and event-driven architectures Combines ideas of multi-agent systems, distributed rule management systems, as well as service-oriented and event-driven architectures

8 Two Simple Rule Responder Virtual Organizations on ESB Infrastructure

9 Translation Between PAs' Native Languages and OA's Interchange Language Each rule engine can use its own rule language Each rule engine can use its own rule language Agents require an interchange language so they can communicate with each other Agents require an interchange language so they can communicate with each other Rule Responder uses RuleML as its interchange language Rule Responder uses RuleML as its interchange language Translations between the interchange language and the PA languages are done by the PAs Translations between the interchange language and the PA languages are done by the PAs

10 Reaction RuleML Reaction RuleML is a branch of the RuleML family that supports actions and events Reaction RuleML is a branch of the RuleML family that supports actions and events When two agents want to communicate, each others’ Reaction RuleML messages are sent through the ESB When two agents want to communicate, each others’ Reaction RuleML messages are sent through the ESB The ESB carries RuleML queries (requests), answers (results), and rule bases to/from agents The ESB carries RuleML queries (requests), answers (results), and rule bases to/from agents

11 Example Reaction RuleML Message <RuleML xmlns=" <RuleML xmlns=" xmlns:xsi=" xmlns:xsi=" xsi:schemaLocation=" xsi:schemaLocation=" xmlns:ruleml2007=" xmlns:ruleml2007=" RuleML-2009 RuleML-2009 esb esb User User getContact getContact ruleml2009_PanelChair ruleml2009_PanelChair update update Contact Contact

12 Message Performatives The attribute directive="..." specifies the pragmatic performative The attribute directive="..." specifies the pragmatic performative Message exchange/interaction protocols Message exchange/interaction protocols Rule Responder Performatives Rule Responder Performatives In tradition of KQML and FIPA-ACL In tradition of KQML and FIPA-ACL Currently implemented: Query and Answer Currently implemented: Query and Answer Retract and Update requests planned in collaboration with RIF-PRD Retract and Update requests planned in collaboration with RIF-PRD

13 Agent Communication Protocols WSDL-like communication protocols In-Only In-Only Message is sent from agent 1 to agent 2 ; then agent 2 executes performative Message is sent from agent 1 to agent 2 ; then agent 2 executes performative Request-Response Request-Response Performs above In-Only; then agent 2 sends response to agent 1 Performs above In-Only; then agent 2 sends response to agent 1 Request-Response-Acknowledge Request-Response-Acknowledge Performs Request-Response; then agent 1 sends an acknowledgement to agent 2 Performs Request-Response; then agent 1 sends an acknowledgement to agent 2 Workflows Workflows Generalizes the above protocols to allow other compositions of message interchange between agents Generalizes the above protocols to allow other compositions of message interchange between agents

14 Communication Middleware Mule Enterprise Service Bus (ESB) Mule Enterprise Service Bus (ESB) Mule* is used to create communication end points at each personal and organizational agent of Rule Responder Mule* is used to create communication end points at each personal and organizational agent of Rule Responder Mule supports various transport protocols (e.g. HTTP, JMS, SOAP) Mule supports various transport protocols (e.g. HTTP, JMS, SOAP) Rule Responder currently uses HTTP and JMS as transport protocols Rule Responder currently uses HTTP and JMS as transport protocols * Mule – The open source SOA infrastructure:

15 Rule Engines Prova: Prolog + Java Prova: Prolog + Java OO jDREW: Object Oriented java Deductive Reasoning Engine for the Web OO jDREW: Object Oriented java Deductive Reasoning Engine for the Web

16 Prova Prova is mainly used to realize the organizational agents of Rule Responder Prova is mainly used to realize the organizational agents of Rule Responder It implements Reaction RuleML for agent interaction (event-condition-action rules) It implements Reaction RuleML for agent interaction (event-condition-action rules)

17 OO jDREW OO jDREW is used to realize the personal agents of Rule Responder OO jDREW is used to realize the personal agents of Rule Responder It implements Hornlog RuleML for agent reasoning (Horn logic rules) It implements Hornlog RuleML for agent reasoning (Horn logic rules) Supports rules in two formats: Supports rules in two formats: POSL: Positional Slotted presentation syntax POSL: Positional Slotted presentation syntax RuleML: XML interchange syntax (can be generated from POSL: ) RuleML: XML interchange syntax (can be generated from POSL: )

18 Use Case: Symposium Planner RuleML-20xy Symposia RuleML-20xy Symposia An organizational agent acts as the single point of entry to assist with the symposium: An organizational agent acts as the single point of entry to assist with the symposium: Currently, query answering about the symposium Currently, query answering about the symposium Ultimately, preparing and running the symposium Ultimately, preparing and running the symposium Personal agents have supported symposium chairs since 2007 (deployed as Q&A since 2008) Personal agents have supported symposium chairs since 2007 (deployed as Q&A since 2008)Q&A General Chair, Program Chair, Panel Chair, Publicity Chair, etc. General Chair, Program Chair, Panel Chair, Publicity Chair, etc.

19 EA: External Agent OA General Chair PA Program Chair Expert Challenge Chair Expert Star-Like Rule Responder Architecture Spoke  PA: Personal Agent Hub  OA: Organizational Agent Virtual Organization Publicity Chair PA Liaison Chair PA Program Chair PA Challenge Chair PA Liaison Chair Expert Publicity Chair Expert General Chair Expert

20 Online Use Case Demo Rule Responder: Rule Responder: RuleML-2007/2008/2009 Symposia: RuleML-2007/2008/2009 Symposia: Organizational agent: Supporting Symposium as a whole Organizational agent: Supporting Symposium as a whole Personal agents: Supporting all Chairs Personal agents: Supporting all Chairs Online

21 Query Delegation Query delegation to personal agents is done by the organizational agent Query delegation to personal agents is done by the organizational agent Tasks for the symposium organization are managed via a role assignment matrix Tasks for the symposium organization are managed via a role assignment matrix Is defined here by an OWL Lite Ontology (alternatives: RDFS, RuleML,...) Is defined here by an OWL Lite Ontology (alternatives: RDFS, RuleML,...) Assigns (meta)topics to agents within the virtual organization:... see next slide... Assigns (meta)topics to agents within the virtual organization:... see next slide...

22 Role Assignment Ontology Publicity Chair Topics Agents Sponsoring Publicity Chair... Liaison Chair General Chair Challenge Chair Challenge Demos Media Partners Sponsors Responsible Accountable Press Release Challenge Chair Liaison Chair General Chair Metatopics Registration Visa Letter... Program Chair Submissions Presentations... Properties:

23 Multiple Query Answers by PAs Some queries have more than one answer Some queries have more than one answer The PA will send the answers one at a time to the OA The PA will send the answers one at a time to the OA interleaving backtracking and transmission interleaving backtracking and transmission When the PA finds no more answers, it sends an end-of-transmission message When the PA finds no more answers, it sends an end-of-transmission message

24 Knowledge Shared Between Personal Agents Rules can be shared among personal agents Rules can be shared among personal agents Rules that apply to all PAs can be lifted to the OA level Rules that apply to all PAs can be lifted to the OA level... see next slide see next slide...

25 Organizational Symposium Agent Knowledge Base % Sample Prova rule stored in the OA: getContact(XID,Topic,Request,Contact) :- % Retrieve the responsible PA (Agent) for the Topic % Retrieve the responsible PA (Agent) for the Topic assigned(XID,Agent,Topic,ruleml2009_responsible), assigned(XID,Agent,Topic,ruleml2009_responsible), % Send the query to the PA % Send the query to the PA sendMsg(XID,esb,Agent,"query", sendMsg(XID,esb,Agent,"query", person(Role,Name,Title, ,Telephone) ), person(Role,Name,Title, ,Telephone) ), % Receive the answer(s) % Receive the answer(s) rcvMult(XID,esb,Agent,"answer",Contact). rcvMult(XID,esb,Agent,"answer",Contact).

Personal General Chair Agent Knowledge Base: Fact % Sample FOAF-like fact used by the OA rule: % Example fact stored in the General Chair’s PA person( symposiumChair[ ruleML_2009, general ], foafname[ firstName[ Adrian ], lastName[ Paschke ]], foaftitle[ title[ Dr ]], foafmbox[ [ adrianDOTpaschkeATbiotecDOTtuDASHdresdenDOTde ]], exphones[ telephoneNumbers[ office[ ]]]). % Sample query in RuleML syntax:... see next slide... 26

27 Sample Message to Organizational Agent <RuleML xmlns=" xmlns:xsi=" xmlns:xsi=" xsi:schemaLocation=" xsi:schemaLocation=" xmlns:ruleml2007=" xmlns:ruleml2007=" <oid><Ind>RuleML-2009</Ind></oid><protocol><Ind>esb</Ind></protocol><sender><Ind>User</Ind></sender><content><Atom><Rel>getContact</Rel><Ind>ruleml2009_GeneralChair</Ind><Ind>update</Ind><Var>Contact</Var></Atom></content></Message></RuleML> Online Query Selection: General Chair Contact

28 Architecture - Execution

29 Architecture - Execution

30 Architecture - Execution

31 Architecture - Execution

32 Architecture - Execution

33

34

35 Sample Message to Publicity Chair Agent (I) <content> sponsor sponsor contact contact Mark Mark JBoss JBoss results results Level Level Benefits Benefits DeadlineResults DeadlineResults performative performative Action Action </content> Online Query Selection: Publicity Chair Sponsoring English Description: Mark from JBoss would like to sponsor RuleML with $500. What level, benefits, and deadline results will this provide, and what kind of action should be taken ?

37 Personal Publicity Chair Agent Knowledge Base: Rule % Rule stored in the Publicity Chair’s PA sponsor(contact[?Name,?Organization], ?Amount:integer, results[?Level,?Benefits,?DeadlineResults], performative[?Action]) :- requestSponsoringLevel(?Amount:integer,?Level), requestBenefits(?Level,?Benefits), checkDeadline(?DeadlineResults), checkAction(?Action,?Level,?Amount:integer). Orange: Query other rules

Personal Publicity Chair Agent Knowledge Base: 1 st & 2 nd Rule Premise requestSponsoringLevel(?Amount:integer,?Level), % Satisfied by rule: requestSponsoringLevel(?Amount:integer,?Level) :- sponsoringLevel(rank0, sponsoringLevel(rank0, ?Level, ?Level, under[us$[?UnderBronzeAmount:integer]]), under[us$[?UnderBronzeAmount:integer]]), lessThan(?Amount:integer,?UnderBronzeAmount:integer). lessThan(?Amount:integer,?UnderBronzeAmount:integer).requestBenefits(?Level,?Benefits), % Satisfied by rule: requestBenefits(?Level,?Benefits) :- benefits(?Level,?Benefits). 38 Light Red: Query facts

Personal Publicity Chair Agent Knowledge Base: 3 rd & 4 th Rule Premise checkDeadline(?DeadlineResults), % Satisfied by rule: checkDeadline(passed[deadline]):-date(?X:integer),deadline(sponsoring,?D:integer),greaterThan(?X:integer,?D:integer).checkAction(?Action,?Level,?Amount:integer). checkAction(?Action,?Level,?Amount:integer) :- actionPerformed(?Action,?Level,?Amount:integer). What happens if we now provide a sponsorship? What happens if we now provide a $5000 sponsorship?... see next slide Yellow: Query further rule

40 Sample Message to Publicity Chair Agent (II) sponsor sponsor contact contact Mary Mary Super Super results results Level Level Benefits Benefits DeadlineResults DeadlineResults performative performative Action Action Online Query Selection: Publicity Chair Sponsoring (edit) English Description: Mark from JBoss would like to sponsor RuleML with $5000. What level, benefits, and deadline results will this provide, and what kind of action should be taken?

41

42 Conclusion (I) Rule Responder was implemented & tested for various use cases ( ) and deployed for RuleML-2008/2009 Q&A Rule Responder was implemented & tested for various use cases ( ) and deployed for RuleML-2008/2009 Q&A Its organizational agents delegate external queries to topic-assigned personal agents Its organizational agents delegate external queries to topic-assigned personal agents It couples rule engines OO jDREW & Prova (& Euler) via Mule middleware and RuleML 0.91 XML interchange format It couples rule engines OO jDREW & Prova (& Euler) via Mule middleware and RuleML 0.91 XML interchange formatOO jDREWProvaEuler RuleML 0.91OO jDREWProvaEuler RuleML 0.91

43 Conclusion (II) Without a Reaction Rule Dialect, RIF could not be used for behavioral Responder logic Without a Reaction Rule Dialect, RIF could not be used for behavioral Responder logic Current system is reusable on all levels: Symposium Planner, Rule Responder, POSL, RuleML, OO jDREW, Prova, Mule Current system is reusable on all levels: Symposium Planner, Rule Responder, POSL, RuleML, OO jDREW, Prova, Mule RuleML Techn. Group with Adrian Paschke, Alexander Kozlenkov and Nick Bassiliades RuleML Techn. Group with Adrian Paschke, Alexander Kozlenkov and Nick BassiliadesAdrian Paschke Alexander Kozlenkov Nick BassiliadesAdrian Paschke Alexander Kozlenkov Nick Bassiliades Integrated another ‘partner engine’, Euler, for recent use cases, e.g. in WellnessRules Integrated another ‘partner engine’, Euler, for recent use cases, e.g. in WellnessRulesEulerWellnessRulesEulerWellnessRules

44 Future Work (I) Communication between Personal Agent and Expert Owner Communication between Personal Agent and Expert Owner The PA may need to interact with its expert owner The PA may need to interact with its expert owner The intended formal interaction between PAs and their owners could use (SMTP) The intended formal interaction between PAs and their owners could use (SMTP) The initial interaction language for these s could be Reaction RuleML The initial interaction language for these s could be Reaction RuleML Query Decomposition Query Decomposition Each subquery of a rule can be decomposed for different PAs, followed by answer integration Each subquery of a rule can be decomposed for different PAs, followed by answer integration

45 Future Work (II) Centralized, Distributed-Hierarchical (here), and Distributed-Networked (future) Query Answering Centralized, Distributed-Hierarchical (here), and Distributed-Networked (future) Query Answering Centralized: Avoids Communication Overhead Centralized: Avoids Communication Overhead Distributed: Fault Tolerance Distributed: Fault Tolerance Alternative agents when an agent becomes defunct Alternative agents when an agent becomes defunct Hierarchical: OA still a bottleneck Hierarchical: OA still a bottleneck From Centralized to Distributed Knowledge Maintenance From Centralized to Distributed Knowledge Maintenance Easier to keep Distributed Rules up-to-date Easier to keep Distributed Rules up-to-date Technical Report: Technical Report: