1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web...

67
The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III John Domingue Knowledge Media Institute, The Open University, UK

Transcript of 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web...

Page 1: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

1

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

Semantic Web Services:The Web Service Modelling

Ontology and IRS-III

John Domingue

Knowledge Media Institute, The Open University, UK

Page 2: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

2

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

Contents

• Semantic Web Services: Problem and Vision

• Web Services Modelling Ontology

• Comparison with OWL-S (short)

• Overview of IRS-III

• Summary

Page 3: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

3

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

What’s a Web Service?

• A program programmatically accessible over standard internet protocols

• Loosely coupled, reusable components

• Encapsulate discrete functionality

• Distributed

• Add new level of functionality on top of the current web

Page 4: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

4

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

Web Services Framework

Page 5: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

5

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

What’s the big deal?• In U.S. Web Services Market Analysis, 2002 IDC

predicts that Web services will become the dominant distributed computing architecture in the next 10 years. Web services will drive software, services and hardware sales of $21 billion in the U.S. by 2007 and will reach $27 billion in 2010.

• Web services promise easy access to remote content and application functionality, independently of the provider's platform, the location, the service implementation, or the data format. Kuassi Mensah, Oracle

• Exposure of capabilities

Page 6: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.
Page 7: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

7

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

Problems with Web Services Today

• Descriptions are syntactic

• All tasks associated with web services application development have to be carried out by humans:

– discovery, composition and invocation

• Problems of scalability

Page 8: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

8

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

Semantic differences remain the primary roadblock to smooth application integration, one which Web Services alone won't overcome. Until someone finds a way for applications to understand each other, the effect of Web services technology will be fairly limited. When I pass customer data across [the Web] in a certain format using a Web Services interface, the receiving program has to know what that format is. You have to agree on what the business objects look like. And no one has come up with a feasible way to work that out yet -- not Oracle, and not its competitors...

--- Oracle Chairman and CEO Larry Ellison

Larry Says

Page 9: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

9

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

“The problem is not in the plumbing - it’s in the

semantics”

Mike Brodie, Chief Scientist Verizon

Page 10: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

10

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

SWS Vision

Web(URI, HTML, HTTP)

Web Services(UDDI, WSDL, SOAP)

Semantic Web(RDF, OWL)

Semantic Web Services

Dynamic

Static

Syntax Semantics

Page 11: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

11

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

Semantic Web Services (is)

• Semantic Web Technology– Machine readable data– Ontological basis

Applied to

• Web Services Technology– Reusable computational resources

To automate all aspects of application development through reuse

Page 12: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.
Page 13: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

13

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

SWS Activities (1/2)

Usage Process:• Publication: Make available the description of the capability

of a service • Discovery: Locate different services suitable for a given

task • Selection: Choose the most appropriate services among

the available ones • Composition: Combine services to achieve a goal• Mediation: Solve mismatches (data, protocol, process)

among the combined • Execution: Invoke services following programmatic

conventions

Page 14: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

14

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

SWS Activities (2/2)

Execution support:

• Monitoring: Control the execution process

• Compensation: Provide transactional support and undo or mitigate unwanted effects

• Replacement: Facilitate the substitution of services by equivalent ones

• Auditing: Verify that service execution occurred in the expected way

Page 15: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

15

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

Web Service Modelling Ontology

(WSMO)

Page 16: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

16

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

WSMO is ..

• a conceptual model for Semantic Web Services : – Ontology of core elements for Semantic Web Services – a formal description language (WSML) – execution environment (WSMX and IRS-III)

• … derived from and based on the Web Service Modeling Framework WSMF

• a SDK-Cluster Working Group (joint European research and development initiative)

Page 17: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

17

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

SDK-Cluster

• SEKT (Semantically-Enabled Knowledge Technologies)http://sekt.semanticweb.org/

• DIP (Data, Information and Process with Semantic Web Services)http://www.nextwebgeneration.org/projects/dip/

• Knowledge Webhttp://knowledgeweb.semanticweb.org/

• SDK – Clusterhttp://www.sdk-cluster.org/

Page 18: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

18

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

WSMO Working Groups

A Conceptual Model for SWS

A Formal Language for WSMO

A Rule-based Language for SWS

Execution Environment for WSMO

Page 19: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

19

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

• Web Compliance

• Ontology-Based

• Strict Decoupling

• Centrality of Mediation

• Ontological Role Separation

• Description versus Implementation

• Execution Semantics

WSMO Design Principles

Page 20: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

20

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

WSMO Top Level NotionsObjectives that a client wants toachieve by using Web Services

Provide the formally specified terminologyof the information used by all other components

Semantic description of Web Services: - Capability (functional)- Interfaces (usage)

Connectors between components with mediation facilities for handling heterogeneities

Page 21: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

21

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

Non-Functional Propertiesevery WSMO elements is described by properties that

contain relevant, non-functional aspects

• Dublin Core Metadata Set: – complete item description– used for resource management

• Versioning Information – evolution support

• Quality of Service Information – availability, stability

• Other – Owner, financial

Page 22: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

22

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

Non-Functional Properties ListDublin Core Metadata

Contributor Coverage Creator Description Format Identifier Language Publisher Relation Rights Source Subject Title Type

Quality of Service Accuracy NetworkRelatedQoSPerformanceReliability RobustnessScalability Security Transactional Trust

Other Financial Owner TypeOfMatch Version

Page 23: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

23

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

WSMO Ontologies

Provide the formally specified terminologyof the information used by all other components

Semantic description of Web Services: - Capability (functional)- Interfaces (usage)

Connectors between components with mediation facilities for handling heterogeneities

Objectives that a client wants toachieve by using Web Services

Page 24: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

24

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

• Ontologies are used as the ‘data model’ throughout WSMO – all WSMO element descriptions rely on ontologies – all data interchanged in Web Service usage are ontologies – Semantic information processing & ontology reasoning

• WSMO Ontology Language WSML– conceptual syntax for describing WSMO elements – logical language for axiomatic expressions (WSML Layering)

• WSMO Ontology Design – Modularization: import / re-using ontologies, modular approach for

ontology design – De-Coupling: heterogeneity handled by OO Mediators

Ontology Usage & Principles

Page 25: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

25

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

• Non functional properties (see before)

• Imported Ontologies importing existing ontologies

where no heterogeneities arise • Used mediators OO Mediators (ontology import with

terminology mismatch handling)

Ontology Elements:Concepts set of concepts that belong to the ontology, incl.

Attributes set of attributes that belong to a concept

Relations define interrelations between several concepts

Functions special type of relation (unary range = return value)

Instances set of instances that belong to the represented ontology

Axioms axiomatic expressions in ontology (logical statement)

Ontology Specification

Page 26: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

26

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

WSMO Web Services

Provide the formally specified terminologyof the information used by all other components

Semantic description of Web Services: - Capability (functional)- Interfaces (usage)

Connectors between components with mediation facilities for handling heterogeneities

Objectives that a client wants toachieve by using Web Services

Page 27: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

27

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

Capability Specification• Non functional properties • Imported Ontologies • Used mediators

– OO Mediator: importing ontologies with mismatch resolution – WG Mediator: link to a Goal wherefore service is not usable a priori

• Pre-conditions What a web service expects in order to be able to provide its service. They define conditions over the input.

• Assumptions Conditions on the state of the world that has to hold before the Web Service can be executed

• Post-conditions describes the result of the Web Service in relation to the input, and conditions on it

• Effects Conditions on the state of the world that hold after execution of

the Web Service (i.e. changes in the state of the world)

Page 28: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

28

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

WSMO Web Service Description

Web ServiceImplementation(not of interest in Web Service Description)

Choreography --- Service Interfaces ---

Capability

functional description

WS

WS

- Advertising of Web Service- Support for WS Discovery

client-service interaction interface for consuming WS - External Visible Behavior- Communication Structure - ‘Grounding’

realization of functionality by aggregating other Web Services - functional decomposition - WS composition

Non-functional Properties

DC + QoS + Version + financial

- complete item description- quality aspects - Web Service Management

WS

Orchestration

Page 29: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

29

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

Choreography and Orchestration• VTA example:

• Choreography = how to interact with the service to consume its functionality

• Orchestration = how service functionality is achieved by aggregating other Web Services

VTAService

Date

Time

Flight, Hotel

Error

Confirmation

Hotel Service

Flight Service

Date, Time

Hotel

Error

Date, Time

Flight

Error

When the service is requested

When the service requests

Page 30: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

30

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

Choreography Aspects

• External Visible Behavior

– those aspects of the workflow of a Web Service where Interaction is required

– described by workflow constructs: sequence, split, loop, parallel

• Communication Structure

– messages sent and received

– their order (communicative behavior for service consumption)

• Grounding

– concrete communication technology for interaction

– choreography related errors (e.g. input wrong, message timeout, etc.)

• Formal Model

– reasoning on Web Service interfaces (service interoperability)

– allow mediation support on Web Service interfaces

Interface for consuming Web Service

Page 31: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

31

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

Orchestration Aspects

- decomposition of service functionality

- all service interaction via choreographies

Control Structure for aggregation of other Web Services

WS

Web S

ervice Business Logic

1

2

3

4

WS

State in Orchestration

Control Flow

Data Flow

Service Interaction

Page 32: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

32

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

Service Interface Description • Ontologies as data model:

– all data elements interchanged are ontology instances – service interface = evolving ontology

• Abstract State Machines (ASM) as formal framework: – dynamics representation: high expressiveness & low ontological

commitment– core principles: state-based, state definition by formal algebra,

guarded transitions for state changes– overcome the “Frame Problem”

• further characteristics: – not restricted to any specific communication technology– ontology reasoning for service interoperability determination – basis for declarative mediation techniques on service interfaces

Page 33: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

33

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

Service Interface Description Model• Vocabulary Ω:

– ontology schema(s) used in service interface description – usage for information interchange: in, out, shared, controlled

• States ω(Ω): – a stable status in the information space – defined by attribute values of ontology instances

• Guarded Transition GT(ω): – state transition – general structure: if (condition) then (action) – different for Choreography and Orchestration

Page 34: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

34

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

Service Interface Example

Ωin hasValues concept A [ att1 ofType X att2 ofType Y]…

a memberOf A [ att1 hasValue x att2 hasValue y]

a memberOf A [ att1 hasValue x, att2 hasValue m]

b memberOf B [ att2 hasValue m]

IF (a memberOf A [ att1 hasValue x ])THEN (b memberOf B [ att2 hasValue m ])

State ω1 Guarded Transition GT(ω1) State ω2

Ωout hasValues concept B [ att1 ofType W att2 ofType Z]…

Vocabulary: - Concept A in Ωin - Concept B in Ωout

received ontology instance a

Communication Behavior of a Web Service

sent ontology instance b

Page 35: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

35

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

WSMO Goals

Provide the formally specified terminologyof the information used by all other components

Semantic description of Web Services: - Capability (functional)- Interfaces (usage)

Connectors between components with mediation facilities for handling heterogeneities

Objectives that a client wants toachieve by using Web Services

Page 36: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

36

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

Goals

• Ontological De-coupling of Requester and Provider • Derived from task / problem solving methods/domain

model • Structure and reuse of requests

– Search– Diagnose– Classify– Personalise– Book a holiday

• Requests may in principle not be satisfiable• Ontological relationships & mediators used to link

goals to web services

Page 37: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

37

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

Goal Specification• Non functional properties • Imported Ontologies• Used mediators

– OO Mediators: importing ontologies with heterogeneity resolution – GG Mediator:

• Goal definition by reusing an already existing goal• allows definition of Goal Ontologies

• Requested Capability – describes service functionality expected to resolve the objective – defined as capability description from the requester perspective

• Requested Interface – describes communication behaviour supported by the requester for

consuming a Web Service (Choreography) – Restrictions / preferences on orchestrations of acceptable Web

Services

Page 38: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

38

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

WSMO Mediators

Provide the formally specified terminologyof the information used by all other components

Semantic description of Web Services: - Capability (functional)- Interfaces (usage)

Connectors between components with mediation facilities for handling heterogeneities

Objectives that a client wants toachieve by using Web Services

Page 39: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

39

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

Mediation • Heterogeneity …

– For 1$ on programming, $5 - $9 on integration– Mismatches on structural / semantic / conceptual / level – Assume (nearly) always necessary

• Description of role – Components that resolve mismatches– Declarative description of arbitrary web service

• Types of Mediation within Semantic Web Services: (1) Data: mediate heterogeneous Data Sources

(2) Protocol: mediate heterogeneous Communication Patterns

(3) Process: mediate heterogeneous Business Processes

Page 40: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

40

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

WSMO Mediators Overview

Page 41: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

41

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

Mediator Structure

WSMO Mediator

uses a Mediation Service via

Source Component

Source Component

TargetComponent 1 .. n

1

Mediation Services

- as a Goal - directly- optionally incl. Mediation

Page 42: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

42

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

OO Mediator - Example

OO MediatorMediation Service

Train ConnectionOntology (s1)

Purchase Ontology (s2)

Train Ticket Purchase Ontology

Mediation Services

Goal:“merge s1, s2 and s1.ticket subclassof s2.product”

Discovery

Merging 2 ontologies

Page 43: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

43

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

GG Mediators• Aim:

– Support specification of Goals by re-using existing Goals – Allow definition of Goal Ontologies (collection of pre-defined Goals)– Terminology mismatches handled by OO Mediators

• Example: Goal Refinement

GG MediatorMediation Service

Source Goal“Buy a ticket”

Target Goal “Buy a Train Ticket”

postcondition: “aTicket memberof trainticket”

Page 44: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

44

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

WG & WW Mediators• WG Mediators:

– link a Web Service to a Goal and resolve occurring mismatches

– match Web Service and Goals that do not match a priori

– handle terminology mismatches between Web Services and Goals broader range of Goals solvable by a Web Service

• WW Mediators:– enable interoperability of heterogeneous Web Services support automated collaboration between Web Services

– OO Mediators for terminology import with data level mediation

– Protocol Mediation for establishing valid multi-party collaborations

– Process Mediation for making Business Processes interoperable

Page 45: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

45

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

OWL-S

Page 46: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

46

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

OWL-S Ontology

• OWL-S is an OWL ontology to describe Web services

• OWL-S leverages on OWL to– Support capability based discovery of Web services– Support automatic composition of Web Services– Support automatic invocation of Web services– OWL-S provides a semantic layer over Web

services standards• OWL-S relies on WSDL for Web service invocation (see

Grounding)• OWL-s Expands UDDI for Web service discovery

(OWL-S/UDDI mapping)

Page 47: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

47

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

OWL-S Upper Ontology

• Mapping to WSDL• communication protocol (RPC, HTTP, …)• marshalling/serialization• transformation to and from XSD to OWL

• Control flow of the service•Black/Grey/Glass Box view

• Protocol Specification• Abstract Messages

•Capability specification•General features of the Service

• Quality of Service• Classification in Service

taxonomies

Page 48: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

48

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

WSMO OWL-S Comparison• Historical

– OWL-S planning (agents)– WSMO knowledge modelling and B2B integration

• Representation– OWL-S based on OWL– WSMO on WSML family

• WSMO explicit conceptualisation of user context• WSMO explicit conceptualisation of mediation• WSMO Interfaces process model

– WSMO provides choreography + orchestration while OWL-S provides only orchestration

– WSMO service interface description model with ASM-based formal semantics

– OWL-S formal semantics has been developed in very different frameworks such as Situation Calculus, Petri Nets, Pi-calculus

– OWL-S Process Model is extended by SWRL / FLOWS• OWL-S Grounding current WSMO Grounding

Page 49: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

49

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

IRS-III:

A framework and platform for building Semantic Web Services

Page 50: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

50

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

The Internet Reasoning Service is an infrastructure for publishing, locating, executing and composing Semantic Web Services

Page 51: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

51

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

Design Principles• Ontological separation of User and Web Service

Contexts• Capability Based Invocation • Ease of Use• One Click Publishing• Agnostic to Service Implementation Platform• Connected to External Environment• Open• Complete Descriptions• Inspectable• Interoperable with SWS Frameworks and Platforms

Page 52: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

52

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

Features of IRS-III (1/2)

• Based on Soap messaging standard

• Provides Java API for client applications

• Provides built-in brokering and service discovery support

• Provides capability-centred service invocation

Page 53: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

53

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

Features of IRS-III (2/2)• Publishing support for variety of platforms

– Java, Lisp, Web Applications, Java Web Services

• Enables publication of ‘standard code’ – Provides clever wrappers– One-click publishing of web services

• Integrated with standard Web Services world– Semantic web service to IRS– ‘Ordinary’ web service

Page 54: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

54

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

IRS-3 Server

Domain Models

Web Service Specifications+ Registry of Implementors

Goal Specifications+ SOAP Binding

IRS Publisher

S O

A P

IRS Client

SOAP

IRS Publisher

IRS Publisher

IRS Publisher

Lisp

Java

Java WS

IRS-III Framework

Page 55: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

55

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

LispWeb Server

IRS-III Architecture

IRS-III Server

WS Publisher Registry

OCML

WSMO Library

OWL(-S) HandlerOWL(-S)

Browser

Invocation Client

Publishing Clients

SOAP Handler

SOAP

Publishing Platforms

Web Service

Java Code

Web Application

SOAPBrowserHandler

PublisherHandler

InvocationHandler

Java

API

WSMX

Page 56: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

56

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

Publishing Platform Architecture

IRS-III Publishing PlatformHTTP Server

SOAP Handler

ServiceRegistrar

ServiceInvoker

WS Service Registry

IRS-III Server

Invocation Client

SOAP

SOAP

Publishing Clients

SOAP

Web Service 1Web Service 2

Web Service 3

Page 57: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

57

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

IRS-III/WSMO differences

• Underlying language OCML• Goals have inputs and outputs• IRS-III broker finds applicable web services via

mediators– Used mediator within WS capability – Mediator source = goal

• Web services have inputs and outputs ‘inherited’ from goal descriptions

• Web service selected via assumption (in capability)

Page 58: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

58

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

IRS-III Demo

Page 59: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

59

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

SUMMARY• Web Services are

– Reusable programs available over the web– Match business services

• Semantic web services– Applies semantic web technology to web services

• WSMO– Ontology, Goal, Web Service and Mediator

Ontological separation of requester and provider context

– Mediation as first class citizen• IRS-III

– One click publishing– Capability based invocation– Implements WSMO

Page 60: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

60

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

IRS-III References• IRS-III website: http://kmi.open.ac.uk/projects/irs/

• J. Domingue, L. Cabral, F. Hakimpour, D. Sell and E. Motta: IRS-III: A Platform and Infrastructure for Creating WSMO-based Semantic Web Services. Proceedings of the Workshop on WSMO Implementations (WIW 2004) Frankfurt, Germany, September 29-30, 2004, CEUR Workshop Proceedings, ISSN 1613-0073, online http://CEUR-WS.org/Vol-113/paper3.pdf.

• J. Domingue and S. Galizia: Towards a Choreography for IRS-III.Proceedings of the Workshop on WSMO Implementations (WIW 2004) Frankfurt, Germany, September 29-30, 2004, CEUR Workshop Proceedings, ISSN 1613-0073, online http://CEUR-WS.org/Vol-113/paper7.pdf.

• Cabral, L., Domingue, J., Motta, E., Payne, T. and Hakimpour, F. (2004). Approaches to Semantic Web Services: An Overview and Comparisons. In proceedings of the First European Semantic Web Symposium (ESWS2004); 10-12 May 2004, Heraklion, Crete, Greece.

• Motta, E., Domingue, J., Cabral, L. and Gaspari, M. (2003) IRS-II: A Framework and Infrastructure for Semantic Web Services. In proceedings of the 2nd International Semantic Web Conference (ISWC2003) 20-23 October 2003, Sundial Resort, Sanibel Island, Florida, USA.

Page 61: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

61

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

WSMO References• The central location where WSMO work and papers can

be found is WSMO Working Group: http://www.wsmo.org

• WSMO languages – WSML Working Group: http://www.wsml.org

• WSMO implementation – WSMX working group : http://www.wsmx.org– WSMX open source can be found at:

https://sourceforge.net/projects/wsmx/

Page 62: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

62

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

WSMO References• [WSMO Specification]: Roman, D.; Lausen, H.; Keller, U. (eds.): Web Service

Modeling Ontology, WSMO Working Draft D2, final version 1.2, 13 April 2005.

• [WSMO Primer]: Feier, C. (ed.): WSMO Primer, WSMO Working Draft D3.1, 18 February 2005.

• [WSMO Choreography and Orchestration] Roman, D.; Scicluna, J., Feier, C. (eds.): Ontology-based Choreography and Orchestration of WSMO Services, WSMO Working Draft D14, 01 March 2005.

• [WSMO Use Case] Stollberg, M.; Lausen, H.; Polleres, A.; Lara, R. (ed.): WSMO Use Case Modeling and Testing, WSMO Working Drafts D3.2; D3.3.; D3.4; D3.5, 05 November 2004.

• [WSML] de Bruijn, J. (Ed.): The WSML Specification, WSML Working Draft D16, 03 February 2005.

Page 63: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

63

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

WSMO References• [Arroyo et al. 2004] Arroyo, S., Lara, R., Gomez, J. M., Berka, D.,

Ding, Y. and Fensel, D: "Semantic Aspects of Web Services" in Practical Handbook of Internet Computing. Munindar P. Singh, editor. Chapman Hall and CRC Press, Baton Rouge. 2004.

• [Berners-Lee et al. 2001] Tim Berners-Lee, James Hendler, and Ora Lassila, “The Semantic Web”. Scientific American, 284(5):34-43, 2001.

• [Chen et al., 1993] Chen, W., Kifer, M., and Warren, D. S. (1993). HILOG: A foundation for higher-order logic programming. Journal of Logic Programming, 15(3):187-230.

• [Fensel, 2001] Dieter Fensel, “Ontologies: Silver Bullet for Knowledge Management and Electronic Commerce”, Springer-Verlag, Berlin, 2001.

Page 64: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

64

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

WSMO References• [Gruber, 1993] Thomas R. Gruber, “A Translation Approach to Portable

Ontology Specifications”, Knowledge Acquisition, 5:199-220, 1993.• [Grosof et al., 2003] Grosof, B. N., Horrocks, I., Volz, R., and Decker,

S. (2003). Description logic programs: Combining logic programs with description logic. In Proc. Intl. Conf. on the World Wide Web (WWW-2003), Budapest, Hungary.

• [Kifer et al., 1995] Kifer, M., Lausen, G., and Wu, J. (1995). Logical foundations of object-oriented and frame-based languages. JACM, 42(4):741-843.

• [Pan and Horrocks, 2004] Pan, J. Z. and Horrocks, I. (2004). OWL-E: Extending OWL with expressive datatype expressions. IMG Technical Report IMG/2004/KR-SW-01/v1.0, Victoria University of Manchester. Available from http://dl-web.man.ac.uk/Doc/IMGTR-OWL-E.pdf.

• [Stencil Group] - www.stencilgroup.com/ideas_scope_200106wsdefined.html

Page 65: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

65

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

WSMO References• OWL-- - http://www.wsmo.org/2004/d20/d20.1/• OWL Flight – http://www.wsmo.org/2004/d20/d20.3/• [Völz, 2004] Völz, R. (2004). Web Ontology Reasoning with Logic Databases.

PhD thesis, AIFB, Karlsruhe.• WSML-Core – http://www.wsmo.org/2004/d16/d16.7/• [WSMO Standard] Roman, D.; Lausen, H.; Keller, U. (eds.): Web Service

Modeling Ontology - Standard (WSMO - Standard) v 1.0, WSMO Working Draft D2, 16 August 2004.

• [WSMO Choreography] Roman, D.; Stollberg, M.; Vasiliu, L.; Bussler, C.:(eds.): Choreography in WSMO, WSMO Working Draft D14, 17 August 2004.

• [WSMO Orchestration] Roman, D.; Vasiliu, L.; Bussler, C.: (eds.): Orchestration in WSMO, WSMO Working Draft D15, 29 May 2004.

• [WSMO Use Case] Stollberg, M.; Lausen, H.; Polleres, A.; Lara, R. (ed.): WSMO Use Case Modeling and Testing, WSMO Working Draft D3.2, 19 July 2004.

Page 66: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

66

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

References OWL-S

• The main repository of papers on OWL-S is at http://www.daml.org/services/owl-s/pub-archive.html

• The main source of information on OWL-S is the Web site http://www.daml.org/services/owl-s

Page 67: 1 The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05) Semantic Web Services: The Web Service Modelling Ontology and IRS-III.

67

The Third Summer School on Ontological Engineering and the Semantic Web (SSSW'05)

AcknowledgementsIRS-III was developed within the AKT, MIAKT and DIP

projects. The IRS-III team also includes:Liliana Cabral, Stefania Galizia, Vlad Tanasescu, Alessio

Gugliotta and Enrico Motta

The WSMO work is funded by the European Commission under the projects DIP, Knowledge Web, SEKT, SWWS, AKT and Esperonto; by Science Foundation Ireland under the DERI-Lion project; and by the Vienna city government under the CoOperate program.