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

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

Business Process Modelling & Semantic Web Services

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

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

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

MDA & Semantic Web Services Integrating SWSF & OWL with ODM

Wang Jian, He Keqing, SKLSE, Wuhan University, China

Distributed Systems. Web Services (WS) and Service Oriented Architectures (SOA) László Böszörményi Distributed Systems Web Services - 1

Service Oriented Architectures Visions Concepts Reality

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

Default Inheritance for OWL-S

Semantic SOA - Realization of the Adaptive Services Grid

RESTful Web service composition with BPEL for REST

INTRODUCTION Background of the Problem Statement of the Problem Objectives of the Study Significance of the Study...

Chapter 8 Web Services Objectives

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

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

Introduction to Web Services & SOA

Semantic Web Services and Cloud Platforms

Digital Enterprise Research Institute. Dieter Fensel

Semantic Web Services for Satisfying SOA Requirements

Web Services: Introduction and overview. Outline

Sistemi ICT per il Business Networking

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

Agent-oriented Semantic Discovery and Matchmaking of Web Services

Semantic-Based Web Mining Under the Framework of Agent

Introduction to Web Services & SOA

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

Web Services Architecture Directions. Rod Smith, Donald F Ferguson, Sanjiva Weerawarana IBM Corporation

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

Distribution and web services

MDA & Semantic Web Services Extending ODM with Service Semantics

SERVICE-ORIENTED COMPUTING

Integrating Legacy Assets Using J2EE Web Services

CmpE 596: Service-Oriented Computing

Introduction. Semantic Web Services

Web Services Development for IBM WebSphere Application Server V7.0

Context-Based Orchestration for Control of Resource-Efficient Manufacturing Processes

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

Service-Oriented Computing in Recomposable Embedded Systems

SOAP Specification. 3 major parts. SOAP envelope specification. Data encoding rules. RPC conventions

The Web Service Modeling Framework WSMF

XML Web Service? A programmable component Provides a particular function for an application Can be published, located, and invoked across the Web

International Journal of Computer Science Trends and Technology (IJCST) Volume 3 Issue 4, Jul-Aug 2015

IT6801-SERVICE ORIENTED ARCHITECTURE

Motivation and Intro. Vadim Ermolayev. MIT2: Agent Technologies on the Semantic Web

WebServices the New Era

Implementation Environments for Semantic Web Services

Towards Automatic Selection of Web Services Using Graph Transformation Rules

Lecture 15: Frameworks for Application-layer Communications

Lecture 15: Frameworks for Application-layer Communications

BPEL Research. Tuomas Piispanen Comarch

Lesson 5 Web Service Interface Definition (Part II)

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY. (An NBA Accredited Programme) ACADEMIC YEAR / EVEN SEMESTER

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

METEOR-S Process Design and Development Tool (PDDT)

Incorporating applications to a Service Oriented Architecture

International Journal of Computer Science Trends and Technology (IJCST) Volume 3 Issue 6, Nov-Dec 2015

Semi-automatic Composition of Web Services using Semantic Descriptions

Service oriented Middleware (SOM)

ICIW 2006, Guadeloupe

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

We recommend you review this before taking an ActiveVOS course or before you use ActiveVOS Designer.

Glossary of Exchange Network Related Groups

Engineering Grounded Semantic Service Definitions from Native Service Specifications

APPLYING SEMANTIC WEB SERVICES TO ENTERPRISE WEB

Semantics to energize the full Services Spectrum Ontological approach to better exploit services at technical and business levels

DYNAMIC ADAPTATION, COMPOSITION AND ORCHESTRATION OF WEB SERVICES IN VIRTUAL ENVIRONMENTS

Two-Step Semantic Web Services-Discovery

Semantic Web Service. Lin Zuoquan. Information Science Department Peking University. Courtesy some graphic slides from online

Dagstuhl Seminar on Service-Oriented Computing Session Summary Cross Cutting Concerns. Heiko Ludwig, Charles Petrie

Web Services Overview

SOA: Service-Oriented Architecture

Chapter 9 Web Services

This presentation is a primer on WSDL Bindings. It s part of our series to help prepare you for creating BPEL projects. We recommend you review this

(9A05803) WEB SERVICES (ELECTIVE - III)

intelligent client-server applications intelligent agents for e-commerce

IRS-III: A Platform and Infrastructure for Creating WSMO-based Semantic Web Services

SEMANTIC DESCRIPTION OF WEB SERVICES AND POSSIBILITIES OF BPEL4WS. Vladislava Grigorova

Web service design. every Web service can be associated with:

QoS-based semantic web service selection

<Insert Picture Here> Click to edit Master title style

Stats & Facts: Main Idea & Project Objective

A Survey on Web Services Composition

WSIA and WSRP are new Web

Open Research Online The Open University s repository of research publications and other research outputs

Web-services. Brian Nielsen

Semantic Web Services and Its Approaches

Carnegie Mellon University. Carnegie Mellon University

Author: Miguel Ángel Corella Montoya Supervisor: Pablo Castells Azpilicueta

ICSOC 2005: Extending OWL for QoS-based Web Service Description and Discovery

J2EE APIs and Emerging Web Services Standards

A Survey on Services Composition Languages and Models

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

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

Home / Building Automation Environment Architecture Enabling Interoperability, Flexibility and Reusability

Learning to attach semantic metadata to Web Services

Simulation Modelling Practice and Theory

INFORMATION TECHNOLOGIES IN E-GOVERNMENT SOLUTIONS

1 Introduction H.-JOACHIM NERN 1, G. AGRE 2, T. ATANANSOVA 2, J. SAARELA 3

Transcription:

ه عا ی Semantic Web Semantic Web Services Morteza Amini Sharif University of Technology Fall 94-95

Outline Semantic Web Services Basics Challenges in Web Services Semantics in Web Services Web Service Modeling Ontology 2

Outline Semantic Web Services Basics Challenges in Web Services Semantics in Web Services Web Service Modeling Ontology 3

The Vision of Semantic Web Services 4

The World Wide Web Largest document repository ever (> 25 billion Web pages indexed by Google) Highly distributed Millions of publishers No control over consistency of published content Web Technologies HTTP for transferring documents HTML for marking up documents URI for addressing documents Most content on the Web is in natural language (HTML) Natural language not suitable for machine reading Current Web is syntactic" Problems in automatically: Retrieving documents Extracting relevant information from retrieved documents Combining information from different sources 5

The Semantic Web Making the Web machine-readable. Publishing data in machine-readable format. Relating data on the Web to established vocabularies (ontologies). Ontologies specified in formal language to allow reasoning. Ontologies enable automation in: Retrieval of relevant information. Extracting relevant information from retrieved document. Combination of information from different sources (as long as they are related to the same ontology. 6

Web Services Next step in software engineering: 1960s: Procedural languages 1980s: Object Orientation 1990s: Component Orientation 2000s: Web Services Loosely coupled, reusable components. Add new level of functionality to the Web. Web Service Technologies SOAP for accessing Web Services WSDL for describing Web Services UDDI for publishing and looking up Web Services 7

Web Services Are Not Enough Like the current Web, Web Services are "syntactic. No automation in: Finding services Selecting services Negotiation with service provider Composing services Executing services 8

Combining Semantic Web and Web Services Semantic Web + Web Services = Semantic Web Services Using Semantic Web technologies to describe Web Services. Enable automation in: Publication Discovery Selection Composition Execution 9

Current Web Service Technologies UDDI Registry of services WSDL Service description SOAP Message format 10

Service Oriented Architecture Publish SOAP WSDL Service Provider Bind SOAP Service Broker UDDI Find SOAP Service User Only Syntax, Agents can not understand meanings 11

UDDI UDDI: Universal, Description, Discovery, and Integration UDDI provides a mechanism for clients to find web services. A UDDI registry is similar to a CORBA trader, or it can be thought of as a DNS service for business applications. UDDI consists of: White pages: Who is the service provider? Yellow pages: What is the service providing? Green pages: How the service can be used? Public UDDIs Microsoft, IBM, others Multitude of services is registered Most services no longer available Not used in practice Private UDDIs 12

WSDL WSDL: Web Services Description Language An XML-based interface description language that is used for describing the functionality offered by a web service. The terms used in WSDL are: Service: a set of system functions. Port (Endpoint): defines the address or connection point to a web service and typically represented by a simple HTTP URL string. PortType (Interface): Defines a web service by the collection of operations and the messages that are used to perform the operation. Operation: defines the actions Name Input/output 13

SOAP SOAP: Simple Object Access Protocol SOAP is basically a technology to allow for RPC over the web". SOAP is a message layout specification that defines a uniform way of passing XML-encoded data. Binding to HTTP as communication protocol. SOAP Message Envelope Sender address Receiver address Intermediate nodes Security information Format of the body Body Message content, typically XML 14

Other Web Service Standards WS-Addressing Defining endpoints of services WS-Security Comprehensive security framework for web services WS-Policy Specification of policies for access, pricing, etc... etc... 15

Current Use of Web Services On the Web Amazon Finding products Adding, deleting, updating shopping cart Payment still over the Web Google Search Google via Web Service API Accessing other Google services Weather, stock tickers, etc... Most public services use HTTP/GET, not SOAP In Enterprises Many companies implementing Web Services Example: Verizon Before WSs: information about telephone numbers stored in 50 places With WSs: one Web Service to retrieve telephone numbers 1500 Business functions implemented using Web Services Custom registry with services 16

Outline Semantic Web Services Basics Challenges in Web Services Semantics in Web Services Web Service Modeling Ontology 17

Advertising Services Current repositories (UDDI) polluted : many registered services are not working now! Advertise functionality of the service. No non-functional aspects like: Security Accessibility Cost 18

Discovering Services Finding services which provide required functionality. Requester needs to specify requirements. Mechanism for matching required with advertised functionality. Currently no way of specifying requirements. Discovery currently manual. 19

Selecting Services Given a set of services which meet requirements, select service with best availability, lowest cost, best security measures, etc.. Select best service wrt. set of preferences. Specification of requester's preferences. Specification of non-functional properties of service. Selection currently manual. 20

Service Composition Required functionality requires multiple services to be invoked in some combination Sequential execution Parallel execution Loops Specifying requirements Single requirement specification Find composition which fulfills requirement Workflow description Discovery of services for each task Composition currently manual process specification (e.g. BPEL, WSFL). 21

Example of Service Composition (1) Just simple services, without composition. 22

Example of Service Composition (2) Service composition to fulfill the requirement. 23

Service Execution How to invoke a service? If requester and provider use same format, current technologies suffice. What if actual formats differ? We need translation of message content, in this situation. 24

Outline Semantic Web Services Basics Challenges in Web Services Semantics in Web Services Web Service Modeling Ontology 25

Semantics in Web Services (1) Description of Functionality of services e.g., searching, selling books, booking flight User requirements e.g., finding, buying books, booking flight Web Service policies Permissions Cost etc... User preferences Data in messages 26

Semantics in Web Services (2) Matching descriptions functionality of service vs. user requirements policies vs. user preferences Data translation Web Service Composition Finding compositions Matching composition with user requirements 27

Functional Description of Services Describe functionality of Services Similar to software specification View web service as a function: input output 28

Rules for Policy Description Policies are often in the form of rules. e.g., if user is recognized business partner, then give discount. if used encryption method is at least 3DES, then credit card detail may be transferred. Use Semantic Web rules language for specifying policies. Initiatives for using rules to specify web service policies (e.g., policy RuleML). 29

Semantic Web Languages for Data Description Transfer data in RDF or OWL format Advantage: More flexible than XML Advantage: using ontology for describing structure of data Use ontologies for describing structure of data. If both parties use same ontology, no translation necessary. Data transformation based on ontology mapping (rules). 30

Outline Semantic Web Services Basics Challenges in Web Services Semantics in Web Services Web Service Modeling Ontology 31

Ontologies for Semantic Web Services Use ontologies to describe Web Services DAML-S (since 2001) OWL-S (since 2003) Based on OWL-DL WSMO (since 2004) SWSO (since 2005) Based on FLOWS (First-order Logic Ontology for Web Services) 32

OWL-S The ontology of services provides three essential types of knowledge about a service: service profile, service model, service grounding. The class Service provides an organizational point of reference for a declared Web Service. 1. The class Service presents a ServiceProfile: What does the service provide for and require of agents? 2. The class Service is describedby a ServiceModel: How does it work? 3. The class Service supports a ServiceGrounding: How to access the service? 33

OWL-S Ontology 34

OWL-S Service Profile (1) Service Profile specifies the functionality of the service and the conditions that must be satisfied for a successful result. The profile specifies what conditions result from the service, including the expected and unexpected results of the service activity. The profile represents two aspects of the functionality of the service: the information transformation (represented by inputs and outputs) the state change produced by the execution of the service (represented by preconditions and effects) 35

OWL-S Service Profile (2) 36

OWL-S Service Profile Ontology 37

OWL-S Service Model Modeling services as processes. To give a detailed perspective on how to interact with a service, it can be viewed as a process. Process is a subclass of ServiceModel. A process is not a program to be executed. It is a specification of the ways a client may interact with a service. 38

OWL-S Service Model 39

OWL-S Process Ontology Process Ontology can have any number of inputs and outputs representing the information required for execution. The OWL-S defines three types of processes: Atomic (single-step, directly invokable), Simple (single-step, but not directly invokable), Composite (decomposable into other processes). 40

Atomic Process The atomic processes can be invoked directly and are executed in a single step. For each atomic process, there is a grounding that enables a service requester to construct messages. An AtomicProcess is a subclass of a Process 41

Simple Process Simple processes are not associated with a grounding. They are single-step executions. Simple processes are used as elements of abstraction; a simple process may be used either to provide a view of some atomic process, or a simplified representation of some composite process. 42

Composite Process (1) Composite processes are decomposable into other processes. The decomposition shows how the various inputs and outputs are accepted. A CompositeProcess must have a composedof property by which is indicated the control structure of the composite, using a ControlConstruct. 43

Composite Process (2) 44

OWL-S Grounding Specifies the details of how to access the service Protocol and message format Serialization, transport and addressing A mapping from an abstract to a concrete specification of those service description elements that are required for interacting with the service; i.e., the inputs and outputs of atomic processes. both the ServiceProfile and the ServiceModel are thought of as abstract representations; only the ServiceGrounding deals with the concrete level of specification. 45

WSMO WSMO: Web Service Modeling Ontology An ontology for Semantic Web Services. Provides conceptual model for SWS. Provide terminology for data exchanged between service requesters and providers. Principles of WSMO: Ontology-based descriptions Strict decoupling of components Mediation between components Interface, not implementation 46

Web Service Descriptions (1) Functionality offered by the Web Service. Functional description, in the form of a capability: Assumptions Cannot be checked Usually indicate dependency on real world Preconditions Conditions over the input Effects Changes in the real world as a result of execution of the Web Service Postconditions Relation between the input and the output 47

Web Service Descriptions (2) Behavioral description, in the form of an interface: Choreography How to interact with the service Orchestration Use of external Web Service to realize the functionality Both choreography and orchestration are decompositions of the capability. 48

Web Service Descriptions (3) 49

Goals Description Functionality requested from the Web Service Description symmetric to Web Service description: Capability Interface 50

WSMO Process 51

Any Question... amini@sharif.edu 52