Agenda

  • Motivation
  • Overview
    • Introduction
    • Relation to the WSMO and WSML
    • Design principle
    • Lifecycle
  • Conceptual Model
    • Architecture
    • Components
    • System entry points
  • Behavioral Model
    • Execution semantics
  • Illustration by larger example
  • Extensions
  • Summary
  • References
 


How SESA emerged?

  • Service Orientation in information systems
    • Service-Oriented Computing (SOC)
      • Services as the fundamental elements for the development of rapid, low-cost, and easily integrable enterprise applications,
    • Service-Oriented Architecture (SOA)
      • SOC can be abstractly implemented by SOA,
      • From function to object to service,
      • SOA requirements: loose coupling, implementation neutrality, flexible configuration, long lifetime, granularity and teams.
  • Existing technologies and SOA solutions are…
    • … difficult to scale without a proper degree of automation,
    • … partial solution to interoperability.
  • Semantically Enabled Service Oriented Architecture (SESA) represents SOA empowered by adding semantics as a means to deal with heterogeneity and mechanization of service usage.


What is SESA?

  • Application of SESA offers a scalable integration, more adaptive to changes
    • service offerings and required capabilities are described by semantically rich and formal service models,
    • exchanged data is also semantically described, and
  • reasoning provides total or partial automation of tasks.
  • A SESA implementation should build a layer on top of the existing technologies (e.g. Web Services).
  • Web Service Execution Environment (WSMX) is an implementation of SESA.


SESA Architecture



WSMX Goals

  • Middleware for Semantic Web Services
    • Allows service providers to focus on their business,
  • Reference implementation for WSMO
    • Eat our own cake,
  • Environment for goal based discovery and invocation
    • Run-time binding of service requesters and providers,
  • Provide a flexible Service Oriented Architecture
    • Add, update, remove components at run-time as needed,
  • Keep open-source to encourage participation
    • Developers are free to use in their own code, and
  • Define formal execution semantics
    • Unambiguous model of system behaviour.


Introduction

WSMX is…

  • … is comprehensive software framework for runtime binding of service requesters and service providers,
  • … interprets service requester’s goal to
    • discover matching services,
    • select (if desired) the service that best fits,
    • provide data/process mediation (if required), and
    • make the service invocation
  • … is reference implementation for WSMO
  • … has a formal execution semantics, and
  • … is service oriented, event-based and has pluggable architecture 
    • Open source implementation available through Source Forge,
    • based on microkernel design using technologies such as JMX.


Relation to WSMO and WSML



Design principles

  • Service-oriented principle
    • Service reusability, loose coupling, abstraction, composability, autonomy, discoverability,
  • Semantic Principle
    • Rich and formal description of information and behavioral models enabling automation of certain tasks by means of logical reasoning,
  • Problem-solving principle
    • Goal-based discovery and invocation of services, and
  • Distributed principle
    • Executing process across a number of components/services over the network, thus promoting scalability and quality of process.


Lifecycle

  • WSMX aims to support the complete Semantic Web Service lifecycle:
    • Discovery - determines usable services for a request,
    • Composition - combine services to achieve a goal,
    • Selection - chooses most appropriate service among the available ones,
    • Mediation- solves mismatches (data, protocol, process) hampering interoperation,
    • Choreography – interactions and processes between the service providers and clients,
    • Grounding – lifting and lowering between the semantic and syntactic data representations, and
    • Invocation - invokes Web service following programmatic conventions.


Architecture



Architecture (cont')

  • WSMX architectural components are divided into three layers  
    • Execution Management layer
      • Responsible for managing all other components and interactions between them,
      • Components are orchestrated in the form of Execution Semantics (explained in upcoming slides).
    • Broker layer
      • Represented by a number of broker services each dedicated to accomplish different tasks in SWS lifecycle.
    • Base layer
      • Provides support to various upper level components by providing storage services, as well as parsing and reasoning.
  • WSMX provides different entry points in order to enable users to consume the offered functionality    



Core Management

  • Core Management is a kernel of WSMX with the following objectives
    • It realizes the overall operational semantics in order to achieve the functional semantics of its client-side interface
    • It orcheztrates the functionality of the middleware components into a coherent process in an orderly and consistent fashion called Execution Semantics (see later)
    • It ensures the proper inter-component communication through publishing and subscribing to the data as sets of triples over triple space or directly in the synchronous communication manner 


Communication Manager and Invoker

  • Responsible for interaction with services and entities that are external to WSMX.
  • Should be open to support as many transport and messaging protocols as possible (transparently to WSMX).
  • WSMX uses 
    • The SOAP implementation from Apache AXIS, and 
    • The Apache Web Service Invocation Framework (WSIF) .
  • Both RPC and Document style invocations possible



Grounding

  • WSMO service descriptions are grounded to WSDL by the means of XSLT lifting and lowering



Grounding - Example

Web Service Invocation Response   

Lifting transformation

  Data represented as ontology and ontology instance



Discovery

  • Responsible for finding appropriate Web Services capable of fulfilling a goal
  • Different techniques available 
    • trade-off: ease-of-provision vs. accuracy 
    • resource descriptions & matchmaking algorithms 
  • Key Word Matching 
    • match natural language key words in resource descriptions,
  • Controlled Vocabulary
    • ontology-based key word matching, and
  • Semantic Matchmaking 
    • what Semantic Web Services aim at.



Discovery – Key Word Matching

  • Allows for a fast filtering and ranking of the huge number of available services rather quickly.
  • Nonfunctional properties from the Dublin Core namespace (e.g. dc#description) are candidates for indexing and querying.
  • Dictionaries of synonyms (WordNet) can be used to discover more services.  
wsmlVariant _"http://www.wsmo.org/wsml/wsml-syntax/wsml-rule" namespace {_"http://www.wsmo.org/sws-challenge/WSMuller#", dc _"http://purl.org/dc/elements/1.1#"} webService WSMuller nfp dc#title hasValue "Muller Web Service" dc#description hasValue "We ship to Africa, North America, Europe, Asia (all countries)." dc#contributor hasValue "Maciej Zaremba, Matt Moran, Tomas Vitvar, Thomas Haselwanter" endnfp capability WSMullerCapability ...


Discovery – Simple Semantic Descriptions

   
 

  


  • Exact Match:
    • G, WS, O, M ╞ ∀x. (G(x) <=> WS(x) )

 
 
  •  PlugIn Match: 
    • G, WS, O, M ╞ x. (G(x) => WS(x) )
 
 
  • Subsumption Match: 
    • G, WS, O, M ╞ x. (G(x) <= WS(x) )
 
 
  • Intersection Match: 
    • G, WS, O, M ╞ x. (G(x)  WS(x) )
 
 
  • Non Match: 
    • G, WS, O, M ╞ ¬ x. (G(x)  WS(x) )
 



Discovery – Simple Semantic Descriptions - Example



Discovery – Simple Semantic Descriptions - Example



Ranking and Selection

  • One service which best satisfies the user preferences is selected from the candidate services returned by the service discovery.
  • Selection
    • determines best candidate out of discovered WS,
  • Ranking
    • determines a priority list of discovered WS.
  • The process is run after “functional” discovery 
  • Criteria:
    • Quality of Service (security, robustness, availability),
    • Context (regional, business / social communities),
    • Preferences and policies,
    • Financial criteria,


Ranking and Selection (cont')

  • Ontologies for specifying QoS (http://www.wsmo.org/ontologies/nfp)
    • set of 17 ontologies (i.e. locative, temporal, availability, price, trust, security, etc.)‏
    • provide the terminology needed to specify QoS aspects of services
  • The data required for ranking and selection can be attached through the non-functional aspects of SWS
  • The example defines the value of price for the Web Service consumption as a WSML logical expression which needs to be evaluated. 
  • If the client is older than 60 or less than 100 years old the predefined absolute price is taken which must be less or equal to 10.


Ranking and Selection (cont')

  • Service Ranking
    • Based on order theory which defines notions of total order, partial order and ranking.
    • WSMX uses Multicriteria ranking – considers multiple nonfunctional properties
  • Service Selection
    • User specifies selection criteria in terms of nonfunctional properties such as SLA, QoS, etc. Those can be obtained from goal description.
    • Service defines nonfunctional property values are directly provided or computed/collected by a monitoring tool.



Ranking and Selection (cont')

 


Data Mediation

  • Ontology-to-ontology mediation
  • A set of mapping rules are defined and then executed
    • Ontology Mapping Language
  • Initially rules are defined semi-automatic
  • Create for each source instance the target instance(s)


Data Mediation (cont')

Design-time

  • Inputs
    • Source Ontology and Target Ontology
  • Features
    • Graphical interface
    • Set of mechanism towards semi-automatic creation of mappings
    • Capturing the semantic relationships identified in the process
    • Storing these mappings in a persistent storage
  • Output
    • Abstract representation of the mappings

Run-time

  • Main Mediation Scenario: Instance Transformation
  • Inputs
    • Incoming data
      • Source ontology instances
  • Features
    • Completely automatic process
    • Grounding of the abstract mappings to a concrete language
      • WSML
    • Uses reasoner to evaluate the mapping rules
  • Outputs
    • Mediated data
      • Target ontology instances


Data Mediation- Example

wsmlVariant _"http://www.wsmo.org/wsml/wsml-syntax/wsml-flight"
namespace { _"http://deri.org/iswc2005tutorial/ontologies/travel1#"}

ontology travel1

concept ticket
     type ofType _string
     departure_city ofType _string
     departure_code ofType _string
     arrival_city ofType _string
     arrival_code ofType _string
     departure_date ofType date
     arrival_date ofType date
     departure_time ofType time
     arrival_time ofType time
     issuing_terms ofType terms
     firstName ofType _string
     lastName ofType _string

...

 





wsmlVariant _"http://www.wsmo.org/wsml/wsml-syntax/wsml-flight"
namespace { _"http://deri.org/iswc2005tutorial/ontologies/travel2#"}

ontology travel2

concept travelVoucher
     type ofType _string
     bearer ofType name
     toFrom ofType tripPoints
     departureDate ofType date
     arrivalDate ofType date
     departureTime ofType time
     arrivalTime ofType time
     terms ofType payment
     deliveryDate ofType date
...



Data Mediation – Example – WSMT Mappings



Data Mediation - Example (cont')

<Alignment> <dc:identifier rdf:resource="m2"/> <onto1> <formalism name="WSML" uri="http://www.wsmo.org/wsml"/><uri>http://deri.org/iswc2005tutorial/ontologies/travel1#travel1</uri> </onto1> <onto2> <formalism name="WSML" uri="http://www.wsmo.org/wsml"/><uri>http://deri.org/iswc2005tutorial/ontologies/travel2#travel2</uri> </onto2> <map> … <Cell id="http://deri.org/iswc2005tutorial/ontologies/travel1#tickethttp://deri.org/iswc2005tutorial/ontologies/travel2#travelVoucher"> <entity1> <Class rdf:about="http://deri.org/iswc2005tutorial/ontologies/travel1#ticket"></Class> </entity1> <entity2> <Class rdf:about="http://deri.org/iswc2005tutorial/ontologies/travel2#travelVoucher"></Class> </entity2> <measure>1.0</measure> <relation>ClassMapping</relation> </Cell> … </map> </Alignment>


Data Mediation - Example (cont')

wsmlVariant _"http://www.wsmo.org/wsml/wsml-syntax/wsml-flight"
namespace { _"http://deri.org/iswc2005tutorial/ontologies/travel1#”}

ontology travel1

instance my_ticket_input memberOf ticket
     type hasValue "flight"
     firstName hasValue "Adrian"
     lastName hasValue "Mocan"
     arrival_date hasValue my_arrival_date
     departure_date hasValue my_departure_date
     arrival_time hasValue my_arrival_time
     departure_time hasValue my_departure_time
     departure_city hasValue "Innsbruck"
     departure_code hasValue "INN"
     arrival_city hasValue "Rome"
     arrival_code hasValue "RO"
     issuing_terms hasValue my_terms

 





wsmlVariant _"http://www.wsmo.org/wsml/wsml-syntax/wsml-flight"
namespace { _"http://deri.org/iswc2005tutorial/ontologies/travel2#"}

ontology travel2

instance expected_travelVoucher memberOf travelVoucher
    departureDate hasValue expected_departureDate
    terms hasValue expected_payment
    arrivalDate hasValue expected_arrivalDate
    bearer hasValue expected_name
    departureTime hasValue expected_departureTime
    arrivalTime hasValue expected_arrivalTime
    type hasValue "flight"
 


Process Mediation

  • Requester and provider have their own communication patterns
  • Only if the two match precisely, a direct communication may take place
  • At design time equivalences between the choreographies’ conceptual descriptions is determined and stored as set of rules
  • The Process Mediator provides the means for runtime analyses of two choreography instances and uses mediators to compensate possible mismatches  


Process Mediation (cont')



Process Mediation - Example

  • Not a priori compatible behavior interfaces for communication & information interchange
  • Partially resolvable by “process mediation patterns”


Process Mediation - Example (cont')




Choreography

  • Requester and provider have their own observable communication patterns
    • Choreography part of WSMO  
  • Choreography instances are loaded for the requester and provider
    • Both requester and provider have their own WSMO descriptions
  • Abstract State Machines (ASM)-based Choreography Engine
    • Evaluation of transition rules
      • prepares the available data
    • Sends data to the Process Mediator
      • filters, changes or replaces data
    • Receives data from PM and forwards it to the Communication manager
      • data to be finally sent to the communication partner


Choreography – Abstract State Machines

  • The model used to express typical characteristics of a choreography must be compliant to the following features:
    • Abstract – hides away any details regarding the underlying message exchange protocols and message formats,
    • State-based – the interactions are described in the form of updates on a state of the choreography,
    • Expressive – allows describing features such as sequences of message interactions and branching, and
    • Ontology Reliance – ontologies are used as the underlying data model for message exchanges.
  • The abstract state model chosen to address the requirements is inspired by the Abstract State Machines (ASM) methodology.



Choreography – Abstract State Machines (cont')

  • The choreography model consists primarily of
    • state signature – defines ontology which is used by the choreography,
    • set of transition rules – express the interaction steps in the choreography and also the updates over the state.
  • State signature allows to define
    • Set of imported ontologies
    • Set of modes which are associated with the concepts and/or relations.
  • Modes can be of the following types:
    • static – extension of the concept/relation cannot be changed,
    • in - extension of the concept/relation can only be changed by the client and read by the choreography instance; grounding mechanism must be provided.
    • out - extension of the concept/relation can only be changed by the the choreography instance and read by the client; grounding mechanism must be provided.
    • shared - extension of the concept/relation can be changed and read by both choreography instance and client; grounding mechanism must be provided, and
    • controlled - extension of the concept/relation is changed and read only by the choreography instance.


Choreography – Abstract State Machines (cont')

  • Transition rules define actual behavior of the choreography.
  • The rules can take the form of
    • if Condition then Rules endIf – if the condition holds executes the updates.
    • forall Variables with Condition do Rules endForall - simultaneous execution of updates for each binding of a variable satisfying a given condition.
    • choose Variables with Condition do Rules endChoose - executes an update with an arbitrary binding of a variable chosen among those satisfying the selection condition.
  • , where
    • condition (guard) - is an arbitrary logical expression as defined by WSML,
    • rules - may take the form of Updates, whose execution is to be understood as changing (or defining, if there was none) instances in an ontology
      • add – adds new instances in the state ontology,
      • delete – deletes instances from the state ontology, and
      • update – updates instances in the state ontology.


Choreography - Example



<shipmentOrderReq(soi#MoonContactInfo, soi#shipmentDate1, package, soi#SzyslakContactInfo),
package(1, 7.0, 6.0, 4.0, 1.0),
shipmentDate1(“2009-01-21T13:00:00.046Z”, "2009-01-22T13:00:00.046Z")>
 
 
  

  
<shipmentOrderResp(“2009-01-21T15:00:00.046Z”, 65.03),
package(1, 7.0, 6.0, 4.0, 1.0),
shipmentDate1(“2009-01-21T13:00:00.046Z”, "2009-01-22T13:00:00.046Z")>

 


Resource Manager

  • Stores internal memory model to a data store
  • Decouples storage mechanism from the rest of WSMX
  • Data model is compliant to WSMO API
  • Independent of any specific data store implementation i.e. database and storage mechanism
  • Maintains six repositories to store
    • WSMO top level entities, i.e.
      • Goals,
      • Web Service descriptions,
      • Mediators, and
      • Ontologies.
    • Event data and intermediate messages
    • WSDL descriptions


Reasoners

  • Different components within WSMX necessitate efficient and different reasoning functionality:
    • Discovery
      • Simple ontological reasoning and query answering as well as logical entailment between preconditions and postconditions of SWS and Goals
      • Both description logic-based and logic programming–based reasoning is required.
    • Selection
      • Evaluation of the logical rules that are used to model the non-functional properties of services
      • Logic programming–based reasoning is required.
    • Data mediation
      • Ontology mapping rules, source instances and source and target schema information are loaded into the reasoning space where rules are evaluated in order to produce target instances.
      • Logic programming–based reasoning is required.
    • Process Mediation
      • Reasoning is used to check whether messages are expected at the certain phase of the communication.
      • Evaluation of transition rules is required.
  • Different reasoning functionality is provided to WSMX through WSML2Reasoning framework.



Reasoners - WSML2Reasoner Framework

  • Represents a generic, flexible architecture for reasoning with the different variants of the WSML family.
  • Instead of implementing new reasoners it uses existing reasoner implementations for WSML through a wrapper that
    • maps WSML expressions into a common (shared) knowledge representation format (different formats for the rule-based and description logic based WSML variants), and
    • maps the expressions via specific adapters into the appropriate syntaxes of concrete reasoning engines.
  • People can use their specific existing reasoner of choice and can exploit already developed, proven and tested reasoning systems.


Reasoners - WSML2Reasoner Framework (cont')



Reasoners - WSML2Reasoner Framework (cont')

  • Reasoning with rule-Based WSML
    • Covers WSML-Core, WSML-Flight, and WSML-Rule
  • Supported through semantics-preserving syntactic transformation of WSML ontologies to Datalog programs with (in)equality and integrity constrains.
    • Axiomatization – conversion of conceptual elements into appropriate axioms,
    • Normalization – reduction of complexity by bringing the expressions closer to the simple syntactic form of literals in Datalog rules
    • Lloyd-Topor transformation – flattening of the remaining complex WSML logical expressions in order to produce simple rules (single head and conjunctive – possibly negated - body literals).
    • Datalog rule generation – All WSML logical expressions are transformed into a Datalog program

  • Supported reasoning tasks
    • Query answering, ontology consistency, entailment, retrieval



Reasoners - WSML2Reasoner Framework (cont')

  • Reasoning WSML-DL
  • Supported through semantics-preserving syntactic transformation of WSML-DL ontologies to OWL-DL ontologies.
    • Relations to attributes – replacing relations, subrelations, and relation instances by attributes and axioms,
    • Axiomatization - conversion of conceptual elements into appropriate axioms,
    • Implication reduction rules – replacing equivalences and right implications in logical expressions by left implications,
    • Inverse implication reduction rules – replace conjunctions on the left side and disjunctions on the right side of an inverse implication by left implications,
    • Molecule decomposition rules – replace complex molecules inside logical expressions by conjunctions of cimple ones, and
    • OWL API transformation – each logical expression is translated into the corresponding OWL descriptions
  • Supported reasoning tasks
    • Knowledge base consistency, concept satisfiability, concept subsumption, instance checking, realization, instance retrieval



Conceptual Model – Entry Points

  • Represent input ports to which messages can be sent for initiating specific execution semantics.
  • Published as SOAP Endpoints
    • getWebServices(WSMLDocument): Web Services
      • A service requester wishes to discover a list of SWS fulfilling its requirements provided by as a goal description using WSML.
      • A set of WSML Web Service descriptions whose capability matches the goal is returned.
    • invokeWebService(WSMLDocument, Context): Context
      • Used to invoke already known Semantic Web Service by relying on data provided in the form of WSML ontology and conversation context.
    • achieveGoal(WSMLDocument): Context
      • A service requester wishes to use WSMX for all aspects of goal-based service invocation (discovery, mediation, invocation) by providing both goal and data in the single WSML document.
      • Processing of the message is identified by the conversation context .


Execution Semantics

  • Execution Semantics is a formal description of the operational behavior of the system in terms of computational steps
  • The benefits of having behavioral models are in
    • Greater flexibility in SESA implementations,
    • Foundations for model testing,
    • Executable representation, and
    • Improved model understanding among humans.
  • Mandatory execution semantics
    • Goal-Based Web Service Discovery
    • Web Service Invocation
    • Goal-Based Service Execution



Execution Semantics – Goal-based discovery

 


Execution Semantics – Goal-based discovery (cont')

  • Input
    • Service requester wishes to discover a list of SWS fulfilling its requirements provides them as a goal description using WSML.
  • Output
    • A set of WSML Web Service description whose capability matches the goal is returned.
  • Process
    • Message containing WSML goal is received and passed to the communication manager, which takes care of message persistence.
    • The goal is sent to discovery activity which evaluates whether a WSML Web service from the repository is capable of fulfilling the goal. It may need data mediation as its internal step.
    • The selection activity may be triggered to determine which of the discovered services to return to the service requester.
    • WSML Web service description is returned in a form of message to the requester by relying on the Communication Manager facilities.


Execution Semantics – Web Service Invocation



    Execution Semantics – Web Service Invocation (cont')

    • Input
      • As input the requester is providing WSML content (Web service + data) and conversation context (if known!!! The first message is sent without it, but it is returned as output of the invocation).
    • Output
      • Results of the Web Service invocation (and possibly conversational context)
    • Process 
      • Communication Manager unpacks the content and retrieves Web service and data.
      • Data mediation may be required in cases where heterogeneities exists (this step can internally use reasoner)
      • Process mediation has all the required data to commence (matching the message patterns and data types offered by SWS and required by the goal). This is a process of aligning of input data instances so that they can be understood by the Choreography.
      • The choreography activity is commencing (determines which messages to send on the basis of choreography descriptions - ASM).
      • Grounding is taking place in order to transform those instances to the format required by the invoked service.
      • Invocation takes place


    Execution Semantics – Goal-based Service Execution




      Execution Semantics – Goal-based Service Execution (cont')

      • Service requester wishes to employ the complete SWS lifecycle, i.e., all aspects of goal-based service invocation (discovery, mediation, invocation)
      • Input
        • Requester provides both the goal and the input data descriptions in a single WSML document.
      • Output
        • Results of the Web Service invocation (if any).
      • Operation
        • Execute the Goal-based Web Service discovery execution semantics
        • In case of more than one result run the selection process in order to determine the Web Service which is the most appropriate for the execution (based on non-functional properties and employed selection mechanisms)
        • Execute the Web Service Invocation execution semantics




      Scenario description

      • The goal is to discover a suitable solution for the transportation of a package with defined size and weight
      • Candidate Web Services have different constraints regarding the transportation destinations, package size and weight acceptance, as well as pricing schemas
      • For more information visit:
        • http://sws-challenge.org/wiki/index.php/Scenario:_Shipment_Discovery


      Goal description

       I want to have my package shipped from CA, USA to Tunis, Africa size (7/6/4), weight 1 lbs, the cheaper the better.

      wsmlVariant _"http://www.wsmo.org/wsml/wsml-syntax/wsml-flight"

      goal GoalA1

      capability GoalA1Capability

        postcondition

          definedBy

           ( ?x[sop#price hasValue ?price] memberOf sop#PriceQuoteResp

               and sop#isShipped(shipmentOrderReq) ).

       

      interface GoalA1Interface

        choreography GoalA1Choreography

          stateSignature GoalA1StateSignature

          in sop#ShipmentOrderReq

          out sop#ShipmentOrderResp

          transitionRules GoalA1TransitionRules

            forall {?request} with

              (?request memberOf sop#ShipmentOrderReq)

            do

                add(_#1 memberOf sop#ShipmentOrderResp)

            endForall

      ontology GoalRequest

      instance shipmentOrderReq memberOf sop#ShipmentOrderReq

        sop#from hasValue soi#MoonContactInfo

        sop#shipmentDate hasValue soi#shipmentDate1

        sop#package hasValue package

        sop#to hasValue soi#SzyslakContactInfo

      instance package memberOf so#Package

        so#quantity hasValue 1

        so#length hasValue 7.0

        so#width hasValue 6.0

        so#height hasValue 4.0

        so#weight hasValue 1.0

      instance shipmentDate1 memberOf so#ShipmentDate

        so#earliest hasValue "2009-01-21T13:00:00.046Z"

        so#latest hasValue "2009-01-22T13:00:00.046Z"




      AchieveGoal execution semantics



      AchieveGoal execution semantics (cont')



      AchieveGoal execution semantics (cont')



      AchieveGoal execution semantics (cont')



      AchieveGoal execution semantics (cont')



      AchieveGoal execution semantics (cont')



      AchieveGoal execution semantics – choreography exec



      <shipmentOrderReq(soi#MoonContactInfo, soi#shipmentDate1, package, soi#SzyslakContactInfo),
        package(1, 7.0, 6.0, 4.0, 1.0),
        shipmentDate1(“2009-01-21T13:00:00.046Z”, "2009-01-22T13:00:00.046Z")>
       
       
        

        
      <shipmentOrderResp(“2009-01-21T15:00:00.046Z”, 65.03),
        package(1, 7.0, 6.0, 4.0, 1.0),
        shipmentDate1(“2009-01-21T13:00:00.046Z”, "2009-01-22T13:00:00.046Z")>

       


      AchieveGoal execution semantics



      Possible Extensions



      Discovery

      • Discovery component has undergone a set of smaller improvements:
        • Instead of full Semantic Web Service descriptions the results are returned in the form of WG mediators.
        • Caching of the discovery results, i.e., WG mediators.
      • WG mediators are allowing us to
        • Connect Goal descriptions with the Semantic Web Service descriptions,
        • Attach discovery (e.g., type of match) and ranking results (e.g., fitness of the service).
      • Caching of the results enables reductions of the computational time required for discovery when the same Goal is issues multiple times over the same set of SWS descriptions.


      Monitoring and Complex Event Processing

      • WSMX can be viewed as a vibrant events producer
        • events related to the broker services execution,
        • events related to the external Web Service invocations,
        • events related to the progress of processed execution semantics.
      • The events represent a rich source of knowledge which can facilitate profiling, optimization and reliability of the environment.
      • The monitoring and complex event processing subsystem exhibits following behavior
        • WSMX components have been instrumented to emit appropriate semantically-described events in regard to the computational process progress,
        • RDF-based CEP engine detects occurrences of specified event patterns and executes the appropriate actions de- fined for the detected event (e.g. update of the aggregated statistical measures, notification of the administrator about the successive operation failures)



      Notification Broker

      • Notification Broker enables asynchronous communication within WSMX
      • The broker provides following functionality
        • registering and storing user goal-descriptions and related results, and
        • notifying subscribed users of the related results.
      • The broker currently supports the subscription to the goal-based Web Service discovery through a new entry point which fires the execution semantics responsible for
        • checking for the existing (and not expired) user subscriptions,
        • executing for each subscribed goal the discovery process, and
        • once new services have been matched with respect to the previous subscriptions these newly discovered services are notified to the users.
      • The notification can employ two communication channels
        • Email notification, and
        • Web Service invocation.



      Orchestration

      • Orchestration Engine features are
        • support of the dataflow in a manner consistent with WSMO/L, and
        • Adoption of the explicit concept of performance, and introduction of a new type of mediator to mediate between performances.
      • Orchestration Engine solves following issues
        • mediation in any connection, including dataflow, between heterogeneous components;
        • extraction and aggregation in the consumption and production of messages according to the WSML grounding approach
        • execution of service discovery and service invocation within composed services.


      Summary

      • Clear separation of SWS, SESA, SEE and WSMX notions.
      • WSMX is reference implementation of WSMO.
      • WSMX contributes to solving scalability issues by automating various service-related tasks.
      • WSMX consists of various components dedicated to solving particular steps in the overall service life cycle orchestrated by Core Management.
      • Execution semantics is a formal description of the operational behavior of the system in terms of computational steps


      References

      • Dieter Fensel, Mick Kerrigan, Michal Zaremba (Eds.), Implementing Semantic Web Services: The SESA Framework. Springer-Verlag, 2008.
        Chapters 4,5, and 6.
      • Charles Petrie, Tiziana Margaria, Holger Lausen, Michal Zaremba (Eds.), Semantic Web Services Challenge: Results from the First Year. Springer-Verlag, 2008
      • http://see.sti-innsbruck.at
      • http://sws-challenge.org




      Creator: earthquake

      Contributors:
      sidraaslam


      Licensed under the Creative Commons
      Attribution ShareAlike CC-BY-SA license


      This deck was created using SlideWiki.