1 / 214

SemanticGov WSMO, WSML and WSMX Seminar

SemanticGov WSMO, WSML and WSMX Seminar. Tomas Vitvar, Holger Lausen, Adrian Mocan, Tomas Haselwanter, Michal Zaremba. SemanticGov WSMO/L/X Seminar 6-7 April 2006, Innsbruck. Agenda. <Semantic Web Services and WSMO>. Tomas Vitvar. Overview. Introduction to Semantic Web Services

evan-mills
Download Presentation

SemanticGov WSMO, WSML and WSMX Seminar

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SemanticGovWSMO, WSML and WSMX Seminar Tomas Vitvar, Holger Lausen, Adrian Mocan, Tomas Haselwanter, Michal Zaremba SemanticGov WSMO/L/X Seminar 6-7 April 2006, Innsbruck

  2. Agenda

  3. <Semantic Web Services and WSMO> Tomas Vitvar

  4. Overview • Introduction to Semantic Web Services • Web Service Modeling Ontology

  5. Semantic Web and Web Services 500 million user more than 3 billion pages WWW URI, HTML, HTTP Static

  6. Semantic Web and Web Services • Serious Problems in • information finding, • information extracting, • Information representing, • information interpreting and information maintaining. Semantic Web RDF, RDF(S), OWL WWW URI, HTML, HTTP Static

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

  8. Semantic Web and Web Services • Bringing the Web to its full potential Intelligent Web Services Web Services UDDI, WSDL, SOAP Dynamic Semantic Web RDF, RDF(S), OWL WWW URI, HTML, HTTP Static

  9. Semantic Web • The next generation of the WWW • Information has machine-processable and machine-understandable semantics • Not a separate Web but an augmentation of the current one • Ontologies as basic building block

  10. Semantic Web – Ontology Definition conceptual model of a domain (ontological theory) unambiguous terminology definitions commonly accepted understanding machine-readability with computational semantics Formal, explicit specification of a shared conceptualization

  11. Semantic Web – Ontology Example Concept – Conceptual entity of a domain Property – Attributes describing a concept Relation – Relationships between concepts or properties Axiom – Coherency description between Concepts / Properties / Relations using logical expressions name email Person number research field isA – hierarchy (taxonomy) Student Professor attends holds Lecture lecture nr. topic holds(Professor, Lecture) => Lecture.topic = Professor.researchField

  12. Semantic Web – Ontology Technology • Ontology Languages: • expressivity • reasoning support • web compliance • Ontology Reasoning: • large scale knowledge handling • stable & scalable inference machines • Ontology Management Techniques: • editing and browsing • storage and retrieval • versioning and evolution Support • Ontology Integration Techniques: • ontology mapping/aligning, merging

  13. Web Services • Loosely coupled, reusable components • Encapsulate discrete functionality • Distributed • Accessible over standard internet protocols • Add new level of functionality on top of the current web

  14. Web Services – Architecture

  15. Web Services – WSDL • Web Service Description Language • W3C effort, WSDL 2 final construction phase

  16. Web Services – UDDI • Universal Description, Discovery, and Integration Protocol • OASIS driven standardization effort • Information stored in UDDI • White Pages • Name of Business, Contact Information • Description of the Company • Yellow Pages • Business Classification Information • Based on NAICS, or Geographical Index • List of Products (multiple entries) • Green Pages • Technical Information about services • Example: business processes, binding info, etc.

  17. Web Services – SOAP • Simple Object Access Protocol • W3C Recommendation • XML Data Transport • Sender <-> receiver • Protocol Binding • Communication Aspects • Messages – content

  18. Web Services – Difficulties • Only Syntactical Information Descriptions • Syntactic support for discovery, composition and execution • Web Service usage and integration needs to be supported manually • No Semantic mark-up for content and services • No support for Semantic Web

  19. Semantic Web Services Semantic Web Technology + Web Service Technology • allow machine supported data interpretation • ontologies as data model • messaging, invocation of services • security, etc. => Semantic Web Services as integrated solution for realizing the vision of the next generation of the Web

  20. Semantic Web Services • Service Model – framework for description of Web Services and related aspects • Ontologies as Information Model – support ontologies and make use of ontology languages for definition of underlying information model • Define semantically driven techniques for total or partial automation of the web service execution process

  21. Semantic Web Services – Execution Process (1) • Publication • Make the description of a Web service available on the Web • Discovery • Detect suitable services for a solving given task • Selection • Choose the most appropriate services among the suitable ones according to user’s preferences • Composition • Combine more services to achieve a goal • Mediation • Solve mismatches (data, protocol, process) among different services

  22. Semantic Web Services – Execution Process (2) • Invocation • Invoke services according to consumption interface and programmatic conventions • Monitoring • Control and monitor the execution process • Compensation • Provide transactional support (i.e. commit/rollback) • Replacement • Facilitate the substitution of services by equivalent ones • Auditing • Verify that service execution occurred in the expected way

  23. Overview • Introduction to Semantic Web Services • Web Service Modelling Ontology

  24. WSMO – Scope • WSMO defines conceptual model for Semantic Web Services • Ontology of core elements for Semantic Web Services • Formally defined using WSML language • Derived from the Web Service Modelling Framework (WSMF) • WSMO defines requirements for Web Service Modelling Language (WSML) • WSMO defines framework for architecture and execution environment (WSMX) • WSMO is developed as part of ESSI cluster

  25. WSMO – Working Groups A Conceptual Model for SWS A Formal Language for WSMO Execution Environment for WSMO A Rule-based Language for SWS

  26. WSMO – Design Principles • Web Compliance • Ontology-Based • Goal-driven • Strict Decoupling • Centrality of Mediation • Description versus Implementation • Execution Semantics

  27. WSMO – Top Level Elements Objectives that a client wants to achieve by using Web Services Provide the formally specified terminology of the information used by all other components Semantic description of Web Services: • Capability (functional) • Interfaces (usage) Connectors between components with mediation facilities for handling heterogeneities WSMO D2, version 1.2, 13 April 2005 (W3C submission)

  28. Non-Functional Properties • Every WSMO elements is described by properties that contain non-functional aspects of web services • Dublin Core Metadata Set • Used for resource management • Versioning Information • Evolution support • Quality of Service Information • Availability of services, reliability • Other • Owner, financial aspects, etc.

  29. List of Non-functional Properties Quality of Service Accuracy NetworkRelatedQoS Performance Reliability Robustness Scalability Security Transactional Trust Dublin Core Metadata Contributor Coverage Creator Description Format Identifier Language Publisher Relation Rights Source Subject Title Type Other Financial Owner TypeOfMatch Version

  30. WSMO Ontologies Objectives that a client wants to achieve by using Web Services Provide the formally specified terminology of the information used by all other components Semantic description of Web Services: • Capability (functional) • Interfaces (usage) Connectors between components with mediation facilities for handling heterogeneities

  31. WSMO Ontologies – usage and design principles • Ontologies are used as the ‘data model’ throughout WSMO • all WSMO element descriptions rely on ontologies • all data interchanged in Web Service usage are ontologies • Ontology reasoning and semantic information processing • WSMO Ontology Language WSML • conceptual syntax for describing WSMO elements • logical language for axiomatic expressions (WSML Layering) • WSMO Ontology Design • Modularization: import / re-using ontologies, modular approach for ontology design • De-Coupling: heterogeneity handled by OO Mediators

  32. Ontology Specification • Non functional properties • Imported Ontologies • importing existing ontologies where no heterogeneities arise • Used mediators • OO Mediators (ontology import with terminology mismatch handling) • Ontology Elements: • Concepts – set of concepts that belong to the ontology, incl. • Attributes – set of attributes that belong to a concept • Relations – define interrelations between several concepts • Functions – special type of relation • Instances – set of instances that belong to the represented ontology • Axioms – axiomatic expressions in ontology (logical statement)

  33. WSMO Web Services Objectives that a client wants to achieve by using Web Services Provide the formally specified terminology of the information used by all other components Semantic description of Web Services: • Capability (functional) • Interfaces (usage) Connectors between components with mediation facilities for handling heterogeneities

  34. WSMO Web Service Description WS WS WS • Complete item description • Quality aspects • Advertising of Web Service • Support for WS Discovery Capability functional description Non-functional Properties DC + QoS + Version + financial • realization of functionality by aggregating • other Web Services • functional • decomposition • interaction with • aggregated WS • client-service interaction interface for consuming WS • External Visible • Behavior • - Communication • Structure • - ‘Grounding’ Web Service Implementation (not of interest in Web Service Description) Choreography --- Service Interfaces --- Orchestration

  35. WSMO Web Service – Capability Specification • Non functional properties, Imported Ontologies, Used mediators • Preconditions • what a web service expects in order to be able to provide its service (conditions over the input) • Assumptions • conditions on the state of the world that has to hold before the Web Service can be executed • Postconditions • Describes the result of the Web Service in relation to the input, and conditions on it • Effects • conditions on the state of the world that hold after execution of the Web Service (i.e. changes in the state of the world)

  36. WSMO Web Service – Interface Specification • Service Interface – consumption and interaction • Choreography and Orchestration – described as sub-elements of WSMO Web Service Interface • Choreography • External Visible Behaviour of a Web Service • Aspects of the workflow of a Web Service where Interaction is required • Communication Structure – messages sent and received and order of messages • Orchestration • Decomposition of Web Service functionality • Interaction with aggregated web services

  37. WSMO Web Service – Interface Specification • Description Requirements • Dynamics of information interchange • Formal Framework – Abstract State Machines (ASM) • core principles: state-based, state definition by formal algebra, guarded transitions for state changes • Reasoning on Web Service Interfaces (validation of conversation) • Mediation support on Web Service interfaces (i.e. process mediation) • Ontologies – underlying data model • Grounding – executable underlying communication technology for interaction

  38. Choreography and Orchestration – Example When the service is requested When the service requests Hotel Service Date, Time Date VTA Service Hotel Time Error Flight, Hotel Date, Time Error Flight Service Flight Confirmation Error • VTA example: • Choreography = how to interact with the service to consume its functionality • Orchestration = how service functionality is achieved by aggregating other Web Services

  39. Service Interface Description Model – ASM • Vocabulary Ω: • ontology schema(s) used in service interface description • usage for information interchange: in, out, shared, controlled • States ω(Ω): • a stable status in the information space • defined by attribute values of ontology instances • Guarded Transition GT(ω): • state transition • general structure: if (condition) then (action) • additional constructs: add, delete, update

  40. Service Interface Example Vocabulary: - Concept A in Ωin - Concept B in Ωout ΩouthasValues { concept B [ att1 ofType W att2 ofType Z] …} ΩinhasValues { concept A [ att1 ofType X att2 ofType Y] …} State ω1 Guarded Transition GT(ω1) State ω2 IF (a memberOf A [ att1 hasValue x ]) THEN (b memberOf B [ att2 hasValue m ]) a memberOf A [ att1 hasValue x att2 hasValue y] a memberOf A [ att1 hasValue x, att2 hasValue y] b memberOf B [ att2 hasValue m] Received instance a Sent instance b

  41. WSMO Goals Objectives that a client wants to achieve by using Web Services Provide the formally specified terminology of the information used by all other components Semantic description of Web Services: • Capability (functional) • Interfaces (usage) Connectors between components with mediation facilities for handling heterogeneities

  42. WSMO Goal • Ontological De-coupling of Requester and Provider • Goal-driven Architetcure: • requester formulates objective independently • ‘intelligent’ mechanisms detect suitable services for solving the Goal • allows re-use of Services for different purposes • Derived from different AI-approaches for intelligent systems • Intelligent Agents (BDI Architectures) • Problem Solving Methods • Requests may in principle not be satisfiable • Ontological relationships & mediators used to link goals to web services

  43. WSMO Goal Specification • Non functional properties, Imported Ontologies, Used mediators • Requested Capability • describes service functionality expected to resolve the objective • defined as capability description from the requester perspective • Requested Interface • describes communication behaviour supported by the requester for consuming a Web Service (Choreography)

  44. WSMO Mediators Objectives that a client wants to achieve by using Web Services Provide the formally specified terminology of the information used by all other components Semantic description of Web Services: • Capability (functional) • Interfaces (usage) Connectors between components with mediation facilities for handling heterogeneities

  45. WSMO Mediators • Heterogeneity … • Mismatches on structural / semantic / process levels • Occur between different components that shall interoperate • Especially in distributed & open environments like the Internet • Concept of Mediation: • Mediators as components that resolve mismatches • Mediation cannot be always fully automated • Several types of mediators defined by WSMO • OOMediators, WWMediators, GGMediators, WGMediators

  46. WSMO Mediators – Overview

  47. WSMO Mediators – General Approach Source Component WSMO Mediator uses a Mediation Service via 1 Target Component 1 .. n Source Component • as a Goal Mediation Services

  48. WSMO OO Mediator – Example Merging 2 ontologies Train Connection Ontology (s1) OO Mediator Mediation Service Train Ticket Purchase Ontology Purchase Ontology (s2) Goal: “merge s1, s2 and s1.ticket subclassof s2.product” Discovery Mediation Services

  49. WSMO GG Mediator • Aim: • Support specification of Goals by re-using existing Goals • Allow definition of Goal Ontologies (collection of pre-defined Goals) • Terminology mismatches handled by OO Mediators • Example: Goal Refinement GG Mediator Mediation Service Target Goal “Buy a Train Ticket” Source Goal “Buy a ticket” postcondition: “aTicket memberof trainticket”

  50. WG and WW Mediators • WG Mediators: • link a Web Service to a Goal and resolve occurring mismatches • match Web Service and Goals that do not match a priori • broader range of Goals solvable by a Web Service • WW Mediators: • enable interoperability of heterogeneous Web Services • support automated collaboration between Web Services • OO Mediators for terminology import with data level mediation • Process Mediation for making Business Processes interoperable

More Related