A. Dogac Grenoble Ecole de Management MEDFORIST Workshop1 Semantics of Web Services Asuman Dogac...

14
A. Dogac Grenoble Ecole de Management MEDFORIST Workshop 1 Semantics of Web Services Asuman Dogac Middle East Technical University Software R&D Center Ankara, Türkiye

Transcript of A. Dogac Grenoble Ecole de Management MEDFORIST Workshop1 Semantics of Web Services Asuman Dogac...

Page 1: A. Dogac Grenoble Ecole de Management MEDFORIST Workshop1 Semantics of Web Services Asuman Dogac Middle East Technical University Software R&D Center Ankara,

A. Dogac Grenoble Ecole de Management MEDFORIST Workshop

1

Semantics of Web Services

Asuman DogacMiddle East Technical UniversitySoftware R&D CenterAnkara, Türkiye

Page 2: A. Dogac Grenoble Ecole de Management MEDFORIST Workshop1 Semantics of Web Services Asuman Dogac Middle East Technical University Software R&D Center Ankara,

A. Dogac Grenoble Ecole de Management MEDFORIST Workshop

2/14

Why do we need Web Service Semantics? In order to exploit services in their full potential their properties

must be defined:

The methods of charging and payment The channels by which the service is requested and

provided Constraints on temporal and spatial aspects Availability Service quality Security, trust and rights attached to a service

Page 3: A. Dogac Grenoble Ecole de Management MEDFORIST Workshop1 Semantics of Web Services Asuman Dogac Middle East Technical University Software R&D Center Ankara,

A. Dogac Grenoble Ecole de Management MEDFORIST Workshop

3/14

Why do we need Web Service Semantics? To be able to describe service properties and later search for services according to

their properties This search needs to be done in a machine

processable and interoperable manner This in turn is possible only by describing the

semantics of Web services through ontology languages

Page 4: A. Dogac Grenoble Ecole de Management MEDFORIST Workshop1 Semantics of Web Services Asuman Dogac Middle East Technical University Software R&D Center Ankara,

A. Dogac Grenoble Ecole de Management MEDFORIST Workshop

4/14

WSDL does not describe Web service semantics

Web ServiceService Consumer

Web Service Description

defines

Semantic description of the properties of a service in DAML-S

uses

Page 5: A. Dogac Grenoble Ecole de Management MEDFORIST Workshop1 Semantics of Web Services Asuman Dogac Middle East Technical University Software R&D Center Ankara,

A. Dogac Grenoble Ecole de Management MEDFORIST Workshop

5/14

Taxonomies are not enough to define service semantics:An Example Taxonomy: UNSPSC

43.00.00.00.00Communications and ComputerEquipment and Peripherals and

Components and Supplies

43.16.17.00.00Business Transaction and Personal

Business Software

43.16.17.02.00Tax Preparation Software

Page 6: A. Dogac Grenoble Ecole de Management MEDFORIST Workshop1 Semantics of Web Services Asuman Dogac Middle East Technical University Software R&D Center Ankara,

A. Dogac Grenoble Ecole de Management MEDFORIST Workshop

6/14

An Example Ontology for Travel Domain

TravelService

EntertainmentService

AccommodationService

ReserveAFlight BuyATicket

AirTransportation

TransportationService

Page 7: A. Dogac Grenoble Ecole de Management MEDFORIST Workshop1 Semantics of Web Services Asuman Dogac Middle East Technical University Software R&D Center Ankara,

A. Dogac Grenoble Ecole de Management MEDFORIST Workshop

7/14

Properties of ReserveAFlight Generic Service

ReserveAFlight

originatingFrom destinationTo paymentMethod

MyService

How to relate MyService to a generic service class?

Page 8: A. Dogac Grenoble Ecole de Management MEDFORIST Workshop1 Semantics of Web Services Asuman Dogac Middle East Technical University Software R&D Center Ankara,

A. Dogac Grenoble Ecole de Management MEDFORIST Workshop

8/14

Ontology Languages

Resource Description Framework

DAML+OIL by DARPA and On-To-Knowledge project (European Commission, IST-

1999-10132) Extends RDF with more sophisticated class and property

definitions

OWL (Web Ontology Language) by W3C Based on DAML+OIL

DAML-S by DAML Services Coalition

Page 9: A. Dogac Grenoble Ecole de Management MEDFORIST Workshop1 Semantics of Web Services Asuman Dogac Middle East Technical University Software R&D Center Ankara,

A. Dogac Grenoble Ecole de Management MEDFORIST Workshop

9/14

Ontology Languages

Have formal specification and thus can be queried

Provide the means to define sophisticated class properties

Page 10: A. Dogac Grenoble Ecole de Management MEDFORIST Workshop1 Semantics of Web Services Asuman Dogac Middle East Technical University Software R&D Center Ankara,

A. Dogac Grenoble Ecole de Management MEDFORIST Workshop

10/14

DAML-S

describedBy:How it works

Service

ServiceGroundingServiceModel

Resource ServiceProfile

Supports:

How to access it

presents: What it does

provides

Page 11: A. Dogac Grenoble Ecole de Management MEDFORIST Workshop1 Semantics of Web Services Asuman Dogac Middle East Technical University Software R&D Center Ankara,

A. Dogac Grenoble Ecole de Management MEDFORIST Workshop

11/14

How do we define and use service semantics? There are two key issues:

Where to store the generic semantics of the services

How to associate the ontology classes with the services advertised?

Page 12: A. Dogac Grenoble Ecole de Management MEDFORIST Workshop1 Semantics of Web Services Asuman Dogac Middle East Technical University Software R&D Center Ankara,

A. Dogac Grenoble Ecole de Management MEDFORIST Workshop

12/14

Where to store the service ontologies? UDDI does not provide an internal

mechanism to store generic service semantics

ebXML, on the other hand, through its classification hierarchy mechanism allows domain specific ontologies to be stored in the registries

Page 13: A. Dogac Grenoble Ecole de Management MEDFORIST Workshop1 Semantics of Web Services Asuman Dogac Middle East Technical University Software R&D Center Ankara,

A. Dogac Grenoble Ecole de Management MEDFORIST Workshop

13/14

DAML-S ServiceProfile Class

Some of the properties of ServiceProfile class are: parameter property

For example, a subproperty is input, another output serviceParameters, subproperties of which may be

max response time, geographicRadius, … serviceType, high level classification of service such as

B2B or B2C serviceCategory, refers to an ontology of services And more…

Page 14: A. Dogac Grenoble Ecole de Management MEDFORIST Workshop1 Semantics of Web Services Asuman Dogac Middle East Technical University Software R&D Center Ankara,

A. Dogac Grenoble Ecole de Management MEDFORIST Workshop

14/14

DAML-S

Provides an upper ontology, that is, defines a class called Service

It is necessary to define the lower levels, i.e, domain specific ontologies

Grounding them in upper ontologies like DAML-S makes them more consistent and interoperable