web ontology language for service (owl-s). introduction owl-s –owl-based web service ontology –a...
Post on 19-Dec-2015
224 views
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](https://reader035.vdocuments.us/reader035/viewer/2022062516/56649d3f5503460f94a1935c/html5/thumbnails/1.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022062516/56649d3f5503460f94a1935c/html5/thumbnails/2.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022062516/56649d3f5503460f94a1935c/html5/thumbnails/3.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022062516/56649d3f5503460f94a1935c/html5/thumbnails/4.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022062516/56649d3f5503460f94a1935c/html5/thumbnails/5.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022062516/56649d3f5503460f94a1935c/html5/thumbnails/6.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022062516/56649d3f5503460f94a1935c/html5/thumbnails/7.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022062516/56649d3f5503460f94a1935c/html5/thumbnails/8.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022062516/56649d3f5503460f94a1935c/html5/thumbnails/9.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022062516/56649d3f5503460f94a1935c/html5/thumbnails/10.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022062516/56649d3f5503460f94a1935c/html5/thumbnails/11.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022062516/56649d3f5503460f94a1935c/html5/thumbnails/12.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022062516/56649d3f5503460f94a1935c/html5/thumbnails/13.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022062516/56649d3f5503460f94a1935c/html5/thumbnails/14.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022062516/56649d3f5503460f94a1935c/html5/thumbnails/15.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022062516/56649d3f5503460f94a1935c/html5/thumbnails/16.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022062516/56649d3f5503460f94a1935c/html5/thumbnails/17.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022062516/56649d3f5503460f94a1935c/html5/thumbnails/18.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022062516/56649d3f5503460f94a1935c/html5/thumbnails/19.jpg)
• 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](https://reader035.vdocuments.us/reader035/viewer/2022062516/56649d3f5503460f94a1935c/html5/thumbnails/20.jpg)
• 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](https://reader035.vdocuments.us/reader035/viewer/2022062516/56649d3f5503460f94a1935c/html5/thumbnails/21.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022062516/56649d3f5503460f94a1935c/html5/thumbnails/22.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022062516/56649d3f5503460f94a1935c/html5/thumbnails/23.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022062516/56649d3f5503460f94a1935c/html5/thumbnails/24.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022062516/56649d3f5503460f94a1935c/html5/thumbnails/25.jpg)
• 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](https://reader035.vdocuments.us/reader035/viewer/2022062516/56649d3f5503460f94a1935c/html5/thumbnails/26.jpg)
• wsdlOutputMessage: – Similar to wsdlInputMessage, but for outputs.
• wsdlOutput: – Similar to wsdlInput, but for outputs.