Semantic Web Systems Web Services Part 2 Jacques Fleuriot School of Informatics

Similar documents
Semantic Web. Semantic Web Services. Morteza Amini. Sharif University of Technology Spring 90-91

Web Ontology Language for Service (OWL-S) The idea of Integration of web services and semantic web

Semantic Web. Semantic Web Services. Morteza Amini. Sharif University of Technology Fall 94-95

WHY WE NEED AN XML STANDARD FOR REPRESENTING BUSINESS RULES. Introduction. Production rules. Christian de Sainte Marie ILOG

Realisation of SOA using Web Services. Adomas Svirskas Vilnius University December 2005

OWL Rules, OK? Ian Horrocks Network Inference Carlsbad, CA, USA

Multi-agent and Semantic Web Systems: RDF Data Structures

Demystifying the Semantic Web

Lecture Telecooperation. D. Fensel Leopold-Franzens- Universität Innsbruck

The Open Group SOA Ontology Technical Standard. Clive Hatton

An Approach for Composing Web Services through OWL Kumudavalli.N Mtech Software Engineering

Semantic Query: Solving the Needs of a Net-Centric Data Sharing Environment

MDA & Semantic Web Services Integrating SWSF & OWL with ODM

WSDL versioning. Facts Basic scenario. WSDL -Web Services Description Language SAWSDL -Semantic Annotations for WSDL and XML Schema

X-KIF New Knowledge Modeling Language

Limitations of the WWW

Logical reconstruction of RDF and ontology languages

The RuleML Family of Web Rule Languages

Semantic matching to achieve software component discovery and composition

A Formal Definition of RESTful Semantic Web Services. Antonio Garrote Hernández María N. Moreno García

Main topics: Presenter: Introduction to OWL Protégé, an ontology editor OWL 2 Semantic reasoner Summary TDT OWL

Contents. G52IWS: The Semantic Web. The Semantic Web. Semantic web elements. Semantic Web technologies. Semantic Web Services

Services Breakout: Expressiveness Challenges & Industry Trends. Co-Chairs: David Martin & Sheila McIlraith with Benjamin Grosof October 17, 2002

Towards the Semantic Web

logic importance logic importance (2) logic importance (3) specializations of logic Horn logic specializations of logic RDF and OWL

ELENA: Creating a Smart Space for Learning. Zoltán Miklós (presenter) Bernd Simon Vienna University of Economics

Web Services: OWL-S 2. BPEL and WSDL : Messages

Visual Modeling of OWL-S Services

Orchestrating Music Queries via the Semantic Web

Agent-oriented Semantic Discovery and Matchmaking of Web Services

Helmi Ben Hmida Hannover University, Germany

Semantic Web Services and Cloud Platforms

Business Process Modelling & Semantic Web Services

RESTful Web service composition with BPEL for REST

Efficient Querying of Web Services Using Ontologies

Semantic agents for location-aware service provisioning in mobile networks

Rules in the Semantic Web Services Language (SWSL): An Overview for Standardization Directions

Advanced Topics in the Semantic Web: Semantic Services for Business Process Management

Descriptions. Robert Grimm New York University

Multi-agent and Semantic Web Systems: Representation

Grounding OWL-S in SAWSDL

Scalable Web Service Composition with Partial Matches

AN APPROACH ON DYNAMIC GEOSPAITAL INFORMATION SERVICE COMPOSITION BASED ON CONTEXT RELATIONSHIP

Semi-automatic Composition of Web Services using Semantic Descriptions

INFORMATICS RESEARCH PROPOSAL REALTING LCC TO SEMANTIC WEB STANDARDS. Nor Amizam Jusoh (S ) Supervisor: Dave Robertson

Standardization of Ontologies

Web Services and Planning or How to Render an Ontology of Random Buzzwords Useful? Presented by Zvi Topol. May 12 th, 2004

Web Services Annotation and Reasoning

Semantic Web. Lecture XIII Tools Dieter Fensel and Katharina Siorpaes. Copyright 2008 STI INNSBRUCK

Engineering Grounded Semantic Service Definitions from Native Service Specifications

Experiences with OWL-S, Directions for Service Composition:

The Formal Syntax and Semantics of Web-PDDL

Lesson 10 BPEL Introduction

ISO/IEC JTC1/SC32/WG2 N1485. SKLSE, Wuhan University, P.R. China

Ontology Development Tools and Languages: A Review

Security in the Web Services Framework

WSDL RDF Mapping. Jacek Kopecký 2005/12/14. Copyright 2005 Digital Enterprise Research Institute. All rights reserved.

Opus: University of Bath Online Publication Store

Enhancing Business Processes Using Semantic Reasoning. Monica. J. Martin Sun Java Web Services. 26 May

Knowledge Engineering with Semantic Web Technologies

Institute of Automatics AGH University of Science and Technology, POLAND. Hybrid Knowledge Engineering.

Toward a Standard Rule Language for Semantic Integration of the DoD Enterprise

DAML: ATLAS Project Carnegie Mellon University

Extracting knowledge from Ontology using Jena for Semantic Web

Lesson 5 Web Service Interface Definition (Part II)

Semantic Queries and Mediation in a RESTful Architecture

Workshop on Web of Services for Enterprise Computing

Semantic Web Services

Semantic Web Systems Introduction Jacques Fleuriot School of Informatics

RDF/RuleML Interoperability

Descriptions. Robert Grimm New York University

Defining an Abstract Core Production Rule System

Unified Lightweight Semantic Descriptions of Web APIs and Web Services

SERVICE-ORIENTED COMPUTING

H1 Spring C. A service-oriented architecture is frequently deployed in practice without a service registry

CmpE 596: Service-Oriented Computing

Introduction. Semantic Web Services

FOL RuleML: Release, Use, and Outlook

Integrating Positional and Slotted Knowledge on the Semantic Web

H1 Spring B. Programmers need to learn the SOAP schema so as to offer and use Web services.

Expressing Business Process Model as OWL-S Ontologies

DISCOVERY AND INTEGRATION OF JOB MARKET SERVICE USING SEMANTIC WEB SERVICE APPROACH

A Unified Logical Framework for Rules (and Queries) with Ontologies - position paper -

IT6801-SERVICE ORIENTED ARCHITECTURE

Semantic Web. Tahani Aljehani

KNOWLEDGE-BASED MULTIMEDIA ADAPTATION DECISION-TAKING

Integrating Positional and Slotted Knowledge on the Semantic Web

Semantics. KR4SW Winter 2011 Pascal Hitzler 1

Web Services Annotation and Reasoning

SRM UNIVERSITY. : Batch1: TP1102 Batch2: TP406

Multi-agent and Semantic Web Systems: Linked Open Data

Ontological Decision-Making for Disaster Response Operation Planning

ICD Wiki Framework for Enabling Semantic Web Service Definition and Orchestration

Kalliopi Kravari 1, Konstantinos Papatheodorou 2, Grigoris Antoniou 2 and Nick Bassiliades 1

Chapter 8 Web Services Objectives

APPLYING SEMANTIC WEB SERVICES TO ENTERPRISE WEB

Glen Dobson: 2 nd Year PhD Report

Service-Oriented Computing in Recomposable Embedded Systems

Semantic Web Programming

L7 Security Semantics

Transcription:

Semantic Web Systems Web Services Part 2 Jacques Fleuriot School of Informatics 16 th March 2015

In the previous lecture l Web Services (WS) can be thought of as Remote Procedure Calls. l Messages from a client will specify the operation to be called, and will supply arguments for the operation. l The service responds (typically) with the result of the operation on those arguments. l The messages are standardly sent over HTTP as the body of a SOAP document; the SOAP header contains addressing information. l Services are standardly described using WSDL. This specifies types; operations and their inputs and outputs; a binding for each operation which specifies the allowed protocol and the service endpoints. 2

In this lecture l Semantic Web Services l OWL-S view of services: Service profile Service model Service grounding 3

Motivation for Semantic Web Services l Standard Web Service technology provides virtualisation for distributed computing: Abstraction from specific platforms and programming languages. Promotes interoperability of diverse service implementations. l But foundation for automating Web Services still lacking. l Semantic WS intended to supplement standard WS. l By providing semantically explicit metadata for WS: Software can interpret descriptions of unfamiliar WS. Carry out discovery, composition, etc. l OWL-S builds on OWL to provide OWL descriptions of Services. 4

OWL Digression l RDFS allows us to build simple class hierarchies for describing ontological structure. l OWL (Web Ontology Language) gives us a richer framework: Syntactically layered on RDF. Uses theoretical framework of Description Logic (decidable fragment of First Order Logic). A language for describing concepts (classes of instances). Provides negation, and standard notion of logical consistency. Provides operators for defining classes as well as introducing primitive classes. Provides a limited form of quantification. 5

Syntax and Semantics of DL Concepts Simple Concepts Giraffe {x Giraffe(x)} Composed Concepts Brother Sister {x Brother(x) Sister(x)} Adult Male {x Adult(x) Male(x)} Married {x Married(x)} Subsump?on Giraffe Mammal x (Giraffe(x) Mammal(x)) Defini?onal Equivalence Sibling Brother Sister x (Sibling(x) Brother(x) Sister(x)) 6

OWL-S View of Services l Based on DAML (Darpa Agent Markup Language) and DAML-S. l Provides an ontology for web services that consists of three sub-ontologies: 1. Service Profile: How the service presents itself to the external world. 2. Service Model: What the service does, and how the client interacts with it. 3. Service Grounding: How the service is realised analogous to WSDL binding. 7

OWL-S Service Ontology 8

Service Model: Inputs and Outputs l OWL-S functional description of services very similar to WSDL. l Inputs and outputs specify the data transformation produced by the process. l General notion of Parameter; l The type of (values of) the Parameter is specified with a URI. l Typically, this will be a pointer to an OWL class in a domain ontology. Input,Output Parameter l Parameters are associated with services via property hasparameter: hasinput, hasoutput sub-properties of hasparameter 9

OWL-S Plugin for Protégé: Domain Ontology 10

OWL-S Plugin for Protégé: OWL-S Service 11

Service Model: Participants l A process involves two or more agents. l Required agents: TheClient the service is described from the point of view of the client. TheServer principal element of the service that the client deals with. 12

State Transformations Question: Can Web Services change the world? Changing the world with WS Before invoking Amazon: your net assets are 999.00. ASer invoking Amazon: your net assets are 000.00 but you are now the proud owner of a Widescreen 4K LED TV. 13

Preconditions and Effects OWL-S distinguishes two aspects of WS: 1. Transforming information inputs and outputs 2. Transforming the world preconditions and effects Example Precondi?ons valid(creditcard, t0) limit(creditcard) 999.00 Example Effect (debt(creditcard, t1) = debt(creditcard, t0) - 999.00) own(i, TV, t1) IOPEs IOPE = Input, Output, Precondi?on, Effect 14

Expressing Preconditions and Effects Expressing Truths about the World Precondi?ons and effects need to be stated in terms of a reasonably expressive logical language. By themselves, RDF and OWL do not provide a good basis for such a language. 15

Embedding Logic in OWL-S l Logic and the Semantic Web rather messy! http://www.w3.org/designissues/logic Fensel & van Harmelen (2007) l OWL-S tries to be non-committal about choice of logical language, makes a number of suggestions: N3 Extensions beyond RDF for expressing logical rules. RuleML http://www.ruleml.org and broader than deductive logic; XMLbased; somewhat orthogonal to other efforts. SWRL (Semantic Web Rule Language) http://www.w3.org/submission/ SWRL/ embeds OWL assertions in Horn-clause rules. SWRL-FOL http://www.daml.org/2004/11/fol/proposal extension of SWRL to arbitrary FOL formulas. SPARQL: Partial specification of entailment over RDF(S) graphs. l In OWL-S, expressions from these languages can be embedded as RDF literals. 16

The Process Ontology l OWL-S divides processes into Atomic, and Composite. l Various constructors are provided for assembling composite processes out of component ones, e.g., Sequence, Choice, Iterate, etc. l A composite process represents behaviour a client can perform by sending and receiving messages. l Inputs of an standalone atomic process must come directly from client; l Inputs of components of a composite process may come from preceding steps. 17

OWL-S Plugin for Protégé: Process 1 18

OWL-S Plugin for Protégé: Process 2 19

Abstracting over Composite Processes l Composite processes can be viewed at a higher level of abstraction, as simple processes. l Allows layering, i.e. composite processes can be incorporated as simple processes into further composites. 20

Service Profile l Description of the service that can be used by registry or broker. l Once a client has chosen to engage with a service, uses the Service Model, not the Profile. l By default, Profile uses same IOPEs as the Model, but this is not mandatory. l Can also include information such as Service Category and Quality of Service (QoS). 21

Grounding l Mapping from abstract specification to a concrete specification of service; l particularly, those service elements required for interaction. l For OWL-S, main issue is relating inputs and outputs of atomic process to the input and outputs of a WSDL operation. l WSDL by default specifies types using XML Schema, l But OWL classes could be defined (using OWL namespace) in types section, or l Referenced from within a WSDL opera?on definition using an owl- s- parameter attribute. 22

Summary l OWL-S provides an upper ontology for web services: Profile, Process, and Grounding. l OWL-S allows service inputs and outputs to be typed in terms of OWL classes. l Latter are typically drawn from a domain ontology. l OWL-S supplements functional descriptions with preconditions and effects. l The logic for these is embedded as RDF literals. l Service Grounding is realised in terms of a mapping to WSDL. 23

Reading l http://www.w3.org/submission/owl-s l http://www.daml.org/services/owl-s/1.0/ l Bringing Semantics to Web Services with OWL-S, David Martin et al. (2007) World Wide Web Journal, Volume 10, Number 3, pp. 243-277. l Unifying Reasoning and Search to Web Scale, Dieter Fensel and Frank van Harmelen (2007) Internet Computing, IEEE Volume 11, Issue 2, March-April, pp. 95 96. 24