Services and Semantics - PowerPoint PPT Presentation

1 / 47
About This Presentation
Title:

Services and Semantics

Description:

An ontology is a shared formal conceptualisation of a viewpoint over a domain of ... Upper Service Ontology. Service rdf:type rdfs:Class. hasOperation rdf:type ... – PowerPoint PPT presentation

Number of Views:60
Avg rating:3.0/5.0
Slides: 48
Provided by: JohnDo160
Category:

less

Transcript and Presenter's Notes

Title: Services and Semantics


1
Services and Semantics
2
Motivating Problem
  • The Web currently contains 30 billion Web pages
  • Nearly 100M active sites
  • 10 million new pages added each day
  • Children can create web pages
  • BUT the Web contains only 28000 true Web
    services (Seekda.com)

3
Overall Goals
  • SOA4All will transform the Web into a domain
    where billions of parties are exposing and
    consuming services in a seamless transparent
    fashion
  • SOA4All will integrate the service world of
    large enterprises, SMEs, and end-users enabling
    them to engage as peers (i.e., service consumers
    as well as service providers) within a network of
    equals

4
Overall Architecture
5
Overall Architecture
6
Overall Architecture
7
Overall Architecture
8
Overall Architecture
9
Overall Architecture
10
Overall Architecture
11
Approach
12
Web Principles
  • Openness
  • Decentralized management, evolution
  • Google is an abstraction rather than central
    control
  • Enabling nm relationship
  • Anonymous distribution through publication
  • Serendipity
  • Statelessness
  • Common basis URI, HTTP methods

13
Web 2.0 Principles
  • Blurring the distinction between content
    consumers and content providers
  • Moving from media for individuals towards media
    for communities
  • Blurring the distinction between service
    consumers and service providers

14
Semantics
15
Machine Readable Web Pages
John Domingue B.Sc. (Hons)
(Computer Science), University of Warwick. Ph.D.
The Open University. Since the late 1990s my
research interests have been centred on
ontologies, the Semantic Web and Semantic Web
Services. An ontology is a shared formal
conceptualisation of a viewpoint over a domain of
discourse. In 1997 I developed WebOnto, an
easy-to-use ontology editor, which was the first
to support.
16
Machine Readable Web Pages
John Domingue B.Sc. (Hons)
(Computer Science), University of Warwick. Ph.D.
The Open University. Since the late 1990s my
research interests have been centred on
ontologies, the Semantic Web and Semantic Web
Services. An ontology is a shared formal
conceptualisation of a viewpoint over a domain of
discourse. In 1997 I developed WebOnto, an
easy-to-use ontology editor, which was the first
to support.
name
education
CV
research
17
Machine Readable Web Pages
John Domingue B.Sc. (Hons)
(Computer Science), University of Warwick. Ph.D.
The Open University. Since the late 1990s my
research interests have been centred on
ontologies, the Semantic Web and Semantic Web
Services. An ontology is a shared formal
conceptualisation of a viewpoint over a domain of
discourse. In 1997 I developed WebOnto, an
easy-to-use ontology editor, which was the first
to support.
name
education
CV
research
18
WSMO Background
19
WSMO Top Level
Provide the formally specified terminology of the
information used by all other components
  • Semantic description of Web Services
  • Capability (functional)
  • Interfaces (usage)
  • Non Functional Properties

20
WSMO Top Level
Provide the formally specified terminology of the
information used by all other components
  • Semantic description of Web Services
  • Capability (functional)
  • Interfaces (usage)
  • Non Functional Properties

21
WSMO Top Level
Provide the formally specified terminology of the
information used by all other components
  • Semantic description of Web Services
  • Capability (functional)
  • Interfaces (usage)
  • Non Functional Properties

22
WSMO Top Level
Provide the formally specified terminology of the
information used by all other components
  • Semantic description of Web Services
  • Capability (functional)
  • Interfaces (usage)

23
WSMO Lite
24
WSDL
25
WSDL Simplified
Web service
input
Operation 1
output
input
Operation 2
output
.
.
.
input
Operation N
output
26
Upper Service Ontology
  • Service rdftype rdfsClass
  • hasOperation rdftype rdfProperty
  • Operation rdftype rdfsClass
  • hasInputMessage rdftype rdfProperty
  • hasOutputMessage rdftype rdfProperty
  • hasInputFault rdftype rdfProperty
  • hasOutputFault rdftype rdfProperty
  • Message rdftype rdfsClass

27
SAWSDL
But no predefined semantics!
28
SAWSDL Properties
  • modelReference rdftype rdfProperty
  • liftingSchemaMapping rdftype rdfProperty
  • loweringSchemaMapping rdftype rdfProperty
  • Attached to elements of the service model

29
WSMO-Lite Terms
  • Ontology rdftype rdfsClass
  • rdfssubClassOf
    owlOntology
  • ClassificationRoot rdfssubClassOf rdfsClass
  • NonFunctionalParameter rdftype rdfsClass
  • Condition rdftype rdfsClass
  • Effect rdftype rdfsClass

30
Classification Example
  • exService
  • rdftype wlClassificationRoot
  • exeCommerceService
  • rdfssubClassOf exService
  • exTravelReservationService
  • rdfssubClassOf exeCommerceService
  • exAccommodationReservationService
  • rdfssubClassOf exeCommerceService

31
Condition Example
  • exRomaHotelReservationPrecondition
  • rdftype wlCondition
  • rdfvalue
  • ?request
  • numberOfGuests hasValue ?guests
  • and city hasValue ?city
  • memberOf ReservationData
  • and ?guests lt 10
  • and ?city 'Roma wsmlAxiomLiteral

32
WSMO-Lite Example
  • ltwsdldescriptiongt
  • ltwsdltypesgt ltxsschemagt
  • ltxselement name"ReservationRequest"
  • sawsdlmodelReference"exReserva
    tion"
  • sawsdlloweringSchemaMapping"ex
    ResMapping.xsparql" /gt
  • lt/xsschemagt lt/wsdltypesgt
  • ltwsdlinterface name"HotelReservations"
  • sawsdlmodelReference
  • "exAccommodationReservationS
    ervice"gt
  • ltwsdloperation name"searchForRooms"
  • sawsdlmodelReference"wsdlxSafe
    Interaction"gt
  • lt/wsdloperationgt
  • lt/wsdlinterfacegt
  • ltwsdlservice name"RomaHotels"
    interface"HotelReservations"
  • sawsdlmodelReference"exRomaHot
    elReservationPrecondition

  • exReservationFee" /gt
  • lt/wsdldescriptiongt

I
I
F
B
F
N
33
MicroWSMO
34
hRESTS
  • Microformat
  • Collaboration with Amit Sheth
  • Introduces the service model structure
  • Service
  • Operations
  • Address, method
  • Inputs, Outputs (only their existence)
  • MicroWSMO, SA-REST

35
Example hRESTS
  • ltdiv class"service" id"svc"gt
  • ltpgtDescription of the
  • ltspan class"label"gtACME Hotelslt/spangt
    servicelt/pgt
  • ltdiv class"operation" id"op1"gtltpgt
  • The operation ltcode class"label"gtgetHotelDet
    ailslt/codegt is
  • invoked using the method ltspan
    class"method"gtGETlt/spangt
  • at ltcode class"address"gthttp//example.com/h
    /idlt/codegt,
  • with ltspan class"input"gtthe ID of the
    particular hotel replacing
  • the parameter ltcodegtidlt/codegtlt/spangt.
  • It returns ltspan class"output"gtthe hotel
    details in an
  • ltcodegtexhotelInformationlt/codegt
    document.lt/spangt
  • lt/pgtlt/divgt
  • lt/divgt

36
MicroWSMO
  • Extends hRESTS
  • mref for model references
  • lifting, lowering
  • Applies WSMO-Lite semantics

37
MicroWSMO Example
  • ltdiv class"service" id"svc"gt
  • ltpgtltspan class"label"gtACME Hotelslt/spangt is a
  • ltabbr class"mref" title".../ecommerce/hotel
    Reservation"gt
  • hotel reservationlt/abbrgt service.lt/pgt ...
  • ltdiv class"operation" id"op1"gtltpgt ...
  • ltspan class"input"gtA particular hotel ID
    replaces the param
  • ltcode class"mref" title".../onto.owlHot
    el"gtidlt/codegt
  • (lta rel"lowering" href".../hotelID.xslt"
    gtloweringlt/agt).
  • lt/spangt. ...
  • lt/pgtlt/divgt
  • lt/divgt

38
WSMO-Lite MicroWSMO
39
Context
40
Contextual Service Adaptation Framework
41
Ontology Stack
42
Obtaining Service Data
43
Annotation Structure
Provider
Service Doc
Domain
Service
Pricing Doc
WSDL Doc
Service Doc
WSDL Doc
Service Doc
WSDL Doc
Service Doc
  • WSDL ? Endpoint ? Domain ? Provider
  • Endpoint ? Host ? Country
  • Input/Output HTTP Status ? authentication
  • Pricing Documentation ? commercial / on sale
  • Service Documentation ? public

44
SOA4All Summary
45
SOA4All aims to transform the Web from a Web of
data to a dynamic Service Web comprised of
billions of services
46
Underlying Principles
  • SOA to move from software to serviceware
  • Web principles and technology as the underlying
    infrastructure for the integration of services at
    a world wide scale
  • Web 2.0 to facilitate ease-of-use and to blur
    distinction between provider and consumer
  • Semantic Web technology as a means to abstract
    from syntax to semantics as required for
    meaningful service discovery and mediation
  • Context management to ensure that provision
    functionalities fully meet the needs of users

47
Thanks
Write a Comment
User Comments (0)
About PowerShow.com