Title: Services and Semantics
1Services and Semantics
2Motivating 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)
3Overall 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
4Overall Architecture
5Overall Architecture
6Overall Architecture
7Overall Architecture
8Overall Architecture
9Overall Architecture
10Overall Architecture
11Approach
12Web 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
13Web 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
14Semantics
15Machine 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.
16Machine 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
17Machine 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
18WSMO Background
19WSMO 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
20WSMO 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
21WSMO 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
22WSMO Top Level
Provide the formally specified terminology of the
information used by all other components
- Semantic description of Web Services
- Capability (functional)
- Interfaces (usage)
23WSMO Lite
24WSDL
25WSDL Simplified
Web service
input
Operation 1
output
input
Operation 2
output
.
.
.
input
Operation N
output
26Upper 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
27SAWSDL
But no predefined semantics!
28SAWSDL Properties
- modelReference rdftype rdfProperty
- liftingSchemaMapping rdftype rdfProperty
- loweringSchemaMapping rdftype rdfProperty
- Attached to elements of the service model
29WSMO-Lite Terms
- Ontology rdftype rdfsClass
- rdfssubClassOf
owlOntology - ClassificationRoot rdfssubClassOf rdfsClass
- NonFunctionalParameter rdftype rdfsClass
- Condition rdftype rdfsClass
- Effect rdftype rdfsClass
30Classification Example
- exService
- rdftype wlClassificationRoot
- exeCommerceService
- rdfssubClassOf exService
- exTravelReservationService
- rdfssubClassOf exeCommerceService
- exAccommodationReservationService
- rdfssubClassOf exeCommerceService
31Condition Example
- exRomaHotelReservationPrecondition
- rdftype wlCondition
- rdfvalue
- ?request
- numberOfGuests hasValue ?guests
- and city hasValue ?city
- memberOf ReservationData
- and ?guests lt 10
- and ?city 'Roma wsmlAxiomLiteral
32WSMO-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
33MicroWSMO
34hRESTS
- Microformat
- Collaboration with Amit Sheth
- Introduces the service model structure
- Service
- Operations
- Address, method
- Inputs, Outputs (only their existence)
- MicroWSMO, SA-REST
35Example 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
36MicroWSMO
- Extends hRESTS
- mref for model references
- lifting, lowering
- Applies WSMO-Lite semantics
37MicroWSMO 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
38WSMO-Lite MicroWSMO
39Context
40Contextual Service Adaptation Framework
41Ontology Stack
42Obtaining Service Data
43Annotation 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
44SOA4All Summary
45SOA4All aims to transform the Web from a Web of
data to a dynamic Service Web comprised of
billions of services
46Underlying 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
47Thanks