A Logic for Decidable Reasoning about Services Yilan Gu Dept. of Computer Science University of Toronto Mikhail Soutchanski Dept. of Computer Science Ryerson.

Slides:



Advertisements
Similar presentations
Artificial Intelligence
Advertisements

Automated Theorem Proving Lecture 1. Program verification is undecidable! Given program P and specification S, does P satisfy S?
Charting the Potential of Description Logic for the Generation of Referring Expression SELLC, Guangzhou, Dec Yuan Ren, Kees van Deemter and Jeff.
Query Answering for OWL-DL with Rules Boris Motik Ulrike Sattler Rudi Studer.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Situation Calculus for Action Descriptions We talked about STRIPS representations for actions. Another common representation is called the Situation Calculus.
Artificial Intelligence Chapter 21 The Situation Calculus Biointelligence Lab School of Computer Sci. & Eng. Seoul National University.
Ontological Logic Programming by Murat Sensoy, Geeth de Mel, Wamberto Vasconcelos and Timothy J. Norman Computing Science, University of Aberdeen, UK 1.
SYMBOLIC MODEL CHECKING: STATES AND BEYOND J.R. Burch E.M. Clarke K.L. McMillan D. L. Dill L. J. Hwang Presented by Rehana Begam.
AI - Week 13 Knowledge Representation, Logic, Semantic Web Lee McCluskey, room 2/07
CPSC 322, Lecture 23Slide 1 Logic: TD as search, Datalog (variables) Computer Science cpsc322, Lecture 23 (Textbook Chpt 5.2 & some basic concepts from.
CPSC 322, Lecture 23Slide 1 Logic: TD as search, Datalog (variables) Computer Science cpsc322, Lecture 23 (Textbook Chpt 5.2 & some basic concepts from.
Modelling Conceptual Knowledge using Logic - Week 6 Lee McCluskey Department of Computing and Mathematical Sciences University of Huddersfield.
Monadic Predicate Logic is Decidable Boolos et al, Computability and Logic (textbook, 4 th Ed.)
1 Relational Algebra and Calculus Yanlei Diao UMass Amherst Feb 1, 2007 Slides Courtesy of R. Ramakrishnan and J. Gehrke.
Part 6: Description Logics. Languages for Ontologies In early days of Artificial Intelligence, ontologies were represented resorting to non-logic-based.
1 First order theories. 2 Satisfiability The classic SAT problem: given a propositional formula , is  satisfiable ? Example:  Let x 1,x 2 be propositional.
1/25 Pointer Logic Changki PSWLAB Pointer Logic Daniel Kroening and Ofer Strichman Decision Procedure.
FRANCISCO J. GALAN AND AHMED RIVERAS UNIVERSITY OF SEVILLE SEMANTIC WEB SERVICES IN A TRANSACTIONAL CONTEXT PROLE 2013 (MADRID)
FIRST ORDER LOGIC Levent Tolga EREN.
Integrating DLs with Logic Programming Boris Motik, University of Manchester Joint work with Riccardo Rosati, University of Rome.
DEDUCTIVE DATABASE.
Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.
An Introduction to Description Logics. What Are Description Logics? A family of logic based Knowledge Representation formalisms –Descendants of semantic.
Tableau Algorithm.
CSE-291: Ontologies in Data & Process Integration Department of Computer Science & Engineering University of California, San Diego CSE-291: Ontologies.
Ming Fang 6/12/2009. Outlines  Classical logics  Introduction to DL  Syntax of DL  Semantics of DL  KR in DL  Reasoning in DL  Applications.
Query Answering Based on the Modal Correspondence Theory Evgeny Zolin University of Manchester Manchester, UK
SAT and SMT solvers Ayrat Khalimov (based on Georg Hofferek‘s slides) AKDV 2014.
Declarative vs Procedural Programming  Procedural programming requires that – the programmer tell the computer what to do. That is, how to get the output.
LDK R Logics for Data and Knowledge Representation ClassL (part 3): Reasoning with an ABox 1.
Presented by:- Somya Gupta( ) Akshat Malu ( ) Swapnil Ghuge ( ) Franz Baader, Ian Horrocks, and Ulrike Sattler.
The Bernays-Schönfinkel Fragment of First-Order Autoepistemic Logic Peter Baumgartner MPI Informatik, Saarbrücken.
Solving Large Markov Decision Processes Yilan Gu Dept. of Computer Science University of Toronto April 12, 2004.
An Introduction to Description Logics (chapter 2 of DLHB)
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall Description Logics: Logic foundation of Semantic Web Semantic.
DEDUCTION PRINCIPLES AND STRATEGIES FOR SEMANTIC WEB Resolution principle, Description Logic and Fuzzy Description Logic Hashim Habiballa University of.
Haley: A Hierarchical Framework for Logical Composition of Web Services Haibo Zhao, Prashant Doshi LSDIS Lab, Dept. of Computer Science, University of.
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
LDK R Logics for Data and Knowledge Representation Modal Logic Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
LDK R Logics for Data and Knowledge Representation Description Logics (ALC)
Albert Gatt LIN3021 Formal Semantics Lecture 4. In this lecture Compositionality in Natural Langauge revisited: The role of types The typed lambda calculus.
More on Description Logic(s) Frederick Maier. Note Added 10/27/03 So, there are a few errors that will be obvious to some: So, there are a few errors.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Simultaneously Learning and Filtering Juan F. Mancilla-Caceres CS498EA - Fall 2011 Some slides from Connecting Learning and Logic, Eyal Amir 2006.
CSE Winter 2008 Introduction to Program Verification January 31 proofs through simplification.
Bertram Ludäscher Department of Computer Science & Engineering University of California, San Diego CSE-291: Ontologies in Data Integration.
DL Overview Second Pass Ming Fang 06/19/2009. Outlines  Description Languages  Knowledge Representation in DL  Logical Inference in DL.
1 First order theories (Chapter 1, Sections 1.4 – 1.5) From the slides for the book “Decision procedures” by D.Kroening and O.Strichman.
Description Logics Dr. Alexandra I. Cristea. Description Logics Description Logics allow formal concept definitions that can be reasoned about to be expressed.
DEDUCTION PRINCIPLES AND STRATEGIES FOR SEMANTIC WEB Chain resolution and its fuzzyfication Dr. Hashim Habiballa University of Ostrava.
1 Reasoning with Infinite stable models Piero A. Bonatti presented by Axel Polleres (IJCAI 2001,
ece 627 intelligent web: ontology and beyond
Predicate Logic One step stronger than propositional logic Copyright © Curt Hill.
1 CSEP590 – Model Checking and Automated Verification Lecture outline for July 9, 2003.
Of 35 lecture 17: semantic web rules. of 35 ece 627, winter ‘132 logic importance - high-level language for expressing knowledge - high expressive power.
1 First Order Logic CS 171/271 (Chapter 8) Some text and images in these slides were drawn from Russel & Norvig’s published material.
Charting the Potential of Description Logic for the Generation of Referring Expression SELLC, Guangzhou, Dec Yuan Ren, Kees van Deemter and Jeff.
Lecture 041 Predicate Calculus Learning outcomes Students are able to: 1. Evaluate predicate 2. Translate predicate into human language and vice versa.
CSE-291: Ontologies in Data Integration Department of Computer Science & Engineering University of California, San Diego CSE-291: Ontologies in Data Integration.
1 Finite Model Theory Lecture 5 Turing Machines and Finite Models.
LDK R Logics for Data and Knowledge Representation Description Logics: family of languages.
CS621 : Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 16 Description Logic.
Logics for Data and Knowledge Representation
From Classical Proof Theory to P vs. NP
Planning as model checking, (OBDDs)
WSSL: A Fluent Calculus-based Language for Web Service Specifications
Dichotomies in CSP Karl Lieberherr inspired by the paper:
Deniz Beser A Fundamental Tradeoff in Knowledge Representation and Reasoning Hector J. Levesque and Ronald J. Brachman.
CIS Monthly Seminar – Software Engineering and Knowledge Management IS Enterprise Modeling Ontologies Presenter : Dr. S. Vasanthapriyan Senior Lecturer.
Presentation transcript:

A Logic for Decidable Reasoning about Services Yilan Gu Dept. of Computer Science University of Toronto Mikhail Soutchanski Dept. of Computer Science Ryerson University July 16, 2006

Outline Motivations Preliminaries Specification of the modified situation calculus for services Decidable reasoning about actions in this logic Discussions and future work

Shopping Online Clients (buyers ) Web Servers (E.g., Amazon) Inventory Requests (E.g., buy/return books) Shipping Arrangement

Motivations Usually suppliers (Web servers) could not get complete information (OWA) Need composition of atomic services to achieve the clients’ requests Integrating Semantic webs with Web services Representing the dynamics –What needs to be represented? atomic services (i.e., actions), dynamic environment (such as what books are available currently), the effect of service action –Expectations: Represent actions for large/infinite domains (such as people, weight, time) Be able to represent knowledge such as “there exist some …” For composite services and the environment, –What do we care about ? (reasoning) Whether the composite services are possible to be executed successfully? Whether certain properties/goals can be satisfied after the execution? –Expectations: efficient reasoning (here, decidability)

The Situation Calculus A first-order logic language –Represent actions and effects in a natural way –Very compact Three sorts: –Actions: buyBook(x,y), returnBook(x,y), … –Situations: S 0, do(a,s), do([a 1,…,a n ],s) –Objects: things other than actions and situations. E.g., places, names, numbers, etc. Fluents: system features whose truth values may vary. E.g., instore(x,s), boughtBook(x,y,s), bought(x,y,s)…

Basic action theory D A set of first-order axioms to model actions and effects Precondition axioms for actions D ap : Poss(buyBook(x,y),s)  client(x)  book(y)  instore(y,s) Successor state axioms D ss : bought(x,y,do(a,s))  a = buybook(x,y)  a = buyCD(x,y) bought(x,y,s)   (a = returnbook(x,y)  a = returnCD(x,y) ) Axioms for initial database D S0 : – Knowledge known to be true in the situation S 0 – Non-changeable facts – Open world assumption

Reasoning about Actions E.g., (  x)(  y)(  y’) boughtBook(x,y,S)  boughtBook(x,y’,S)  y=y’ Key reasoning mechanism -- regression operator R –Successor state axioms support regression in a natural way If F(x 1,…,x n,do(a,s))   F (x 1,…,x n,a,s), then R [F(t 1,…,t n,do(a’,S))] = R [  F ’ (t 1,…,t n,a’,S)]. W(do[a 1,…,a n ], S 0 )W0(S0)W0(S0) W’(do[a 1,…,a n-1 ], S 0 ) R RR Important properties for regression –D |= W  R [W] –D |= W iff D S0  D una |= R [W]

Disadvantages of the Situation Calculus Advantage: representing actions and effects very compactly. Disadvantage: reasoning for actions in general is undecidable under the open world assumption (OWA). 1.Can we get rid of the disadvantage? 2.Can we specify the Semantic Web features in a natural way? Solution: Consider a fragment of first-order logic C 2.

Description Logics v.s. C 2 Description logics –Base of OWL –Different varieties –ALCQIO (,, , |, id) C 2 – a fragment of FOL –At most two variables x, y –No function symbols –Add counting quantifiers   n,   n ALCQIO (,, , |, id) v.s. C 2  Concept names  unary predicates instore instore(x)  Role names  binary predicates boughtBook boughtBook(x,y)  E.g.,   n R.C    n y.R(x,y)  C(y),  R.C   y.R(x,y)  C(y)  C   C(x), C1 C2  C1(x)  C2 (x)

Decidability of DLs and C 2 [ Borgida1996] ALCQIO (,, , |, id) plus cross-product  C 2. We showed that: C1  C2 = (R  R)| C2 ((R  R)| C1 ) _. [Grädel et al., Pacholski et al. 1997] C 2 is decidable even under OWA. ALCQIO (,, , |, id) is decidable even under OWA. ALCQIO (,, , |, id)  C 2, the translation algorithm is linear to the size of the given formula. Other advantages – The features in Semantic Webs can be easily represented in C 2. – The reasoning in C 2 can also be easily translated into DLs. – May use current existing efficient DL reasoners for C 2 formulas.

The Decidable Situation Calculus Sorts: –Terms of objects are either variable x, variable y, or constants –Action functions have at most two arguments –Variable symbol a of sort action and symbol s of sort situation are the only additional variable symbols Fluents with either two or three arguments: –(Dynamic) concepts instore(x,s), …. –(Dynamic) roles boughtBook(x,y,s), boughtCD(x,y,s), bought(x,y,s), … Facts with either one or two arguments: –(Static) concepts person(x), client(x), book(x), cd(x),… –(Static) roles hasCreditcard(x,y), … Logic: add counting quantifiers   n,   n L SC DL

The Basic Action Theory of Precondition axioms: –The RHS is C 2 if the situation argument s is suppressed Success state axioms: –Allow counting quantifiers –Variables a and s are free in the RHS of the axioms –Moreover, x,y, a and s are the only variables (both free and quantified) Axioms for initial databases: (with OWA) –Each axiom is C 2 if S 0 is suppressed L SC DL Purpose: to ensure the regression result is C 2 regardless S 0.

Extensions of the Basic Action Theory Allowing specify certain features similar to DLs Acyclic TBox axioms: –Dynamic ones: C(x,s)   C (x,s) (C – defined dynamic concept) –Static ones: C(x)   C (x) (provided in the D S0 ) –The RHS is C 2 when the situation argument s is suppressed E.g., valCust(x,s)  person(x)  (   3 y) bought(x,y,s) client(x)  person(x)  (  y) hasCreditcard(x,y) –Reasoning: use lazy unfolding for Dynamic ones RBox axioms: –For taxonomic reasoning purpose –R1  R2 for role R1, R2 E.g., boughtBook(x,y,s)  bought(x,y,s), boughtCD(x,y,s)  bought(x,y,s) –Correctly compiled in D SS. I.e., D |= (  x,y,s).R1(x,y)[s]  R2(x,y)[s]

Reasoning: Regression + Lazy Unfolding Expectations –Resulting formula should be C 2 if S 0 is suppressed –Be able to handle dynamic TBox axioms Reiter’s regression operator is not suitable: introduce new variables Formula W that is regressable in L SC –The situation term in W are ground –Variables in W can only include x, y Modified regression operator R –When W is not atomic, the operator is still defined recursively E.g., R [W1  W2] = R [W1]  R [ W2], … –Add R [   n v.W] =   n v. R [W] –Reuse variables x and y when W is atomic (examples on the next slide) –When W is a defined dynamic concept, use TBox axioms (lazy unfolding) DC

A Regression Example in A1 = buyCD(Tom, BackStreetBoys), A2 = buyBook(Tom, HarryPotter), A3 = buyBook(Tom, TheFirm) R [(  x).valCust(x, do([A1,A2,A3],S 0 ))] = R [(  x). person(x)  (   3 y) bought(x, y, do([A1,A2,A3], S 0 ))] (lazy unfolding) = (  x). person(x)  (   3 y) R [bought(x, y, do([A1,A2,A3], S 0 ))] = … (recursively do regression using the successor state axioms) = (  x). person(x)  (   3 y) [(x=Tom  y = TheFirm)  (x=Tom  y = HarryPotter)  bought(x,y,S 0 ) ] L SC DL

Important Properties Suppose W is a regressable formula of L SC with the basic action theory D The regression R [W] terminates in a finite number of steps. R [W] is a C 2 formula if S 0 is suppressed D |= W  R [W] D |= W iff D S0  D una |= R [W] The problem whether is D |= W decidable –D S0  D una |= R [W] is a decidable reasoning in C 2 when S 0 is suppressed everywhere The executability problems and projection problems are decidable in L SC DL

Discussions and Future Work Conclusions –Formalize a decidable language suitable for Web services –Have compact powerful expression power Other related researches –[McIlraith and Son 2002] assumes that sufficient information is available –[Berardi et al. 2003] uses propositional dynamic logic to model servicies e-services  constants, fluents  F(s) (propositional fragment of the situation calculus) –[Artale & Franconi 2001, Baader et al. 2003] extend DLs with temporal logics to capture the change of the world over time instead of caused by actions –[Baader et al. 2005] defines a service using a triple of sets of DL formulas Possible future work –Implementations –Consider the knowledge base progression/update problem in L SC –Etc. DL