Semantic Web Services Sharif University of Technology Spring 2007.

Slides:



Advertisements
Similar presentations
May 23, 2004OWL-S straw proposal for SWSL1 OWL-S Straw Proposal Presentation to SWSL Committee May 23, 2004 David Martin Mark Burstein Drew McDermott Deb.
Advertisements

Using Taverna to access SOAP-based web services Per Larsson CBR
ARCHITECTURES FOR ARTIFICIAL INTELLIGENCE SYSTEMS
1 st COCOON review – March 8 th -9 th, SIXTH FRAMEWORK PROGRAMME PRIORITY e-Health COCOON (FP ) Building knowledge driven & dynamically.
1 Intention of slide set Inform WSMOLX of what is planned for Choreography & Orhestration in DIP CONTENTS Terminology Clarification / what will be described.
Semantic Web Services Peter Bartalos. 2 Dr. Jorge Cardoso and Dr. Amit Sheth
Context-aware Semantic Web Service Composition
1 Introduction to XML. XML eXtensible implies that users define tag content Markup implies it is a coded document Language implies it is a metalanguage.
Understand Web Services
A New Computing Paradigm. Overview of Web Services Over 66 percent of respondents to a 2001 InfoWorld magazine poll agreed that "Web services are likely.
Web Ontology Language for Service (OWL-S). Introduction OWL-S –OWL-based Web service ontology –a core set of markup language constructs for describing.
DAML-S: Sematic Markup for Web Services Zhou Jiefeng CS595 Nov. 25t.
Study Period Report: Metamodel for On Demand Model Selection (ODMS) Wang Jian, He Keqing, He Yangfan, Wang Chong State Key Lab of Software Engineering,
Business Process Orchestration
The Semantic Web Week 18: Part 4 Introduction to Web Services and Intelligent Web Agents Module Website: Practical.
An Intelligent Broker Approach to Semantics-based Service Composition Yufeng Zhang National Lab. for Parallel and Distributed Processing Department of.
The WSMO / L / X Approach Michael Stollberg DERI – Digital Enterprise Research Institute Alternative Frameworks for Semantics in Web Services: Possibilities.
2006 IEEE International Conference on Web Services ICWS 2006 Overview.
OWL-S: Semantic Markup for Web Services
Kmi.open.ac.uk Semantic Execution Environments Service Engineering and Execution Barry Norton and Mick Kerrigan.
Web Service Architecture Part I- Overview and Models (based on W3C Working Group Note Frank.
1 Adapting BPEL4WS for the Semantic Web The Bottom-Up Approach to Web Service Interoperation Daniel J. Mandell and Sheila McIlraith Presented by Axel Polleres.
RSS RSS is a method that uses XML to distribute web content on one web site, to many other web sites. RSS allows fast browsing for news and updates.
Web Services Michael Smith Alex Feldman. What is a Web Service? A Web service is a message-oriented software system designed to support inter-operable.
Semantic Web Technologies Lecture # 2 Faculty of Computer Science, IBA.
THE NEXT STEP IN WEB SERVICES By Francisco Curbera,… Memtimin MAHMUT 2012.
Ontology-derived Activity Components for Composing Travel Web Services Matthias Flügge Diana Tourtchaninova
Katanosh Morovat.   This concept is a formal approach for identifying the rules that encapsulate the structure, constraint, and control of the operation.
1 Web Services Distributed Systems. 2 Service Oriented Architecture Service-Oriented Architecture (SOA) expresses a software architectural concept that.
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
The Semantic Web Service Shuying Wang Outline Semantic Web vision Core technologies XML, RDF, Ontology, Agent… Web services DAML-S.
Filtering & Selecting Semantic Web Services with Interactive Composition Techniques By Evren Sirin, Bijan Parsia, and James Hendler Presenting By : Mirza.
Development of Front End Tools for Semantic Grid Services Dr.S.Thamarai Selvi, Professor & Head, Dept. of Information Technology, Madras Institute of Technology,
Agent Model for Interaction with Semantic Web Services Ivo Mihailovic.
Bringing Semantics to Web Services with OWL-S. 指導教授:吳秀陽 報告人:陳建博 學號:
* * 0 OWL-S: Ontology Web Language For Services Reyhan AYDOĞAN Emre YILMAZ 21/12/2005OWL-S: Ontology Web Language for Services.
WSDL Tutorial Ching-Long Yeh 葉慶隆 Department of Computer Science and Engineering Tatung University
OWL-S. Web Services: OWL-S2 BPEL and WSDL : Messages.
10/18/20151 Business Process Management and Semantic Technologies B. Ramamurthy.
UT DALLAS Erik Jonsson School of Engineering & Computer Science FEARLESS engineering Semantic Web Services CS - 6V81 University of Texas at Dallas November.
© DATAMAT S.p.A. – Giuseppe Avellino, Stefano Beco, Barbara Cantalupo, Andrea Cavallini A Semantic Workflow Authoring Tool for Programming Grids.
McIlraith - Knowledge Systems Laboratory DAML/Horus Meeting 02/16/2001 Mobilizing the Web with DAML-Enabled Web Services Sheila McIlraith Knowledge Systems.
Web Services interoperability and standards. Infrastructure Challenge ● Applied bioinformatics need various computer resources ● The amount and size of.
Web Services Based on SOA: Concepts, Technology, Design by Thomas Erl MIS 181.9: Service Oriented Architecture 2 nd Semester,
XML Web Services Architecture Siddharth Ruchandani CS 6362 – SW Architecture & Design Summer /11/05.
An Ontological Framework for Web Service Processes By Claus Pahl and Ronan Barrett.
Semantic Web - an introduction By Daniel Wu (danielwujr)
Sheila McIlraith, Knowledge Systems Lab DAML Kickoff 08/14/00 Mobilizing the Web with DAML-Enabled Web Services Services Team Sheila McIlraith (Technical.
©Ferenc Vajda 1 Semantic Grid Ferenc Vajda Computer and Automation Research Institute Hungarian Academy of Sciences.
Presented By Venkatavasishta Chemudupati
Automating DAML-S Web Services Composition Using SHOP2 Based on an article by Dan Wu, Bijan Parsia, Evren Sirin, James Hendler and Dana Nau in Proceedings.
WSDL – Web Service Definition Language  WSDL is used to describe, locate and define Web services.  A web service is described by: message format simple.
Using DAML+OIL Ontologies for Service Discovery in myGrid Chris Wroe, Robert Stevens, Carole Goble, Angus Roberts, Mark Greenwood
1 Proposal on MFI-5: Process model registration based on ontology (MFI4Process) He Keqing Wang Chong 2006/08/29.
McIlraith - Knowledge Systems Laboratory DAML PI Meeting 02/14/2001 Mobilizing the Web with DAML-Enabled Web Services Sheila McIlraith Knowledge Systems.
MFI-7: Metamodel for Service Registration 1 Zaiwen Feng, Keqing He, Chong Wang, Jian Wang Peng Liang, Jianxiao Liu, Yangfan He SKLSE, Wuhan University,
Web Technologies Lecture 10 Web services. From W3C – A software system designed to support interoperable machine-to-machine interaction over a network.
Discussion about MFI-7: Metamodel for Service Registration Wang Jian, He Keqing, He Yangfan, Wang Chong SKLSE, Wuhan University, China
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
Mathematical Service Matching Using Description Logic and OWL Kamelia Asadzadeh Manjili
SE 548 Process Modelling WEB SERVICE ORCHESTRATION AND COMPOSITION ÖZLEM BİLGİÇ.
By Jeremy Burdette & Daniel Gottlieb. It is an architecture It is not a technology May not fit all businesses “Service” doesn’t mean Web Service It is.
A Semi-Automated Digital Preservation System based on Semantic Web Services Jane Hunter Sharmin Choudhury DSTC PTY LTD, Brisbane, Australia Slides by Ananta.
Service Oriented Architecture (SOA) Prof. Wenwen Li School of Geographical Sciences and Urban Planning 5644 Coor Hall
Java Web Services Orca Knowledge Center – Web Service key concepts.
Unit – 5 JAVA Web Services
Web Ontology Language for Service (OWL-S)
Business Process Modelling & Semantic Web Services
Semantic Markup for Semantic Web Tools:
Business Process Management and Semantic Technologies
Presentation transcript:

Semantic Web Services Sharif University of Technology Spring 2007

2 Outline What is the Problem? –Semantic Web Services –Service Discovery –Service Composition –Context-awareness Related Works Contributions –Proposed Architecture for a Context-aware Service Broker –Proposed Methods for Service Matchmaking

What is the Problem?

4 Web Services Web-accessible Self-describing Platform independent Definition of World Wide Web Consortium (W3C): –“a software system designed to support interoperable machine-to-machine interaction over a network. It has an interface described in a machine-processable format (specifically WSDL). Other systems interact with the Web service in a manner prescribed by its description using SOAP messages, typically conveyed using HTTP with an XML serialization in conjunction with other Web related standards”

5 Service Oriented Architecture Service Broker Service User Service Provider Find PublishBind UDDI WSDL SOAP SOAP – Simple Object Access Protocol / SOA Protocol WSDL – Web Services Description Language UDDI – Universal, Description, Discovery, and Integration Only Syntax, Agents can not understand meanings

6 Semantic Web Services Semantic Web –Sharing Information on the Web –Computer-interpretable Web Services –Sharing Programs on the Web Semantic Web Services –Web Services + Semantic Web –Using ontologies to describe web services

7 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)

8 Issues in Semantic Web Services Discovery (Matchmaking): Locate different services suitable for a given task Selection: Choose the most appropriate services among the available ones Composition: Combine services to achieve a goal –Automatic Service Composition might enable programmer to become specifying what to do and not anymore how to do it! Execution: Invoke services following programmatic conventions Monitoring: Control the execution process

9 A trivial Example

10 An Obvious Solution

11 Composition: An Example BookShipped GetInfo BookNamePasswordUserName Login PutInCart BookLookUp CardTypeCardExpiryDateCardName CreditCardCheck ShipItem Goal Available Services Inputs HotelReservation FlightBooking CarRental

12 Composition: An Example BookShipped GetInfo InCart BookName PasswordUserName ISBNBookInStockProfileExists UserType Login PutInCart BookLookUp CardType Approved CardExpiryDateCardName CreditCardCheck ShipItem

OWL-S

14 Introduction The ontology of services provides three essential types of knowledge about a service: service profile, service model, and 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?”

15 Service profile

16 Service model

17 Process ontology Process Ontology can have any number of inputs and outputs representing the information required for execution. Besides inputs and outputs, parameters for physical devices, such things as rates, forces, and control settings can be included. The OWL-S defines three types of processes: Atomic (directly invokable), Simple (single-step, but not directly invokable), and Composite (decomposable into other processes).

18 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

19 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.

20 Composite Process 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.

21 Composite Process (cont.)

Related Works

23 Composition Approaches Manual –Design-time composition –BPEL4WS (Business Process Execution Language for Web Services) Workflow-based –Only works when the web service environment doesn’t, or only rarely changes Automatic –AI Planning & Workflow-based

24 AI Planning A B move(a,table) move(c,a) move(b,c) C B C A Initial StateGoal State Actions

25 AI Planning for Composition (1) Planning Domain Definition Language (PDDL) –PDDL is a standardized input for state-of-the-art planners –PDDL and OWL-S representations are very similar. –OWLS2PDDL is available. –Different planners have different capabilities and by using this method we can use the best suited planner for each particular composition task.

26 AI Planning for Composition (2) Rule-based Planning –Medjahed (2003) –Composability rules are used to determine whether two services are composable. Message composability (output of one service is compatible with input of another). Operation semantic composability (defines the compatibility of domains and categories and purposes of two services). Qualitative composability (defines the requester’s preferences for quality of operations). Composition soundness (determines whether a composition of services is reasonable). Composition templates that define dependencies between services are used.

27 AI Planning for Composition (3) Rule-based Planning –SWORD It uses Entity-Relation model to specify web services. A service is modeled by its preconditions and postconditions and is represented in the form of a Horn rule that denotes postconditions are achieved if the preconditions are true. User specifies the initial and final states. A rule-based Expert System is used for plan generation.

28 AI Planning for Composition (4) Situation Calculus –Activities users perform on the web can be viewed as customizations of reusable, high-level generic procedures. –Runtime customization of these generic procedures. –Situation calculus is a logic language for reasoning about action and change. –GOLOG is a logic programming language built on top of the situation calculus. –McIIrith et. al. (2001,2002), adapt and extend the GOLOG language for automatic construction of Web services. –Web Service = Action Primitive –World-altering: change the state of the world –Information-gathering: change the state of the knowledge Complex –Compositions of individual actions –Main Problem: GOLOG programs are difficult to create

29 AI Planning for Composition (5) Hierarchical Task Network Planners Composite task decomposition in HTN planning is very similar to Composite process decomposition in OWL-S.

30 AI Planning for Composition (6) Hierarchical Task Network Planners –User must give an abstract task list. –SHOP2 –More efficient than other planning languages such as GOLOG. –OWL-S can be translated to SHOP2. –JSHOP2 is open source. –Main Problems: Lack of parallel execution, a feature frequently needed for efficient web service usage. Processes either must have outputs or effects, but not both. –It enables information gathering during planning. it is not possible to directly express the semantics of OWL DL using SHOP2 axioms. A task can not be both primitive and nonprimitive.

31 AI Planning for Composition (7) OWLS-Xplan –An open source composition tool released Dec –Based on Xplan planner

32 Template-based Composition Sirin et al., Nov A workflow template describes the outline of activities that need to be performed to solve a problem. –Some of the activities are defined as abstract activities. Recursive decomposition of templates. Generic templates can be customized for a specific instance of the problem based on the users’ preferences: –Use only certified services –Try to find non-fee services –Do not buy the plane ticket if we can not reserve the hotel room.

33 Semi-automatic Composition Current automatic composition approaches can not scale with the amount of knowledge on Semantic Web. Sirin et al. (2004) Automatic planner and human being can work together to generate the composite service. The user starts the composition process by selecting one of the services registered to the engine. A query is sent to the KB to retrieve the information about the inputs of the service, and for each of the inputs, a new query is run to get the list of the possible services that can supply the appropriate data for this input.

34 Context-awareness What is context? (in our work) –context encompasses all information about the client of a web service that may be utilized by the web service for adjusting the execution and output to provide the client with a customized and personalized behavior. For example, –Profile General-info: –Name, , credit-card number,... Preferences: –Currency, Language,... –Location –CC/PP (Composite Capabilities / Preferences Profile) –Bandwidth

35 Context-based Adaptation What is the Screen size? Is it JavaScript Enabled?

A Proposal for Service Broker

37 A Context-aware Service Broker Request + ContextAdapted Request Matchmaking Request Profile Request Registered Services Info Composition Request Selected Service Ask for inputsInputs requestAdapted inputs Service Specification + Inputs Generated outputsAdapted outputs

38 Matchmaking

39 Proposed method for Matchmaking Fuzzy Matchmaking: –Instead of using strict levels of matching, let’s use a value between 0 and 1. –We can use the concept of Semantic Distance. C1 CCP C2 1/2 1/8 1/4 1/16

40 Evaluation

41 Input/Output Matching is not sufficient Add and Multiply services both have similar signatures: We need to find what services actually do. Add Integer Multiply Integer