Click here to load reader
Upload
daniele-dellaglio
View
221
Download
0
Embed Size (px)
DESCRIPTION
Presentation of the article "An Ontological Formulation and an OPM profile for Causality in Planning Applications" at JIST 2011
Citation preview
Joint International Technology Conference (JIST2011)
Hangzhou, China, December 5, 2011
An Ontological Formulation and an OPM profile for Causality in
Planning Applications
Irene Celino and Daniele Dell’Aglio
CEFRIEL – Politecnico di Milano, Italy
2/16
Summary Introduction Planning metamodel OWL formalization OPM mapping Inference over the model Use case – PANDORA Conclusions and future work
5/12/2011 JIST 2011, Hangzhou, China
3/16
Planning Problem Definition of sequences of actions to reach a
desired goal Automated planning & scheduling in AI
The task requires a domain theory – a model with the knowledge useful to generate plans Agents, actions, causal relationships, etc. Defined by a modeller
Our research focus on helping the modeller in checking the coherence and rationality of the domain theory
5/12/2011 JIST 2011, Hangzhou, China
4/16
Domain theory – core elements 1/2 Component: physical or logical subsystem of
interest for the planning Controllable vs Uncontrollable Agent vs Resource
Action: temporally tagged event Event: an action determined by the planner
(related to a controllable component) Decision: an action taken by an uncontrollable
component
5/12/2011 JIST 2011, Hangzhou, China
5/16
Domain theory – core elements 2/2 Planning Rule: representation of actions’
causality – specifies the consequences of actions Reference Action Rule Targets: actions that could be “caused” by
the reference action Rule Conditions: requirements on the actions
involved in a planning rule, expressed through rule relations: Temporal conditions Constraints Assignments
5/12/2011 JIST 2011, Hangzhou, China
6/16
An OWL2 FormulationCore elements
The whole ontology is available at: http://swa.cefriel.it/ontologies/tplanning
5/12/2011
hasRuleCondition
Component
PlanningRule
ActionisActionOf
hasReferenceComponent
hasReferenceActionRuleTarge
t
hasRuleTarget
hasActionValue
isRuleEffectActionOf
actionTriggersAction
ruleTriggersRule
Rule Conditio
n
JIST 2011, Hangzhou, China
7/16
An OWL2 Formulation Rule conditions
Temporal rule relations were modelled using Allen’s Interval Algebra
The three kinds of rule conditions are defined extending SPIN vocabulary (SPARQL Inference Notation, http://spinrdf.org/)5/12/2011
hasRuleCondition
PlanningRule
Rule Conditio
nrdfs:subClassOf
AssignmentCondition
Constraint
Condition
TemporalConditio
n
rdfs:subClassOf
sp:Filter
sp:Function
sp:expressionsp:variablesp:expression
sp:arg1, sp:arg2, ......
sp:Let
rdfs:subClassOf
JIST 2011, Hangzhou, China
8/16
Open Provenance Model (OPM) Model for the tracking of the provenance of
artifacts Three main concepts:
OPM Profiles We mapped using the OPM Vocabulary (OPMV)
to define an OPM Profile5/12/2011
opmv:Artifact
opmv:wasTriggeredBy
op
mv:w
asD
eriv
ed
Fro
m
opmv:wasGeneratedBy
opmv:used
opmv:wasControlledByopmv:Agent opmv:Process
JIST 2011, Hangzhou, China
9/16
Mapping the planning metamodel and OPMV
5/12/2011
opmv:Artifactopmv:Artifact
opmv:Processopmv:Process
opmv:Agentopmv:Agent
hasRuleCondition
Component
PlanningRule
ActionisActionOf
hasReferenceComponent
hasReferenceActionRuleTarge
t
hasRuleTarget
hasActionValue
isRuleEffectActionOf
actionTriggersAction
ruleTriggersRule
Rule Conditio
nopmv:wasTriggeredBy
opmv:wasDerivedFrom
opmv:wasGeneratedBy
opmv:used
opmv:wasControlledBy
JIST 2011, Hangzhou, China
10/16
Checking of the domain theories Meta-model to represent domain theories
Vocabulary Axioms
It is possible to model domain theories using the ontology
Inference processes on domain theories are available
Semi-automated checking to the domain theories Extraction of relevant information from the model
for the modeller
5/12/2011 JIST 2011, Hangzhou, China
11/16
Domain theory checking Orphan elements 1/2 Extract from the
planning model the orphan elements: Components not involved
in any Action Actions not involved in
any Planning Rule Allow the modeller to
check potential lacks or shortcomings
5/12/2011
C1
C2
C3
C4
A1 A
3A2
A4
P1
P2
C5
A5
Orphan componen
t
Orphan
action
Com
ponents
Actio
ns
Pla
nn
ing ru
les
JIST 2011, Hangzhou, China
12/16
Domain theory checking Orphan elements 2/2 Example: Identify orphan components Formal definition of orphan component
Identification done through SPARQL 1.1 queries to the model:
SELECT ?orphanComponentWHERE{
?orphanComponent a tpl:Component.FILTER NOT EXISTS{
?action tpl:isActionOf ?orphanComponent.
}}
5/12/2011 JIST 2011, Hangzhou, China
13/16
Inference and automated checking Action reachability Reachable action: action with a target role in
one or more planning rules Modeller is interested in finding:
Unreacheble actions: actions generated by controllable components that are never target
Actions triggered by the unrecheable action
5/12/2011
Unreachable Action: A1
A1 dependent actions: A2, A3... Anreferencetarget
triggers
A1
AnA
2
P1
Pn
P2
A3
JIST 2011, Hangzhou, China
14/16
Use case – Pandora Application in Simulation Learning for
decision making in a scenario of crisis management
Used in the Pandora EU FP7 project Realization of a platform for the training of gold
commanders Planning is used to simulate learning sessions Support at the design time for the building of
domain theories Additional info on: http://pandoraproject.eu
5/12/2011 JIST 2011, Hangzhou, China
15/16
Conclusions and future work Use of Semantic Web in planning:
Modelling of domain theories Semi-automated approach to verify the modelling:
Tracking causality Check of elements involvement …
Future work In-depth evaluation Relation with PDDL Analysis of executed plans
5/12/2011 JIST 2011, Hangzhou, China
16/16
Thank you!
An Ontological Formulation and an OPM profile for Causality in Planning Applications
Daniele Dell’AglioCEFRIEL – ICT Institute of Politecnico di Milano, Italy
e-mail: [email protected]: http://www.cefriel.it
5/12/2011 JIST 2011, Hangzhou, China