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

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

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

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

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

Business Process Modelling & Semantic Web Services

DAML Ontologies for Agent-Enabled Web Services

Agent-oriented Semantic Discovery and Matchmaking of Web Services

DAML: ATLAS Project Carnegie Mellon University

Semantic agents for location-aware service provisioning in mobile networks

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

RESTful Web service composition with BPEL for REST

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

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

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

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

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

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

Digital Enterprise Research Institute. Dieter Fensel

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

Introduction to Web Services & SOA

Web Services Annotation and Reasoning

Introduction to Web Services & SOA

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

Introduction. Semantic Web Services

Default Inheritance for OWL-S

MDA & Semantic Web Services Integrating SWSF & OWL with ODM

Security in the Web Services Framework

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

Web Services: Introduction and overview. Outline

Service Oriented Architectures Visions Concepts Reality

Towards the Semantic Web

Semantic Brokering over Dynamic Heterogeneous Web Resources. Anne H. H. Ngu. Department of Computer Science Southwest Texas State University

Chapter 8 Web Services Objectives

ENHANCED DISCOVERY OF WEB SERVICES Using Semantic Context Descriptions

Semantic SOA - Realization of the Adaptive Services Grid

Lesson 5 Web Service Interface Definition (Part II)

Process Mediation of OWL-S Web Services

L7 Security Semantics

SEMANTIC WEB SERVICES WITH WEB ONTOLOGY LANGUAGE (OWL-S) - SPECIFICATION OF AGENT- SERVICES FOR DARPA AGENT MARKUP LANGUAGE (DAML)

Automatic Service Discovery and Integration using Semantic Descriptions in the Web Services Management Layer

Carnegie Mellon University. Carnegie Mellon University

Semantic-Based Web Mining Under the Framework of Agent

Semantic Web Services for Satisfying SOA Requirements

Semi-automatic Composition of Web Services using Semantic Descriptions

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

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

Lupin: from Web Services to Web-based Problem Solving Environments

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

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

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

METEOR-S Process Design and Development Tool (PDDT)

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

Specifying Web Workflow Services for Finding Partners in the Context of Loose Inter-Organizational Workflow

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

The Web Service Modeling Framework WSMF

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

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

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

Limitations of the WWW

Delivering Semantic Web Services Λ

provides Service presents DescribedBy ServiceModel +RZLWZRUNV

IDECSE: A Semantic Integrated Development Environment for Composite Services Engineering

ICIW 2006, Guadeloupe

DAML-S: Web Service Description for the Semantic Web

Semantic Web. Ontology Pattern. Gerd Gröner, Matthias Thimm. Institute for Web Science and Technologies (WeST) University of Koblenz-Landau

MDA & Semantic Web Services Extending ODM with Service Semantics

Semantic Web Services and Cloud Platforms

Implementation Environments for Semantic Web Services

WWW, REST, and Web Services

(9A05803) WEB SERVICES (ELECTIVE - III)

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

Semantic Web. Sumegha Chaudhry, Satya Prakash Thadani, and Vikram Gupta, Student 1, Student 2, Student 3. ITM University, Gurgaon.

Distributed Invocation of Composite Web Services

Demystifying the Semantic Web

The Open Group SOA Ontology Technical Standard. Clive Hatton

Towards Automatic Selection of Web Services Using Graph Transformation Rules

Efficient Querying of Web Services Using Ontologies

CmpE 596: Service-Oriented Computing

Adaptive Web Transactions: An Approach for Achieving the Atomicity of Composed Web Services

MASSiVE, Unità di Torino

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

Distribution and web services

Web Services Development for IBM WebSphere Application Server V7.0

Agent-Enabling Transformation of E-Commerce Portals with Web Services

Introduction. October 5, Petr Křemen Introduction October 5, / 31

ABSTRACT I. INTRODUCTION

Managing Learning Objects in Large Scale Courseware Authoring Studio 1

4ICT12 Internet Applications: Web Services

MATCHING MODEL FOR SEMANTIC WEB SERVICES DISCOVERY

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

Web Services in Cincom VisualWorks. WHITE PAPER Cincom In-depth Analysis and Review

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

Semantics Based Grid Services Publishing and Discovery

<Insert Picture Here> Click to edit Master title style

Introduction to the Semantic Web

Probabilistic logics for defining and using P2P service descriptions

METADATA INTERCHANGE IN SERVICE BASED ARCHITECTURE

The Design of The Integration System for OTOP Products Data Using Web Services Technology, Thailand

An Approach to Evaluate and Enhance the Retrieval of Web Services Based on Semantic Information

Envisioning Semantic Web Technology Solutions for the Arts

Transcription:

Semantic Web Service Courtesy some graphic slides from online Lin Zuoquan Information Science Department Peking University lz@is.pku.edu.cn http://www.is.pku.edu.cn/~lz/teaching/stm/saswws.html Lin Zuoquan pku/2003

Outline Introduction Specification Discovery Composition 2

Introduction The Vision The Problem The Solution 3

The Vision 500 million user more than 1 billion pages Static WWW URI, HTML, HTTP 4

Vision(contd) Serious Problems in information finding extracting representing interpreting and maintaining WWW URI, HTML, HTTP Semantic Web RDF, RDF(S), OWL 5

Vision(contd) Serious Problems in information finding extracting representing interpreting and maintaining WWW URI, HTML, HTTP Semantic Web RDF, RDF(S), OWL 6

7 Vision(contd) Web Services UDDI, WSDL, SOAP Bringing the computer back as a device for computation Static WWW URI, HTML, HTTP Semantic Web RDF, RDF(S), OWL

8 Current Affairs Dynamic Web Services UDDI, WSDL, SOAP Bringing the computer back as a device for computation Static WWW URI, HTML, HTTP Semantic Web RDF, RDF(S), OWL

Vision(contd) Bringing the web to its full potential Dynamic Web Services UDDI, WSDL, SOAP Intelligent Web Services Static WWW URI, HTML, HTTP Semantic Web RDF, RDF(S), OWL 9

10 The Problem SOAP+UDDI+WSDL Data exchange between two programs in XML format Operate on syntactic level : Web services infrastructure do not access data content Semantics are critical to support the next generation of the Web. WSFL/BPML/XLANG/emXMI/BPEL4WS There are many layer required to achieve automatic web service discovery, selection, mediation and composition into complex services Discovery:The programs such as agents have no way to locate one that will perform a specific function. This process, called service discovery, can happen only when there is a common language to describe a service in a way that lets other agents "understand" both the function offered and how to take advantage of it. Jini low level, syntactical based, standardized functionalities. Integration. The development of integrated services is still largely ad-hoc, time-consuming and requiring a considerable effort of low-level programming.

11 Big Challenges Semantics are critical to support the next generation of the Web. The important contribution of the Semantic Web, vis-à-vis the current Web, is the ability to represent and process descriptions of every resource on the Web. A resource description, informally called its semantics, includes that information about the resource that can be used by machines - not just for display purposes, but for using it in various applications.

WS Missing Concepts in Web services Data definition XML Schema is definition language for input and output message No domain specific data definitions Invocation behavior No operation sequence definition All operations are equal w.r.t. behavior. Any restriction to be known (by magic) by invoker Mediation No mediation of data No mediation of behavior 12

13 WS(contd.) Missing elements in Web services (continued) Composition No concepts for composition Trading Partner Management Web services recognize URIs as endpoints and do not incorporate trading partner management Service level guarantees Web services do not contain any service level agreements Emerging Work Web Services Security http://www-106.ibm.com/developerworks/library/ws-secure Business Transaction (OASIS) http://www.oasis-open.org/committees/business-transactions

14 The Solution WS-I SWS

15 Solutions The lack of high-level abstractions and functionalities for web service application has triggered a considerable amount of research. Industry focused on modularization of services layers-mostly for usability in the short term Academic Research has been mostly concerned with expressiveness of service description using Semantic Web technology.

WS-I Web Services Interoperability Web Services Interoperability Organization Define interoperable standards versions Provide tools for interoperability testing http://www.ws-i.org 16

17 Limits of Industry Effort Little new really technology, using the standardized taxonomies and vocabularies that exhibit little flexibility and expressiveness and that restricts that usability of web services to human users rather than machine agents. E.g. UDDI: A Web Service user retrieves advertisement out of registry based on keyword search.uddi search mechanism relies on pre-defined categorizations through keywords and does not refer to the semantic content of the advertisement. Search only for the on tmodelkey,not every attributes. UDDI does not support Semantic description of Services. WSDL has not precondition, postcondition. It does not support the definition of logical constraints between its input and output parameters,limited in invoking.

Semantic Web Service Make services computer-interpretable,userapparent and agent enabled. Personalized machine agents to support automatic Web service discovery, execution, composition and interoperation. Break out the virtual realm and extend it to into our physical world. 18

Specification DAML-S (DAML for Services) WSMF (Web Services Modeling Framework) Process Ontology Other Researches 19

20 DAML-S A DARPA Agent Markup Language for Services. Semantic markup of Web Services that makes them machine understandable and use apparent. BBN Technologies,Carnegie Mellon University,Nokia,Stanford University,SRI International,Yale University

21 DAML-S: Ontology Service ontology http://www.daml.org/services/daml-s/2001/10/daml-s.html

Service Profile Specify the intended purpose of the service. For service discovery. Three types Provenance and Description Functionality Description Functional Attributes. 22

23 Description in Service Profile Service Name Intended Purpose textdescription Provided by Requestedby Actor (requester or provider) Name Phone Fax Email Physical Address weburl

Functionality Description in Profile Input Output Precondition Effect domainresource The Class ParameterDescription is used to provide values to inputs and outputs. parametername RestrictedTo RefersTo The Class ConditionDescription is used to provide a conditions and effects. conditionname Statement*(not done) refersto 24

Functional Attributes Address the problem that there are other properties that can be used to describe a service other than a functional process. E.g. A service may accessed from anywhere on the Internet, it may only applicable to a specific audience. For instance, although it is infeasible to order food from D.C in Atlanta. GeographicRadius degreeofquality Service Parameter communicationthru servicetype servicecategory QualityGuarentee qualityrating 25

Modeling Service as Process Two chief components: Process- enables planning, composition, and interoperation. Process control Model, which allows agents to monitor the execution of a service request.( not available in DAML-S 0.6). 26

27 The Process Ontology Daml-s

The Process Ontology (cont d) Three types of Process: Atomic Process Directly invocable. Execute in single step. Simple Process Provide a view of atomic process Simplified representation of some composite process(for planning, reasoning). Composite Process Control Structure Sequence Split Unordered Split+Join Choice If-Then-Else Iterate Repeat-Until 28

Congo-Purchase: Ontology B2C-Service Process B2C-Lookup Congo-Lookup B2C- AccountMgmt Congo- AccountMgmt CP- Profile B2C-Purchase Congo-Purchase CP- Model CP- Grounding 29

Congo Purchase: ProcessModel Complex service Locate-Goods Check-out Put-in-Cart Sign-in Create-Account One-Step Load-Prefs Create-Prefs Select-Payment-Method Specify-Delivery-Address Primitive or complex services Finalize Giftwrap 30

CongoPurchaseProcessModel.daml <process> <name> purchase </name> <sequence> <process> locate_goods (?goods)</process> <alternative> <alt1><task> One_step </task></alt1> <alt2> <sequence> <task> put_in_cart(?goods)</task> <process> <name> check_out_info</name> <alternative> <alt1> <sequence> <task> Sign_in (?user)</task> <task> Load_profile(?user.profile) </task> </sequence></alt1> <alt2> <sequence> <process> Create_Account (?user)</process> <process> Create_profile(?user.profile) </process> </sequence></alt2> </alternative> </process> <task> Select_Payment_Method </task> <process> Select_Delivery_Address </process> </sequence></alt2> </alternative> <task> Finalize </task> </sequence> </process> 31

Process Control Ontology To monitor and Control the execution of a process, an agent needs a model to interpret process instantiations with three characteristics: Provide the mapping rules for various input state properties to the corresponding output state state properties. Provide a model of the temporal or state dependencies described by the constructs, sequence etc. Provide representation for message about the execution. 32

Resource Allocation Type resources are allocated to the activities or process consumabelallocation ReusableAllocation Capacity Type DiscreteCapacity ContinuousCapacity Resource Compostion AtomicResource AggregateResource 33

B2C-Purchase: Grounding Transport: Secure HTTP Protocol: HTTP Forms Address: https://buybot.congo.com:4040/initsub.htm Type Serializations ItemDescription (keywords): Set of DAML literals PriceRange: pair of monetary units, ISO 5678 CreditCard: https://transcredit.com/s1.daml#securetransferformat 34

WSMF Strong de-coupling of various components that realize an E-commerce application. Strong mediation service enabling anybody in a scalable manner 35

The Web Service Modeling Framework (WSMF) Ontology: define the terminology that is used by other elements of WSMF specification. Goal Repository: specify that a client may have in case he consults a web service. Pre-condition Post-condition Web Services: define various aspects of a web service. Mediator: bypass interoperability problem. 36

Web Services 1. Name: a unique identifier. 2. Goal. 3. Precondition and Postcondition 4. Input Data and output data 5. Error Data These description elements still tried a web service as a black box. We need want to have more complex description, failure, concurrent execution, concurrent data input and output, dynamic service binding. 6.Invoked web service proxy. 7.Input ports and output Ports. 8.Data Flow and Control Flow 9.Exception handling 10. Error State 11.Message exchange protocol. 12.Non functional properties. 37

Mediator Mediation of data structures. Mediation of business logics. Mediation of message exchange protocols. 38

39 DAML-S vs. WSMF Ontology for Web Service.Easily to establish the relationship of services. Public process for monitoring. Lack of interface definition. Ontology for concepts.no Service Ontology. Emphasize the process and mediation in interactions. Conflicting points in the composition by requestor, since the process is blackbox, how requestor know the process? No semantic support for service composition.

Semantic Service Discovery Example: Find a service that sells airline ticket from Beijing to Shanghai and accepts payment by the MMM Club credit card Shoe and Ontobroker. Semantic Search are not enough for the services, especially for the altering-world services since we should consider personal constraints and consequence of services for execution and composition. 40

Service Matching and Discovery ATLAS: Based on DAML-S by CMU Matchmaking Service by HP Lab, UK Matchmaking using Process Ontology. DReggie: Semantic Service Discovery for M- commerce application 41

42 CMU- ATLAS Based on the DAML-S. Providers advertise the services with one or more middle agents. Matching Functional attributes. Determine the applicability of advertisement achieved by performing conjunctive pair-wise comparisons of the properties.(?) Different type of inference for the different attributes. e.g. geographicradius and servicetype

Matching Functional Attributes Multiple criteria decision making (MCDM) refers to making decisions in the presence of multiple, usually conflicting, criteria. MCDM problems are common in everyday life. In personal context, a house or a car one buys may be characterized in terms of price, size, style, safety, comfort, etc Conjunctive constraint method: By setting up a minimum standard for each attribute, the alternative selection or evaluation process is simplified to compare each attribute against its standard. If the standard reflects the decision maker expectations, the obtained solutions are satisfying solutions. 43

CMU- ATLAS (cont d) Matching Service Functionalities Service functionalities grouped into two sets, input and output. Requester input is Ri, output is Ro Provider input is Ai, output is Ao (1) Set Ri is compared to the set Ai, and match is determined if Ai is subset of Ri. (2) Output sets match when all the elements in Ro are subsumed by elements in Ao. (i.e) 44

HP-DL Reasoner Description Languages are logic based KR formalisms Based on concepts and roles. E.g. Man= Human П Male DL System provide efficient inference services Careful choice of logic/algorithm Highly optimized implementation DL have been influential in development of Semantic Web 45

HP- DL Reasoner Based on DAML+OIL, using description logics. Concept of Match:a service D1 is a match for a service description D2 if there is no contradiction between all of the restrictions in D1 and D2. Algorithm: The match for service description S Equivalent concepts to S Sub-Concept of S Super-concept of S that subsumed by the Root Sub-concepts of any direct super-concept of S whose interaction with S is satisfiable. 46

HP-DL Reasoner (cont d) Requirements for DL Reasoner for matchmaking SHOQ (D) is the minimum expressive required.(compared to SHID that does not support individuals or datatypes. Dynamic Ability to deal with multiple interconnected with Tboxes Scalability Persistency Support for DAML+OIL 47

DReggie Based on DAML For m-commerce Prolog Reasoner for Semantic Discovery Representation of a body of knowledge as a set of declarative. Central to Prolog are concepts from logic:axiom and inference. Prolog makes inference from those axioms about whether certain sentences follow from them Forward Reasoning and backward Reasoning. 48

Service Composition Travel Solution Flight Booking Accommodation Booking Tourist attraction searching Bicycle hire and car rental booking Event attendance planner. 49

Problem for Composition How to you know when it is safe to compose A and B? Output semantics of A match input semantics of B The main problem is semantic mapping of arguments In most systems to date, this requires human level knowledge. If system is purpose-built for composition, semantic mapping can be explicitly coded into service interface. 50

Two Types of Service Composition Static Service Composition: Plan of the composite service is known a priori. E-flow is platform for the specification, enactment and management of composite e-services. Service Discovery Pattern: What type of information is needed to identify service components at run-time? How to integrate the component services in the provision of this composite service? 51

Service Discovery Pattern(cont d) Solution: An automated service discovery:given that component services are described using software interpretable information(ontology), this facility provides means(service discovery engine) to locate component services based on constraints over their meta-data. A composite service specification allows component services to be automatically discovered and integrated. Implementation. CMI(placeholder->selection policy) Push-Community.(WebBIS) 52

53 Push-Community Describes the capabilities of a desired service without referring to any specific service. A services can register with it to (fully or partially)offer the desired operations. This involves the definition of the mappings between operations defined in the community and those defined in the actual services. Push Community defines a request for services. The task of composing a complex service is gracefully distributed by enabling each provider to contribute to one or more communities without knowledge of the details of other participating services. Abstract Service Ontology, instead of the concrete service in the query.