web ontology language for service (owl-s). introduction owl-s –owl-based web service ontology –a...

26
Web Ontology Language for Service (OWL-S)

Post on 19-Dec-2015

234 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Web Ontology Language for Service (OWL-S). Introduction OWL-S –OWL-based Web service ontology –a core set of markup language constructs for describing

Web Ontology Language for Service (OWL-S)

Page 2: Web Ontology Language for Service (OWL-S). Introduction OWL-S –OWL-based Web service ontology –a core set of markup language constructs for describing

Introduction

• OWL-S– OWL-based Web service ontology– a core set of markup language constructs for

describing Web services in unambiguous, computer-interpretable form

Page 3: Web Ontology Language for Service (OWL-S). Introduction OWL-S –OWL-based Web service ontology –a core set of markup language constructs for describing

Tasks that OWL-S is expected to enable

– Automatic Web service discovery• Automated location of web services that provides a particular

service and adhere to requested constraints

– Automatic Web service invocation• Automated execution of an identified web service by a

computer program or agent

– Automatic Web service composition and interoperation

• Automatic selection, composition and interoperation of web services to perform some task

Page 4: Web Ontology Language for Service (OWL-S). Introduction OWL-S –OWL-based Web service ontology –a core set of markup language constructs for describing

Three essential types of knowledge about a service

1. What does the service provide for

prospective clients?

• The answer to this question is given in the "profile" which is used to advertise the service.

• To capture this perspective, each instance of the class Service presents a ServiceProfile.

Page 5: Web Ontology Language for Service (OWL-S). Introduction OWL-S –OWL-based Web service ontology –a core set of markup language constructs for describing

2. How is it used?

• The answer to this question is given in the "process model“(also known as “service model”)

• This perspective is captured by the ServiceModel class.

• Instances of the class (called Service class) use the property describedBy to refer to the service's ServiceModel.

Page 6: Web Ontology Language for Service (OWL-S). Introduction OWL-S –OWL-based Web service ontology –a core set of markup language constructs for describing

3. How does one interact with it?

• The answer to this question is given in the "grounding“

• A grounding provides the needed details about transport protocols.

• Instances of the class Service have a supports property referring to a ServiceGrounding

Page 7: Web Ontology Language for Service (OWL-S). Introduction OWL-S –OWL-based Web service ontology –a core set of markup language constructs for describing

Three essential type of knowledge about a service

Page 8: Web Ontology Language for Service (OWL-S). Introduction OWL-S –OWL-based Web service ontology –a core set of markup language constructs for describing

Service Profile

• Describes services capabilities

• Describes the services offered by the providers, and the services needed by the requesters.

Page 9: Web Ontology Language for Service (OWL-S). Introduction OWL-S –OWL-based Web service ontology –a core set of markup language constructs for describing

Three basic types of information

1. What organization provides the service

• Contact information that refers to the entity that provides the service

Page 10: Web Ontology Language for Service (OWL-S). Introduction OWL-S –OWL-based Web service ontology –a core set of markup language constructs for describing

2. What function the service computes

• Specified in terms of:

– Inputs required by the service and outputs generated

– Preconditions required by the service and expected effects that result from the execution of the service

Page 11: Web Ontology Language for Service (OWL-S). Introduction OWL-S –OWL-based Web service ontology –a core set of markup language constructs for describing

3. A host of features that specify characteristics of the service

• The category of a given service• The quality rating of the service (some services may be

very good, reliable, and quick to respond)• An unbounded list of service parameters that can

contain any type of information

Page 12: Web Ontology Language for Service (OWL-S). Introduction OWL-S –OWL-based Web service ontology –a core set of markup language constructs for describing

Three types of information in Service Profile

1

23

Page 13: Web Ontology Language for Service (OWL-S). Introduction OWL-S –OWL-based Web service ontology –a core set of markup language constructs for describing

Process Model

• A process is intended as a specification of the ways a client may interact with a service

• A process can have two sorts of purpose:– It can generate and return some new information.

• Information production is described by the inputs and outputs of the process.

– It can produce a change in the environment. • This transition is described by the preconditions (which

must all hold in order for the process to be successfully invoked) and effects of the process

Page 14: Web Ontology Language for Service (OWL-S). Introduction OWL-S –OWL-based Web service ontology –a core set of markup language constructs for describing

Inputs, Outputs Preconditions and Effects (IOPE)

• Inputs – specify the information that the process requires for its

execution.• Outputs

– produced by the invocation of a process flow back to the client as a single message.

• Preconditions – a condition that must be true just before to the execution

of process.• Effects

– describe conditions about the environment after process be executed.

Page 15: Web Ontology Language for Service (OWL-S). Introduction OWL-S –OWL-based Web service ontology –a core set of markup language constructs for describing

Simple process

• Simple processes are used as elements of abstraction. – A simple process may be used to provide:

• The simple process is realizedBy the atomic process

– A simplified representation of some composite process

• The simple process expandsTo the composite process

• Simple processes are not invocable

(not associated with a grounding)

Page 16: Web Ontology Language for Service (OWL-S). Introduction OWL-S –OWL-based Web service ontology –a core set of markup language constructs for describing

Atomic process

• An atomic process corresponds to the behavior a service can perform. – Expects one message and returns one message in re

sponse.

• Atomic processes are directly invocable (associated with a grounding)

• Atomic processes have no sub-processes and execute in a single step.

Page 17: Web Ontology Language for Service (OWL-S). Introduction OWL-S –OWL-based Web service ontology –a core set of markup language constructs for describing

Composite process

• Composite processes are decomposable into other non-composite or composite processes

• Their decomposition can be specified by using control constructs (next page)

• A composite process is not a behavior of a service, but a set of behaviors the client can invoke by sending messages and receiving results.

Page 18: Web Ontology Language for Service (OWL-S). Introduction OWL-S –OWL-based Web service ontology –a core set of markup language constructs for describing

Control Constructs

• Sequence– A list of control constructs to be done in order.

• Split– A bag of process components to be executed concurrently. Sp

lit completes as soon as all of its component processes have been scheduled for execution.

• Split-Join– The process consists of concurrent execution of a bunch of proc

ess components with barrier synchronization. Split+Join completes when all of its components processes have completed.

Page 19: Web Ontology Language for Service (OWL-S). Introduction OWL-S –OWL-based Web service ontology –a core set of markup language constructs for describing

• Any-Order– Allows the process components (specified as a bag) to be

executed in some unspecified order but not concurrently. Execution and completion of all components is required.

• Choice– Execution of a single control construct from a given bag of

control constructs. Any of the given control constructs may be chosen for execution

• If-Then-Else– Conditionally executes process components , depending on the

value of a conditional expression.

Page 20: Web Ontology Language for Service (OWL-S). Introduction OWL-S –OWL-based Web service ontology –a core set of markup language constructs for describing

• Iterate– Is an "abstract" class, serves as the common

superclass of Repeat-While, Repeat-Until, and potentially other specific iteration constructs.

• Repeat-While and Repeat-Until– Iterate until a condition becomes false or true,

following the familiar programming language conventions.

Page 21: Web Ontology Language for Service (OWL-S). Introduction OWL-S –OWL-based Web service ontology –a core set of markup language constructs for describing

Process Model

Page 22: Web Ontology Language for Service (OWL-S). Introduction OWL-S –OWL-based Web service ontology –a core set of markup language constructs for describing

Service Grounding

• Providing details on how to interoperate/access the service– Protocol, message formats, serialization, …– A mapping from an abstract specification to a concrete

realization

• How the abstract inputs and outputs of an atomic process are to be realized concretely as messages (which carry these inputs and outputs)– WSDL as a possible grounding approach– Exploiting the extensibility elements of WSDL

Page 23: Web Ontology Language for Service (OWL-S). Introduction OWL-S –OWL-based Web service ontology –a core set of markup language constructs for describing

Mapping between OWL-S and WSDL

f1(int a,b) int a=1,b=2;

e.g. f1(1, 2)

Page 24: Web Ontology Language for Service (OWL-S). Introduction OWL-S –OWL-based Web service ontology –a core set of markup language constructs for describing

How WSDL definitions refer to corresponding OWL-S declarations

• wsdlVersion: – A URI that indicates the version of WSDL in use.

• wsdlDocument: – A URI of a WSDL document to which this grounding r

efers.

• wsdlOperation: – The URI of the WSDL operation corresponding to the

given atomic process.

Page 25: Web Ontology Language for Service (OWL-S). Introduction OWL-S –OWL-based Web service ontology –a core set of markup language constructs for describing

• wsdlService, wsdlPort (optional): – The URI of a WSDL service (or port) that offers the given operati

on.

• wsdlInputMessage: – An object containing the URI of the WSDL message definition th

at carries the inputs of the given atomic process.

• wsdlInput: – An object containing a mapping pairs, for a message part of the

WSDL input message. Each pair is represented using an instance of WsdlInputMessageMap.

Page 26: Web Ontology Language for Service (OWL-S). Introduction OWL-S –OWL-based Web service ontology –a core set of markup language constructs for describing

• wsdlOutputMessage: – Similar to wsdlInputMessage, but for outputs.

• wsdlOutput: – Similar to wsdlInput, but for outputs.