eswc ss 2012 - tuesday keynote john domingue: services, semantics and linked data

64
Services, Semantics and Linked Data John Domingue Knowledge Media Institute, The Open University & STI International

Upload: eswcsummerschool

Post on 11-May-2015

95 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

Services, Semantics and Linked Data

John DomingueKnowledge Media Institute, The Open University & STI International

Page 2: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

Agenda• Software and Services• A Short History of Semantic Web Services • Linked Data Effect• Rise of REST• Linked Data and Services• Example Applications• Current and Future W3C work• Summary

Page 3: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

SOFTWARE AND SERVICES

Page 4: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

Software• Slow to produce!

–10 lines of code per day

• Code is ubiquitous –Car has 2 million lines of code

(8,000 Person Years)–Windows XP 45 million lines of code

(180,000 Person Years)

• Reusability is important

Page 5: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

Service (economic)• Intangible commodity

–Consulting, childcare, educational• Tertiary sector of the economy

–Provision of value-adding services –Complementing

• secondary sector manufacturing and• primary sector: agriculture, fishing, mining …

–63% of Global GDP $44 trillion

Page 6: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

Service (computational)

Page 7: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

Web Service Usage Process• Deployment

– create and publish Web service description• Discovery

– determine usable services for a task• Composition

– combine services to achieve a goal• Selection

– choose most appropriate service• Mediation

– solve mismatches (data, protocol, process) that hamper interoperation

• Execution– invoke Web services following programmatic conventions

Page 8: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

Web Service 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 9: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

WSDL

Page 10: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

WSDL Simplified

Web service

Operation 1

Operation 2

Operation N

input

input

input

output

output

output

...+-

Page 11: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

A SHORT HISTORY OF SEMANTIC WEB SERVICES

Page 12: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

OWL-S

Ontology images compliments of Terry Payne, University of Southampton

Page 13: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

Service Profile (partial)

Page 14: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

Class Hierarchies of ServicesServiceProfile

ProductProvidingService

Manufacturing

Transportation

ActionService

InfoService

PhysicalProductService Repair

information-Product+

physicalProduct+manufacturer+

deliveryRegion*deliveryProvider*

deliveryType

physical-Product+

transportationMode+geographicRegion+

physicalProduct+

Tie in with UNSPSC, etc.DL Basis for matchmakingMultiple profiles; multiple hierarchies

nameprovider

avgResponseTime?… FeeBased feeBasis+

paymentMethod+

Page 15: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

15

Objectives that a client may havewhen consulting a Web Service

Provide the formallyspecified terminologyof the information usedby all other components

Semantic description of WebServices: - Capability (functional)- Interfaces (usage)

Connectors between components withmediation facilities for handling heterogeneities

WSMO Top-level Elements(http://www.wsmo.org)

Page 16: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

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 aggregation- functional decomposition - WS

composition

Non-functional Properties

DC + QoS + Version + financial

- complete item description- quality aspects - Web Service

Management

WS

Orchestration

WSMO – the Web service element

Page 17: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

Semantic Web Service Broker

Client

Services

Page 18: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

VTA

VTA WS ‘Trip Booking’

Capability

provides

Chor.Interf.

Flight Request

Hotel Request

Book Flight

Book Hotel

if hotel = Ø flight.arrivaltime = hotel.arrivaltime

flight information

if flight = Ø

hotel information

process (control + data flow) of goals

Orchestration Definition

Page 19: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

VTA

VTA WS ‘Trip Booking’

Capability

provides

Chor.Interf.

Flight Request

Hotel Request

Book Flight

Book Hotel

if hotel = Ø

if flight = Ø

process (control + data flow) between “states” + communication behavior of orchestrating Web Service

Flight WS

Capability

Interface (Chor.)1) get request2) provide offer 3) receive selection4) send confirmation

Orch. ..

Hotel WS

Capability

Interface (Chor.)1) get request2) provide offer 3) receive selection4) send confirmation

Orch. ..

flight request

avaiable flights

hotel request

avaiable hotels

book request booking confirmation

book request

booking confirmation

Runtime Orchestration

Page 20: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data
Page 21: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

LINKED DATA EFFECT

Page 22: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

25 Billion Statements

Linking Open Data cloud diagram, by Richard Cyganiak and Anja Jentzsch. http://lod-cloud.net

Page 23: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

How?

Page 24: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data
Page 25: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

Data.gov.uk Applications

Page 26: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

RISE OF REST

Page 27: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

RESTful Service

• Lightweight compared to SOAP/WSDL• Use HTTP methods explicitly (GET, POST, PUT,

DELETE)• Stateless• Expose directory structure-like URIs• Data transfer using XML, JavaScript Object Notation

(JSON), or both.

Page 28: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

RESTful Service Takeup

1876 APIs

4736 Mashups

Page 29: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

REST vs SOAP API Searches

http://www.google.com/insights/search/#q=soap%20api%2Crest%20api&cmpt=q

Page 30: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

LINKED DATA AND SERVICES

Page 31: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

Linked Open Services

http://www.linkedopenservices.org/

Page 32: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data
Page 33: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data
Page 34: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data
Page 35: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data
Page 36: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data
Page 37: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

MicroWSMO & WSMO-Lite

37

Page 38: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

WSDL

Page 39: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

39

SAWSDL

But:no predefined semantics!

Page 40: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

40

WSMO-Lite in WSDL

Page 41: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

MicroWSMO• Built on top of hRESTS which introduces the

service model structure on Web pages–service (+ label)–operations (+ address, method)–input, output

• MicroWSMO extends hRESTS–model, lifting, lowering

• Applies WSMO-Lite semantics

41

Page 42: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

MicroWSMO

Page 43: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

MicroWSMO

Page 44: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

Service

OperationInput

Parameter

MicroWSMO

Page 45: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

Service

OperationInput

Parameter

MicroWSMO

Page 46: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

46

Minimal Service Model

Page 47: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

Service Template

47

RDFS/WSML-Core taxonomy e.g., ServiceFinder

ServiceTemplate

hasInput

hasOutput

hasFunctionalCategory

hasPreference

hasRequirement

RDF-based domain ontologye.g., RDFS/WSML-core, OWL/WSML-DL, WSML-Rule

RDFS/WSML-Core preference modele.g., WSMO Pref, U-Sevilla

WSMO-Lite annotatione.g., Condition, Effect WSML Flight/Rule

logical expression

RDF-based context ontologye.g., RDFS/WSML-core, OWL/WSML-DL, WSML-Rule

hasContextualSens.

Page 48: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

Deployment

Process Editor

Discovery

Service Lifecycle

ServiceAnnotation

Process Modeling

Process Execution

Analysis & Monitoring Invocation

Page 49: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

Resource-Orientation (ROSM)

49

ServicedResource

ServicedResourceCollection

Service

Operationsupports

Method

ResponseCode

HTTP *

* http://www.w3.org/2006/http#

basedOn

Request Response

Parameter

Optional Parameter

Required Parameter

1 2

1. requestURIParameter requestBodyParameter requestHeaderParameter

2. hasBody

collects

Page 50: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

EXAMPLE APPLICATIONS

Page 51: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

Example 1: House Hunting …

Page 52: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

… public transport …

Page 53: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

… schools

www.tauntonschool.co.uk

Page 54: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data
Page 55: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data
Page 56: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

Behind the Scenes

Train stations

Bus stops

Schools

Real estate

Public Data and Services

publishingService Broker

Invocation Engine

discovery

invocation

Page 57: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

CURRENT AND FUTURE WORK

Page 58: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

The Future Internet – Enabler for Global Business Networks

Manu-facturing

UrbanManagement

eEnergyTransportLogistic

….

Network of the Future

Cloud Computing

Internet of Things

Internet of Services

Internet of the Future

Consumers

Suppliers

Wholesalers

RetailersCarriers

Manufacturer

Governments

© SAP 2010 /

Page 59: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

The Internet of Services – Global Service Delivery Supply Chain

A Single Market for Services

SaaS, On-DemandEnterprise Suites

Cloud Services

ServiceMarketplaces

Multi-Enterprise Business process

platforms

B2B Gateways

Business ProcessOutsourcing

Business Process Platform

Service Delivery FrameworkService

AggregatorServiceHoster

ServiceProvider

ServiceGateway

ServiceBroker

ServiceChannel Maker

Service-Oriented Architecture

© SAP 2010 /

Page 60: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

ServiceAggregator

ServiceHoster

ServiceProvider

ServiceGateway

ServiceBroker

ServiceChannel Maker

The Internet of Services – Unified Service Description Language (USDL)

Service Transformation stands for a value-driven, smooth and effective provision of services along the Global Service Delivery Supply Chain

Service Transformation implies that Services are being Described considering business, operational and legal requirements Maintained, extended and assembled where needed Applying a common notation named USDL

© SAP 2010 /

Page 61: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

W3C USDL Incubator

http://www.linked-usdl.org/

Page 62: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

This group is based on the idea of combining two Web-related concepts to help solve some of the long-standing challenges involved in building and combining software:

1. RDF, the Resource Description Framework…. RDF is the basis for Linked Data and the Semantic Web.

2. With RESTful APIs and RESTful Web Services, ….

The Linked Data Platform is envisioned as an enterprise-ready collection of standard techniques and services based on using RESTful APIs and the W3C Semantic Web stack

Page 63: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

Summary• Web services successful history in corporate settings

–Supporting reuse of software components• Semantic Web services

–Lots of research–Takeup limited

• New trends–RESTful services–Linked Data portals/applications

• Manage applications which make use of these trends

• Fit to the goals, needs and contexts of users

Page 64: ESWC SS 2012 - Tuesday Keynote John Domingue: Services, Semantics and Linked Data

Acknowledgements