Semantic Web Technologies for Automatic Service Composition

36
Semantic Web Technologies for Service Composition Dragan Gašević Athabasca University Email: [email protected]
  • date post

    12-Sep-2014
  • Category

    Education

  • view

    3.815
  • download

    1

description

Invited talk at the CASCON2009 Workshop on Automatic Service Composition https://www-927.ibm.com/ibm/cas/cascon/displayWorkshop?PublicView=true&Num=75

Transcript of Semantic Web Technologies for Automatic Service Composition

Page 1: Semantic Web Technologies for Automatic Service Composition

Semantic Web Technologies for

Service Composition

Dragan Gašević

Athabasca University

Email: [email protected]

Page 2: Semantic Web Technologies for Automatic Service Composition

(How) Are

semantic technologies

related to

service composition?

Page 3: Semantic Web Technologies for Automatic Service Composition

Topics to discuss about

� Semantic Web and Ontologies

� Semantic Web Services

� Development of Service Compositions

� Conclusion

Page 4: Semantic Web Technologies for Automatic Service Composition

Part I

Ontologies and MDE

- Basics -

Page 5: Semantic Web Technologies for Automatic Service Composition

Semantic Web

To create a universal medium for the exchange of data.

… to smoothly interconnect

personal information management,

enterprise application integration and

the global sharing of

commercial, scientific and cultural data.

Semantic Web Activity Statementhttp://www.w3.org/2001/sw/Activity

Page 6: Semantic Web Technologies for Automatic Service Composition

< musician: Musician rdf:ID="urn:rdf:969914d5ca929194ea18787de32c665a-1"> … <musician:name>Eric Clapton</musician:name> <musician:records rdf:resource = "http://www.guitar.org/legendaryrecordings/EC#urn:rdf:958804d5ca918084ea17676de21c887a-0"/> … </musician:Musician>

Musician

Album

Event

plays

plays at

attends

records

Admirer

Instrument

musician:records

rdf:type rdf:type

<album: Album rdf:ID="urn:rdf:958804d5ca918084ea17676de21c887a-0"> … <album:title>Unplugged</album:title> <album:year>1992</album:year> … </album:Album>

RDF

Page 7: Semantic Web Technologies for Automatic Service Composition

What is an ontology?

� Important definition (Hendler, 2001)

� a set of knowledge terms, including

� vocabulary

� semantic interconnections

� some simple rules of inference and

logic for some particular topic

Page 8: Semantic Web Technologies for Automatic Service Composition

Semantic Web

� Ontologies: Interconnecting applications

� Shared domain conceptualizations

Page 9: Semantic Web Technologies for Automatic Service Composition

Ontology languages

enable reasoning!Not ontologies themselves.

� Logic-based foundation and reasoning

� No agreement about reasoning entailment

Page 10: Semantic Web Technologies for Automatic Service Composition

Part II

Semantic Web Services

Page 11: Semantic Web Technologies for Automatic Service Composition

Semantic Web Services

Syntax Syntax

Semantic WebRDF(S), OWL, WSML

Web Services

UDDI, WSDL, SOAP

WebHTML, HTTP

Semantic

Web Services

Computation

Content

� Envisioned evolution of the Web

Automation of service discovery,

composition, invocation, and

monitoring

http://www.wsmo.org/TR/d17/v0.2/

Page 12: Semantic Web Technologies for Automatic Service Composition

Semantic Web Services

� SWS descriptions languages

� Semantic Annotations for WSDL

and XML Schema (SAWSDL)

� Web Service Semantics (WSDL-S)

� W3C Submissions

� Ontology Web Language for Services (OWL-S)

� Web Service Modeling Ontology (WSMO)

� Semantic Web Service Ontology (SWSO)

Recommendation

Page 13: Semantic Web Technologies for Automatic Service Composition

SAWSDL : An extension of WSDL

<Operation>

<Output1>

Web service 1

<Input1>

<Operation>

<Output2>

Web service 2

<Input2>

Composition

SAWSDL

<Operation>

<Input1>

<Output1>

Service Template

Operation:buyTicket

Input1:

TravelDetails

Output1:

Confirmation

Annotations

Publish

Search

Semantic UDDIOperation:cancel Ticket

Input1:TravelDetails

Output1:Confirmation

http://lsdis.cs.uga.edu/projects/meteor-s/wsdl-s/WSDL-S-W3C-ppt.ppt

Page 14: Semantic Web Technologies for Automatic Service Composition

A Conceptual

Model for SWS

A Formal Language for WSMO

A Rule-based Language for SWS

Execution Environment

for WSMO

Web Service Modeling Ontology

http://www.wsmo.org/TR/d17/v0.2/

Page 15: Semantic Web Technologies for Automatic Service Composition

Current State

� Automation of service

� Discovery

� WSMO-MX, OWLS-MX, SAWSDL-MX – DFKI

� iMatcher – based on iSPARQL

� Composition

� IRS, WSMO Studio

� Invocation

� Monitoring

Page 16: Semantic Web Technologies for Automatic Service Composition

How do we develop

compositions?

Page 17: Semantic Web Technologies for Automatic Service Composition

Part III

Service Compositions in

Development Processes

Page 18: Semantic Web Technologies for Automatic Service Composition

End-user development: AMICOhttp://amico.sourceforge.net/

Page 19: Semantic Web Technologies for Automatic Service Composition

End-user Development: AMICO

Sequence

Sequence f

Parallel Split

Exclusive choice

f

Simple merge

http://amico.sourceforge.net/

Page 20: Semantic Web Technologies for Automatic Service Composition

End-user development

Sequence

Sequence f

Parallel Split

Exclusive choice

f

Simple merge

Google maps (with AJAX HTTP connection to AMICO)

http://amico.sourceforge.net/

Page 21: Semantic Web Technologies for Automatic Service Composition

Not quite Semantic Web!

� But, some very useful lessons learned

� No discovery – variable names

� Ontologies and discovery engines

� Mediation is still a problem

Page 22: Semantic Web Technologies for Automatic Service Composition

Compositions are

part of end-user apps

� User interaction and user tasks are involved

Page 23: Semantic Web Technologies for Automatic Service Composition

Linked Data

http://linkeddata.org/static/images/lod-datasets_2009-03-05-scaled.png

Page 24: Semantic Web Technologies for Automatic Service Composition

Linked Data

SPARLQ end points are

already services

They enable semantic-rich data mash-ups

http://linkeddata.org/static/images/lod-datasets_2009-03-05-scaled.png

Page 25: Semantic Web Technologies for Automatic Service Composition

Potluck

David F. Huynh, Robert C. Miller, David R. Karger: Potluck: Data mash-up tool for casual users. J. Web Sem. 6(4): 274-282 (2008)

From [Huynh et al, 2008]

Page 26: Semantic Web Technologies for Automatic Service Composition

Potluck

From [Huynh et al, 2008]

David F. Huynh, Robert C. Miller, David R. Karger: Potluck: Data mash-up tool for casual users. J. Web Sem. 6(4): 274-282 (2008)

Page 27: Semantic Web Technologies for Automatic Service Composition

Composing Services: WebML

� Start from business processes (in BPMN)

Marco Brambilla, Stefano Ceri, Irene Celino, Dario Cerizza, Emanuele Della Valle, Federico Michele Facca, Andrea Turati, Christina Tziviskou: Experiences in the Design of Semantic Services Using Web Engineering Methods and Tools. J. Data

Semantics 11: 1-31 (2008)

From [Brambilla et al, 2008]

Page 28: Semantic Web Technologies for Automatic Service Composition

Composing Services: WebML

� End-users interact with discovery engines

� Mediation another key challenge

Marco Brambilla, Stefano Ceri, Irene Celino, Dario Cerizza, Emanuele Della Valle, Federico Michele Facca, Andrea Turati,

Christina Tziviskou: Experiences in the Design of Semantic Services Using Web Engineering Methods and Tools. J. Data

Semantics 11: 1-31 (2008)

From [Brambilla et al, 2008]

Page 29: Semantic Web Technologies for Automatic Service Composition

Software

Language Engineering

� Language design and transformations

Page 30: Semantic Web Technologies for Automatic Service Composition

Context-awareness

� Challenges

� User modeling – preferences, goals, etc.

� Learning from experience of other users

Page 31: Semantic Web Technologies for Automatic Service Composition

Families of Service Compositions

� Domain engineering

� Feature modeling

� Annotation of features

� Services discovery

Page 32: Semantic Web Technologies for Automatic Service Composition

Families of Service Compositions

� Application Engineering

� Description logic-based staged configuration

� User functional and non-functional requirements

� Combining with soft-requirements – fuzzy DL

� Transforming configuration into WSMO

� Run-time adaptation

Page 33: Semantic Web Technologies for Automatic Service Composition

Semantic techs can be

useful for automation� But, better understanding is needed

� Applications vs. service compositions

� Service-oriented app. lifecycles

� Adaptivity of service-oriented applications

� Software languages are needed

Page 34: Semantic Web Technologies for Automatic Service Composition

3rd International Conference on

Software Language Engineering

http://planet-sl.org/sle2010/

Page 35: Semantic Web Technologies for Automatic Service Composition
Page 36: Semantic Web Technologies for Automatic Service Composition

Thank you!

Questions?