process specification language: principles and...

28
Process Specification Language: Principles and Applications Michael Gruninger NIST / Institute for Systems Research University of Maryland Michael Gruninger NIST / Institute for Systems Research University of Maryland

Upload: others

Post on 14-Jul-2020

9 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Process Specification Language: Principles and …ontolog.cim3.net/.../PSL--MichaelGruninger_20040916.pdf2004/09/16  · Process Descriptions • If we shared an ontology of algebraic

Process Specification Language: Principles and Applications

Michael GruningerNIST /

Institute for Systems ResearchUniversity of Maryland

Michael GruningerNIST /

Institute for Systems ResearchUniversity of Maryland

Page 2: Process Specification Language: Principles and …ontolog.cim3.net/.../PSL--MichaelGruninger_20040916.pdf2004/09/16  · Process Descriptions • If we shared an ontology of algebraic

Interoperability

Process Modeler

(ProCAP / KBSI)

Simulator (Quest / Dessault)Scheduler

(ILOG Scheduler)

Process Planner

(MetCAPP/Agiltech)

Page 3: Process Specification Language: Principles and …ontolog.cim3.net/.../PSL--MichaelGruninger_20040916.pdf2004/09/16  · Process Descriptions • If we shared an ontology of algebraic

Objective

• Exchange process knowledge between software applications so that the meanings of terminology are preserved.

• Exchange process knowledge between software applications so that the meanings of terminology are preserved.

Page 4: Process Specification Language: Principles and …ontolog.cim3.net/.../PSL--MichaelGruninger_20040916.pdf2004/09/16  · Process Descriptions • If we shared an ontology of algebraic

Semantics• We represent meaning using the model theory of

first-order logic

• An interpretation consists of three parts: • a set of elements (known as the domain or universe of discourse);• a meaning function that associates symbols in the language with

individual elements and sets of elements in the domain (intuitively this specifies what the symbols mean);

• a truth function that associates truth values with sentences in the language.

• If a sentence is true in the interpretation, we say that the sentence is satisfied by the interpretation. If every axiom in the ontology is satisfied by the interpretation then the interpretation is a called a model of the ontology.

• We represent meaning using the model theory of first-order logic

• An interpretation consists of three parts: • a set of elements (known as the domain or universe of discourse);• a meaning function that associates symbols in the language with

individual elements and sets of elements in the domain (intuitively this specifies what the symbols mean);

• a truth function that associates truth values with sentences in the language.

• If a sentence is true in the interpretation, we say that the sentence is satisfied by the interpretation. If every axiom in the ontology is satisfied by the interpretation then the interpretation is a called a model of the ontology.

Page 5: Process Specification Language: Principles and …ontolog.cim3.net/.../PSL--MichaelGruninger_20040916.pdf2004/09/16  · Process Descriptions • If we shared an ontology of algebraic

The First-Order Sandwich

• Why first-order logic?– Preserving meaning is equivalent to preserving

logical consequences (model-theoretic), which should be equivalent to preserving inferences (proof-theoretic).

– Soundness and completeness guarantees that a sentence is provable from a theory if and only if it is satisfied in all models of the theory.

• Logics beyond first-order logic lose completeness.

• Why first-order logic?– Preserving meaning is equivalent to preserving

logical consequences (model-theoretic), which should be equivalent to preserving inferences (proof-theoretic).

– Soundness and completeness guarantees that a sentence is provable from a theory if and only if it is satisfied in all models of the theory.

• Logics beyond first-order logic lose completeness.

Page 6: Process Specification Language: Principles and …ontolog.cim3.net/.../PSL--MichaelGruninger_20040916.pdf2004/09/16  · Process Descriptions • If we shared an ontology of algebraic

Verified Ontologies

Page 7: Process Specification Language: Principles and …ontolog.cim3.net/.../PSL--MichaelGruninger_20040916.pdf2004/09/16  · Process Descriptions • If we shared an ontology of algebraic

Interoperability Hypothesis

• We are considering interoperability among complete first-order inference engines that exchange first-order sentences.

• We are considering interoperability among complete first-order inference engines that exchange first-order sentences.

Page 8: Process Specification Language: Principles and …ontolog.cim3.net/.../PSL--MichaelGruninger_20040916.pdf2004/09/16  · Process Descriptions • If we shared an ontology of algebraic

Ontological Stance

Page 9: Process Specification Language: Principles and …ontolog.cim3.net/.../PSL--MichaelGruninger_20040916.pdf2004/09/16  · Process Descriptions • If we shared an ontology of algebraic

Formal Properties of PSL

• The meaning of terms in the ontology is characterized by models for first-order logic.

• The PSL Ontology has a first-order axiomatization of the class of models.

• Classes in the ontology arise from classification of the models with respect to invariants (properties of the models preserved by isomorphism).

• Process descriptions are specified by definable types for elements in the models.

• The meaning of terms in the ontology is characterized by models for first-order logic.

• The PSL Ontology has a first-order axiomatization of the class of models.

• Classes in the ontology arise from classification of the models with respect to invariants (properties of the models preserved by isomorphism).

• Process descriptions are specified by definable types for elements in the models.

Page 10: Process Specification Language: Principles and …ontolog.cim3.net/.../PSL--MichaelGruninger_20040916.pdf2004/09/16  · Process Descriptions • If we shared an ontology of algebraic

Process Specification Language

• PSL is a modular, extensible ontology capturing concepts required for process specification

• There are currently 300 concepts across 50 extensions of a common core theory (PSL-Core), each with a set of first-order axioms written using the Knowledge Interchange Format.

• Two kinds of extensions:• Core theories• Definitional extensions

• PSL is a modular, extensible ontology capturing concepts required for process specification

• There are currently 300 concepts across 50 extensions of a common core theory (PSL-Core), each with a set of first-order axioms written using the Knowledge Interchange Format.

• Two kinds of extensions:• Core theories• Definitional extensions

Page 11: Process Specification Language: Principles and …ontolog.cim3.net/.../PSL--MichaelGruninger_20040916.pdf2004/09/16  · Process Descriptions • If we shared an ontology of algebraic

PSL Core Theories

Page 12: Process Specification Language: Principles and …ontolog.cim3.net/.../PSL--MichaelGruninger_20040916.pdf2004/09/16  · Process Descriptions • If we shared an ontology of algebraic

Models of PSL-Core

occ1 occ2 occ3 occ4

paint(B1) polish(B1) pack(B1) paint(B2)

Page 13: Process Specification Language: Principles and …ontolog.cim3.net/.../PSL--MichaelGruninger_20040916.pdf2004/09/16  · Process Descriptions • If we shared an ontology of algebraic

Models in PSL

• Occurrence trees• Fluents (state)• Activity trees

• Occurrence trees• Fluents (state)• Activity trees

Page 14: Process Specification Language: Principles and …ontolog.cim3.net/.../PSL--MichaelGruninger_20040916.pdf2004/09/16  · Process Descriptions • If we shared an ontology of algebraic

Definitional Extensions

• Preserving semantics is equivalent to preserving models of the axioms.– preserving models = isomorphism

• We classify models by using invariants(properties of models that are preserved by isomorphism).– automorphism groups, endomorphism semigroups

• Classes of activities and objects are specified using these invariants.

• Preserving semantics is equivalent to preserving models of the axioms.– preserving models = isomorphism

• We classify models by using invariants(properties of models that are preserved by isomorphism).– automorphism groups, endomorphism semigroups

• Classes of activities and objects are specified using these invariants.

Page 15: Process Specification Language: Principles and …ontolog.cim3.net/.../PSL--MichaelGruninger_20040916.pdf2004/09/16  · Process Descriptions • If we shared an ontology of algebraic

Process Descriptions

• If we shared an ontology of algebraic fields, we would not share arbitrary sentences; rather, we would share polynomials.

• Within PSL, process descriptions are boolean combinations of definable types realized in some model of the ontology.

• Example: precondition axioms are types for markov_precond activities

• If we shared an ontology of algebraic fields, we would not share arbitrary sentences; rather, we would share polynomials.

• Within PSL, process descriptions are boolean combinations of definable types realized in some model of the ontology.

• Example: precondition axioms are types for markov_precond activities

Page 16: Process Specification Language: Principles and …ontolog.cim3.net/.../PSL--MichaelGruninger_20040916.pdf2004/09/16  · Process Descriptions • If we shared an ontology of algebraic

Semantic Integration• Issue:

– Automatic analysis of software application interoperability from semantic mappings.

• Problem: – Automatically determine which concepts

are shared by two software applications.• Solution:

– Twenty Questions Tool semi-automatically generates mappings between PSL and application ontologies.

– Use automated reasoners to compare semantic mappings for different applications.

Gruninger, M. and Kopena, J. (2003) Semantic Integration through Invariants, to appear in AI Magazine.

• Issue:– Automatic analysis of software application

interoperability from semantic mappings.• Problem:

– Automatically determine which concepts are shared by two software applications.

• Solution:– Twenty Questions Tool semi-automatically

generates mappings between PSL and application ontologies.

– Use automated reasoners to compare semantic mappings for different applications.

Gruninger, M. and Kopena, J. (2003) Semantic Integration through Invariants, to appear in AI Magazine.

Page 17: Process Specification Language: Principles and …ontolog.cim3.net/.../PSL--MichaelGruninger_20040916.pdf2004/09/16  · Process Descriptions • If we shared an ontology of algebraic

Semantic TranslationTranslation definitions specify the mappings between PSL and application ontologies.

Example: The AtomicProcess in OWL-S maps to the activity concept in PSL only if the activity is atomic and its preconditions and effects depend only on the state prior to the occurrences of the activity.

(forall (?a)(iff (AtomicProcess ?a)

(and (atomic ?a)(markov_precond ?a)(markov_effects ?a))))

Page 18: Process Specification Language: Principles and …ontolog.cim3.net/.../PSL--MichaelGruninger_20040916.pdf2004/09/16  · Process Descriptions • If we shared an ontology of algebraic

Twenty Questions

How can we generate translation definitions?

• Each invariant from the classification of models corresponds to a different question.

• Any particular activity or object will have a unique value for the invariant.

• Each possible answer to a question corresponds to a different value for the invariant.

How can we generate translation definitions?

• Each invariant from the classification of models corresponds to a different question.

• Any particular activity or object will have a unique value for the invariant.

• Each possible answer to a question corresponds to a different value for the invariant.

Page 19: Process Specification Language: Principles and …ontolog.cim3.net/.../PSL--MichaelGruninger_20040916.pdf2004/09/16  · Process Descriptions • If we shared an ontology of algebraic

Limitations

• Not all theories have complete sets of invariants

• Invariants may not be first-order definable• How do we determine the correctness of the

translation definitions?

• Not all theories have complete sets of invariants

• Invariants may not be first-order definable• How do we determine the correctness of the

translation definitions?

Page 20: Process Specification Language: Principles and …ontolog.cim3.net/.../PSL--MichaelGruninger_20040916.pdf2004/09/16  · Process Descriptions • If we shared an ontology of algebraic

Demonstrations

• Automatic analysis of software application interoperability from semantic mappings.

• Automated analysis of business processes• Self-coordinating software agents based on

published process specifications.• Construction project management• Behaviour recognition

• Automatic analysis of software application interoperability from semantic mappings.

• Automated analysis of business processes• Self-coordinating software agents based on

published process specifications.• Construction project management• Behaviour recognition

Page 21: Process Specification Language: Principles and …ontolog.cim3.net/.../PSL--MichaelGruninger_20040916.pdf2004/09/16  · Process Descriptions • If we shared an ontology of algebraic

Business Process Analysis

• Issue:– Enhance computer support for enterprise design,

integration, and decision-making• Problem:

– Customer Relationship Management processes at IBM Canada too complicated to verify manually.

• Solution:– Used a Prolog implementation of PSL to represent the

processes and determine consistency of policies. Identified ten problems, four of which had not been discovered even at the time of rollout

Gruninger, M., Atefi, K., and Fox, M.S., (2000) Ontologies to support process integration in enterprise engineering, Computational and Mathematical Organization Theory, 6:381-394.

• Issue:– Enhance computer support for enterprise design,

integration, and decision-making• Problem:

– Customer Relationship Management processes at IBM Canada too complicated to verify manually.

• Solution:– Used a Prolog implementation of PSL to represent the

processes and determine consistency of policies. Identified ten problems, four of which had not been discovered even at the time of rollout

Gruninger, M., Atefi, K., and Fox, M.S., (2000) Ontologies to support process integration in enterprise engineering, Computational and Mathematical Organization Theory, 6:381-394.

Page 22: Process Specification Language: Principles and …ontolog.cim3.net/.../PSL--MichaelGruninger_20040916.pdf2004/09/16  · Process Descriptions • If we shared an ontology of algebraic

Coordinating Software Agents

• Issue:– Handle very complex and diverse systems.

• Problem:– Mobile software agents on an ad hoc wireless network must locate

each other to integrate sensor data for target identification.• Solution:

– Specify the communication capabilities of the agents as activities within PSL

– Locate potential collaborators by deduction (using Otter)Kopena, J. (2004) Service Descriptions, Matchmaking, Composition: Reasoning on Actions and Beliefs, Technical Report, Geometric and Intelligent

Computing Laboratory, Drexel University.

• Issue:– Handle very complex and diverse systems.

• Problem:– Mobile software agents on an ad hoc wireless network must locate

each other to integrate sensor data for target identification.• Solution:

– Specify the communication capabilities of the agents as activities within PSL

– Locate potential collaborators by deduction (using Otter)Kopena, J. (2004) Service Descriptions, Matchmaking, Composition: Reasoning on Actions and Beliefs, Technical Report, Geometric and Intelligent

Computing Laboratory, Drexel University.

Page 23: Process Specification Language: Principles and …ontolog.cim3.net/.../PSL--MichaelGruninger_20040916.pdf2004/09/16  · Process Descriptions • If we shared an ontology of algebraic

Construction Project Management

• Issue:– Coordinate knowledge existing across organizations and

disciplines

• Problem:– Modify project schedules based on updated information from

contractors and subcontractors.

• Solution:– Contractors use PDAs to send updates to the project server; PSL is

used to determine if these updates are inconsistent with the project schedule (using Otter), and then communicate the changes to other contractors.

Cheng, J., Gruninger, M., Sriram, R., and Law, K. (2003) Process Specification Language for project scheduling information exchange, International Journal of IT in Architecture, Engineering and Construction, 1:307-328.

• Issue:– Coordinate knowledge existing across organizations and

disciplines

• Problem:– Modify project schedules based on updated information from

contractors and subcontractors.

• Solution:– Contractors use PDAs to send updates to the project server; PSL is

used to determine if these updates are inconsistent with the project schedule (using Otter), and then communicate the changes to other contractors.

Cheng, J., Gruninger, M., Sriram, R., and Law, K. (2003) Process Specification Language for project scheduling information exchange, International Journal of IT in Architecture, Engineering and Construction, 1:307-328.

Page 24: Process Specification Language: Principles and …ontolog.cim3.net/.../PSL--MichaelGruninger_20040916.pdf2004/09/16  · Process Descriptions • If we shared an ontology of algebraic

Behavior Recognition

• Scenario:– Predict future behaviors of other autonomous

vehicles by observing their current behavior, to avoid accidents or improve performance.

• Potential solution:– Specify the driving behaviors as complex activities

in PSL– Constraint satisfaction techniques (using Theorist)

determine which driving behaviors are consistent with the observations.

• Scenario:– Predict future behaviors of other autonomous

vehicles by observing their current behavior, to avoid accidents or improve performance.

• Potential solution:– Specify the driving behaviors as complex activities

in PSL– Constraint satisfaction techniques (using Theorist)

determine which driving behaviors are consistent with the observations.

Page 25: Process Specification Language: Principles and …ontolog.cim3.net/.../PSL--MichaelGruninger_20040916.pdf2004/09/16  · Process Descriptions • If we shared an ontology of algebraic

Major Project Milestones

• April 2000: PSL accepted as a New Work Item ISO 18629 within ISO SC4/SC5

• October 2001: ISO 18629-1 passed CD ballot• June 2002: ISO 18629-12 (Outer Core) submitted for CD ballot.• September 2002: PSL 2.0 released (including grammars for

process descriptions)• November 2002: ISO 18629-11 (PSL-Core) passed CD ballot• February 2004: ISO 18629-11 and ISO 18629-12 passed DIS

ballot• June 2004: ISO 18629-1 accepted as International Standard

• April 2000: PSL accepted as a New Work Item ISO 18629 within ISO SC4/SC5

• October 2001: ISO 18629-1 passed CD ballot• June 2002: ISO 18629-12 (Outer Core) submitted for CD ballot.• September 2002: PSL 2.0 released (including grammars for

process descriptions)• November 2002: ISO 18629-11 (PSL-Core) passed CD ballot• February 2004: ISO 18629-11 and ISO 18629-12 passed DIS

ballot• June 2004: ISO 18629-1 accepted as International Standard

Page 26: Process Specification Language: Principles and …ontolog.cim3.net/.../PSL--MichaelGruninger_20040916.pdf2004/09/16  · Process Descriptions • If we shared an ontology of algebraic

Future Directions

• Formal characterization of the consistency and completeness of all remaining PSL extensions.

• Implementation of Twenty Questions Semantic Mapping tool

• Specification of Process Information Exchange protocols to support self-integrating systems.

• Formal characterization of the consistency and completeness of all remaining PSL extensions.

• Implementation of Twenty Questions Semantic Mapping tool

• Specification of Process Information Exchange protocols to support self-integrating systems.

Page 27: Process Specification Language: Principles and …ontolog.cim3.net/.../PSL--MichaelGruninger_20040916.pdf2004/09/16  · Process Descriptions • If we shared an ontology of algebraic

Summary

• The meaning of terms in the ontology is characterized by models for first-order logic.

• The PSL Ontology has a first-order axiomatization of the class of models.

• Identify invariants of the models

• By axiomatizing these invariants, translation definitions can be shown to preserve semantics between software applications.

• The meaning of terms in the ontology is characterized by models for first-order logic.

• The PSL Ontology has a first-order axiomatization of the class of models.

• Identify invariants of the models

• By axiomatizing these invariants, translation definitions can be shown to preserve semantics between software applications.

Page 28: Process Specification Language: Principles and …ontolog.cim3.net/.../PSL--MichaelGruninger_20040916.pdf2004/09/16  · Process Descriptions • If we shared an ontology of algebraic

Further Questions?

Michael [email protected](301) 975-6536

http://www.nist.gov/psl