Multi-dimensional Dynamic Knowledge Representation João Alexandre Leite José Júlio Alferes Luís Moniz Pereira CENTRIA – New University of Lisbon Wien,

Slides:



Advertisements
Similar presentations
Updates plus Preferences Luís Moniz Pereira José Júlio Alferes Centro de Inteligência Artificial Universidade Nova de Lisboa Portugal JELIA’00, Málaga,
Advertisements

1 Inductive Equivalence of Logic Programs Chiaki Sakama Wakayama University Katsumi Inoue National Institute of Informatics ILP
Well-founded Semantics with Disjunction João Alcântara, Carlos Damásio and Luís Moniz Pereira Centro de Inteligência Artificial.
1 An Event-Condition- Action Logic Programming Language J. J. Alferes F. Banti A. Brogi.
MINERVA – A Dynamic Logic Programming Agent Architecture João Alexandre Leite, José Júlio Alferes, Luís Moniz Pereira Centro de Inteligência Artificial.
João Alcântara, Carlos Damásio and Luís Pereira Centro de Inteligência Artificial (CENTRIA) Depto. Informática, Faculdade.
Background information Formal verification methods based on theorem proving techniques and model­checking –to prove the absence of errors (in the formal.
Research topics Semantic Web - Spring 2007 Computer Engineering Department Sharif University of Technology.
Rule Updates These languages and methodologies are basically concerned with facts that change –There is a set of fluents (fact) –There are static rules.
The idea of completion In LP one uses “if” but mean “iff” [Clark78] This doesn’t imply that -1 is not a natural number! With this program we mean: This.
João Alcântara, Carlos Damásio and Luís Moniz Pereira Centro de Inteligência Artificial (CENTRIA) Depto. Informática,
Luís Moniz Pereira CENTRIA, Departamento de Informática Universidade Nova de Lisboa Pierangelo Dell’Acqua Dept. of Science and Technology.
Logic Programming for Evolving Agents J.J. Alferes J.A. Leite L.M. Pereira.
Luís Moniz Pereira CENTRIA, Departamento de Informática Universidade Nova de Lisboa Pierangelo Dell’Acqua Dept. of Science and Technology.
José Júlio Alferes Luís Moniz Pereira Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa, Portugal Pierangelo Dell’Acqua Dept. of.
Luís Moniz Pereira CENTRIA, Departamento de Informática Universidade Nova de Lisboa Pierangelo Dell’Acqua Dept. of Science and Technology.
1 Graph Introduction Definitions. 2 Definitions I zDirected Graph (or Di-Graph) is an ordered pair G=(V,E) such that yV is a finite, non-empty set (of.
Agent programming in Dribble from beliefs to goals with plans Birna van Riemsdijk Wiebe van der Hoek John-Jules Ch. Meyer.
1 L. M. Pereira Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa, Portugal P. Dell’Acqua, M. Engberg Dept. of Science and Technology.
Reductio ad Absurdum Argumentation in Normal Logic Programs Luís Moniz Pereira and Alexandre Miguel Pinto CENTRIA – Centro de Inteligência Artificial,
Luís Moniz Pereira Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa Pierangelo Dell’Acqua Dept. of Science and.
ASP vs. Prolog like programming ASP is adequate for: –NP-complete problems –situation where the whole program is relevant for the problem at hands èIf.
Combining Societal Agents’ Knowledge João Alexandre Leite José Júlio Alferes Luís Moniz Pereira CENTRIA – Universidade Nova de Lisboa Universidade de Évora,
Luís Moniz Pereira Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa, Portugal Pierangelo Dell’Acqua Dept. of Science and Technology.
João Alexandre Leite Luís Moniz Pereira Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa { jleite, lmp Pierangelo.
The University of Akron Dept of Business Technology Computer Information Systems Database Management Approaches 2440: 180 Database Concepts Instructor:
Luís Moniz Pereira Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa, Portugal Pierangelo Dell’Acqua Dept. of Science and Technology.
CSCI 5582 Fall 2006 CSCI 5582 Artificial Intelligence Lecture 22 Jim Martin.
ASP vs. Prolog like programming ASP is adequate for: –NP-complete problems –situation where the whole program is relevant for the problem at hands èIf.
Luís Moniz Pereira Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa, Portugal Pierangelo Dell’Acqua Aida Vitória Dept. of Science.
Knowledge Mediation in the WWW based on Labelled DAGs with Attached Constraints Jutta Eusterbrock WebTechnology GmbH.
Semantic Matching Pavel Shvaiko Stanford University, October 31, 2003 Paper with Fausto Giunchiglia Research group (alphabetically ordered): Fausto Giunchiglia,
Ontology Alignment/Matching Prafulla Palwe. Agenda ► Introduction  Being serious about the semantic web  Living with heterogeneity  Heterogeneity problem.
Frames and semantic networks, page 1 CSI 4106, Winter 2005 A brief look at semantic networks A semantic network is an irregular graph that has concepts.
Introduction to Data Structures. Definition Data structure is representation of the logical relationship existing between individual elements of data.
Computer Science 112 Fundamentals of Programming II Introduction to Graphs.
Ming Fang 6/12/2009. Outlines  Classical logics  Introduction to DL  Syntax of DL  Semantics of DL  KR in DL  Reasoning in DL  Applications.
UML Diagrams: Class Diagrams The Static Analysis Model Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Combining Answer Sets of Nonmonotonic Logic Programs Chiaki Sakama Wakayama University Katsumi Inoue National Institute of Informatics.
Introduction to Graphs. Introduction Graphs are a generalization of trees –Nodes or verticies –Edges or arcs Two kinds of graphs –Directed –Undirected.
A Language for Updates with Multiple Dimensions João Alexandre Leite 1 José Júlio Alferes 1 Luís Moniz Pereira 1 Halina Przymusinska 2 Teodor Przymusinski.
Logic Programming - a living formula Luís Moniz Pereira Centro de Inteligência Artificial, UNL
Modelling Adaptive Controllers with Evolving Logic Programs Pierangelo Dell’Acqua Anna Lombardi Dept. of Science and Technology - ITN Linköping University,
DRAGO: Distributed Reasoning Architecture for the Semantic Web Andrei Tamilin and Luciano Serafini Work is supported by 1 June 2005 Second European Semantic.
An Ontological Framework for Web Service Processes By Claus Pahl and Ronan Barrett.
Preference Revision via Declarative Debugging Pierangelo Dell’Acqua Dept. of Science and Technology - ITN Linköping University, Sweden EPIA’05, Covilhã,
EVOlving L ogic P rograms J.J. Alferes, J.A. Leite, L.M. Pereira (UNL) A. Brogi (U.Pisa)
MINERVA A Dynamic Logic Programming Agent Architecture João Alexandre Leite José Júlio Alferes Luís Moniz Pereira ATAL’01 CENTRIA – New University of Lisbon.
Languages of Updates João Alexandre Leite New University of Lisbon Dagstuhl, 25 November, 2002Dagstuhl Seminar
For Monday Finish chapter 19 No homework. Program 4 Any questions?
For Wednesday Read 20.4 Lots of interesting stuff in chapter 20, but we don’t have time to cover it all.
Combining agents into societies Luís Moniz Pereira Centro de Inteligência Artificial – CENTRIA Universidade Nova de Lisboa DEIS, Università di Bologna,
L. M. Pereira, J. J. Alferes, J. A. Leite Centro de Inteligência Artificial - CENTRIA Universidade Nova de Lisboa, Portugal P. Dell’Acqua Dept. of Science.
Some Thoughts to Consider 8 How difficult is it to get a group of people, or a group of companies, or a group of nations to agree on a particular ontology?
NMR98 - Logic Programming1 Learning with Extended Logic Programs Evelina Lamma (1), Fabrizio Riguzzi (1), Luís Moniz Pereira (2) (1)DEIS, University of.
Microsoft Expression Web 3 – Illustrated Unit D: Structuring and Styling Text.
Formal Verification. Background Information Formal verification methods based on theorem proving techniques and model­checking –To prove the absence of.
Our views on the Future of Logic Based Agents Luís Moniz Pereira José Júlio Alferes & Joint WorkshopLondon, 8 March 1999.
Logic Program Semantics Background Luís Moniz Pereira U.I. at Jakarta, Jan/Feb 2006 AI Centre, Universidade Nova de Lisboa.
An argument-based framework to model an agent's beliefs in a dynamic environment Marcela Capobianco Carlos I. Chesñevar Guillermo R. Simari Dept. of Computer.
Definition and Technologies Knowledge Representation.
March 3, 2016Introduction to Artificial Intelligence Lecture 12: Knowledge Representation & Reasoning I 1 Back to “Serious” Topics… Knowledge Representation.
COP Introduction to Database Structures
UML Diagrams: Class Diagrams The Static Analysis Model
Logical architecture refinement
Introduction to Data Structures
Architecture Description Languages
Back to “Serious” Topics…
Jim Fawcett CSE687 – Object Oriented Design Spring 2014
Motivation Semantic Transformation Module Most of the existing works neglect the semantic relationship between the visual feature and linguistic knowledge,
Presentation transcript:

Multi-dimensional Dynamic Knowledge Representation João Alexandre Leite José Júlio Alferes Luís Moniz Pereira CENTRIA – New University of Lisbon Wien, 18 Sep LPNMR’01

19/Sep/2001LPNMR'01 - Multi-dimensional Dynamic Knowledge Representation2 Motivation zIn Dynamic Logic Programming (DLP) knowledge is given by a sequence of Programs zEach program represents a different state of our knowledge, where different states may be: ydifferent time points, different hierarchical instances, different viewpoints, etc. zDifferent states may have mutually contradictory or overlapping information. zDLP, using the relations between states, determines the semantics at each one.

19/Sep/2001LPNMR'01 - Multi-dimensional Dynamic Knowledge Representation3 Motivation (2) zLUPS was presented as a language to build DLPs zIt can been used to: ymodel evolution of knowledge in time yreason about actions yreason about hierarchies, … zBut how to combine several of these aspects in a single system?

19/Sep/2001LPNMR'01 - Multi-dimensional Dynamic Knowledge Representation4 Motivation Example zThe parliament issues law L1 at time t1. zThe local authority issues law L2 at t2 > t1 zParliament laws override local laws, but not vice-versa. zMore recent laws have precedence over older ones L2L1 L2 zHow to combine these two dimension of knowledge precedence? ë DLP with Multiple Dimensions (MDLP)

19/Sep/2001LPNMR'01 - Multi-dimensional Dynamic Knowledge Representation5 Multi-dimensional DLP zIn MDLP knowledge is given by a set of programs zEach program represents a different state of our knowledge. zStates are connected by a DAG zMDLP, using the relations between states and their precedence in the DAG, determines the semantics at each state. zAllows for combining knowledge which evolve in various dimensions.

19/Sep/2001LPNMR'01 - Multi-dimensional Dynamic Knowledge Representation6 2 Dimensional Lattice

19/Sep/2001LPNMR'01 - Multi-dimensional Dynamic Knowledge Representation7 Acyclic Digraph (DAG)

19/Sep/2001LPNMR'01 - Multi-dimensional Dynamic Knowledge Representation8 Generalized Logic Programs zTo represent negative information in LP and their updates, we need LPs with not in heads zObject formulae are generalized LP rules: A  B 1,…, B k, not C 1,…,not C m not A  B 1,…, B k, not C 1,…,not C m zThe semantics is a generalization of SMs

19/Sep/2001LPNMR'01 - Multi-dimensional Dynamic Knowledge Representation9 MDLPs definition  Definition: A Multi-dimensional Dynamic Logic Program, P, is a pair ( P D,D) where D=(V,E) is an acyclic digraph and P D ={P V : v  V} is a set of generalized logic programs indexed by the vertices v  V of D.

19/Sep/2001LPNMR'01 - Multi-dimensional Dynamic Knowledge Representation10 MDLP - Semantics  Definition: Let P =( P D,D) be a Multi-dimensional Dynamic Logic Program, where P D ={P V : v  V} and D=(V,E). An interpretation M s is a stable model of P at state s  V iff: M s =least([ P s – Reject(s, M s )]  Defaults ( P s, M s )) P s =  j  s P i

19/Sep/2001LPNMR'01 - Multi-dimensional Dynamic Knowledge Representation11 MDLP - Semantics M=least([ P s – Reject(s, M s )]  Defaults ( P s, M s )) where: Reject(s, M s )= {r  P i |  r’  P j, i  j  s, head(r)=not head(r’)  M s  body(r’)} Defaults ( P s, M s )={not A |  r  P s : head(r)=A  M s  body(r)} P s =  j  s P i

19/Sep/2001LPNMR'01 - Multi-dimensional Dynamic Knowledge Representation12 Example 1 P s1 P s2 P r1 P r2 P sr {a  c} {b}{b} {not a  c} {c}{c} {} zSemantics at r1: M = {b, not a, not c} Reject(r1,M) = {} Default( P,M) = {not a, not b} zSemantics at s1: M = {not a, not b, not c} Reject(s1,M) = {} Default( P,M) = M zSemantics at sr: M = {b, not a, c} Reject(sr,M) = {a  c} Default( P,M) = {}

19/Sep/2001LPNMR'01 - Multi-dimensional Dynamic Knowledge Representation13 Example 1 (cont) P s1 P s2 P r1 P r2 P sr {a  c} {b}{b} {not a  c} {c}{c} {} zSemantics at r1: M = {b, not a, not c} Reject(r1,M) = {} Default( P,M) = {not a, not b} zSemantics at s1: M = {a, b, c} Reject(s1,M) = {not a  c} Default( P,M) = {} zSemantics at sr: M = {not a, not b, not c} Reject(sr,M) = {} Default( P,M) = M

19/Sep/2001LPNMR'01 - Multi-dimensional Dynamic Knowledge Representation14 Example 2 P t1a1 {p  q} {q}{q} {not p  q} {} zSemantics at t2a1: M = {p, q} Reject(t2a1,M) = {} Default( P,M) = {} zSemantics at t1a2: M = {not p, not q} Reject(t1a2,M) = {} Default( P,M) = M zSemantics at t2a2: M = {q, not p} Reject(sr,M) = {not p  q} Default( P,M) = {} P t1a2 P t2a2 P t2a1

19/Sep/2001LPNMR'01 - Multi-dimensional Dynamic Knowledge Representation15 Towards an implementation of MDLP zHow to implement MDLP? zPre-process a MDLP at state s into a single generalized program, where the stable models at s are the stable models of the single program. zQuery-answering is reduced to that at single programs.

19/Sep/2001LPNMR'01 - Multi-dimensional Dynamic Knowledge Representation16 MDLP – Syntactical Transformation  Definition: Let P =( P D,D) be a Multi-dimensional Dynamic Logic Program, where P D ={P V : v  V} and D=(V,E), including a special empty source s0. The dynamic program update over P at the state s  S is a logic program  s P with:  (RP) Rewritten program rules  (IR) Inheritance rules  (RR) Rejection Rules  (CRS) Current State Rules  (UR) Update Rules  (DR) Default Rules  (GR) Graph Rules

19/Sep/2001LPNMR'01 - Multi-dimensional Dynamic Knowledge Representation17 Syntactical Transformation  (RP) Rewritten program rules A Pv  B 1, …, B m, C’ 1, …, C’ n A´ Pv  B 1, …, B m, C’ 1, …, C’ n for any rule A  B 1, …, B m, not C 1, …, not C n not A  B 1, …, B m, not C 1, …, not C n in P v

19/Sep/2001LPNMR'01 - Multi-dimensional Dynamic Knowledge Representation18  (GR) Graph rules edge(u,v)(for every u < v  E ) path(X,Y)  edge(X,Y). path(X,Y)  edge(X,Z), path(Z,Y). Syntactical Transformation

19/Sep/2001LPNMR'01 - Multi-dimensional Dynamic Knowledge Representation19  (IR) Inheritance rules A v  A u, not reject(A u ), edge(u,v) A´ v  A´ u, not reject(A´ u ), edge(u,v)  (RR) Rejection rules reject(A u )  A´ P u, path(u,v) reject(A´ u )  A P u, path(u,v) Syntactical Transformation

19/Sep/2001LPNMR'01 - Multi-dimensional Dynamic Knowledge Representation20  (UP) Update rules A v  A Pv A’ v  A’ Pv  (DR) Default rules A’ s0  (CSR) Current state rules A  A s not A  A’ s Syntactical Transformation

19/Sep/2001LPNMR'01 - Multi-dimensional Dynamic Knowledge Representation21 MDLP - Results zTheorem: The stable models of the program  s P coincide with the stable models of P at state s according to the semantical characterization. zTheorem: Multi-dimensional Dynamic Logic Programming generalizes Dynamic Logic Programming.

19/Sep/2001LPNMR'01 - Multi-dimensional Dynamic Knowledge Representation22 MDLP applications zCombining agents’ knowledge yDistributed (and heterogeneous) KBs yProgram composition zEvolution of hierarchical knowledge yLegal reasoning ye-commerce policy integration and evolution yOrganizational decision making zMultiple inheritance zIndividual agents’ views

19/Sep/2001LPNMR'01 - Multi-dimensional Dynamic Knowledge Representation23 Future Work zA (LUPS-like) language for building MDLPs yallowing updatable DAGs zSocieties of MDLPs yObservation points (public and private) yInter-MDLP updates and communication zHypothetical reasoning over MDLPs zRemove the acyclicity condition (??) zApplications and relationships

19/Sep/2001LPNMR'01 - Multi-dimensional Dynamic Knowledge Representation24 Company Hierarchy Example buy(X)type(X,T), needed(T), not satByOther(T,X). not buy(X)type(X,T), needed(T), satByOther(T,X). satByOther(T,X)type(Y,T), buy(Y), X  Y. Situation type(a,t). type(b,t). needed(t). cheap(a). reliable(b). Board of Directors (BD) not buy(X)type(X,T), type(Y,T), X  Y, cheap(Y), not cheap(X). President (P) Quality Management Dept. (QMD) not buy(X)  not reliable(X). buy(X)  type(X,T),needed(T), cheap(X). Financial Dept. (FD)    

19/Sep/2001LPNMR'01 - Multi-dimensional Dynamic Knowledge Representation25 Social Representation