Semantic Web Technologies II SS 2009

Ähnliche Dokumente
arlanis Software AG SOA Architektonische und technische Grundlagen Andreas Holubek

Service Oriented Architecture. Hanno Wunderlich SWT-Projekt WS07/08

Web Services. Web Services in the News. Vision: Web of Services. Learning for Results. DECUS Symposium 2002, Vortrag 1K07,

Karlsruhe Institute of Technology Die Kooperation von Forschungszentrum Karlsruhe GmbH und Universität Karlsruhe (TH)

Exercise (Part XI) Anastasia Mochalova, Lehrstuhl für ABWL und Wirtschaftsinformatik, Kath. Universität Eichstätt-Ingolstadt 1

Exercise (Part V) Anastasia Mochalova, Lehrstuhl für ABWL und Wirtschaftsinformatik, Kath. Universität Eichstätt-Ingolstadt 1

Product Lifecycle Manager

Seminar E-Services WS 02/03 WSDL. Web Services Description Language. Moritz Kleine SES 02 - WSDL

Data-Centric Systems and Applications. The Semantic Web. Semantics for Data and Services on the Web

HIR Method & Tools for Fit Gap analysis

Motivation. Web Services in der Bioinformatik. Web Services. Motivation (2) Definition

Web Services Die Definition von Web Services in der Theorie und FNT-Command als Web Service in der Praxis

H.1 FORMI: An RMI Extension for Adaptive Applications H.1 FORMI: An RMI Extension for Adaptive Applications

ELBA2 ILIAS TOOLS AS SINGLE APPLICATIONS

Web Services and Semantic Web - Introduction to Web Services. von Andreas Weiler

WebServices Zwischen Buzzword und Nutzen

Group and Session Management for Collaborative Applications

Markus BöhmB Account Technology Architect Microsoft Schweiz GmbH

Web Services Eine Übersicht. Jörn Clausen

Abschnitt 1. BPM als Lingua franca. Management, Fachbereiche und IT Ist BPM ein Weg zur (Auf-)Lösung der Sprachbarriere?

NEWSLETTER. FileDirector Version 2.5 Novelties. Filing system designer. Filing system in WinClient

ISO Reference Model

Exercise (Part II) Anastasia Mochalova, Lehrstuhl für ABWL und Wirtschaftsinformatik, Kath. Universität Eichstätt-Ingolstadt 1

RECHNUNGSWESEN. KOSTENBEWUßTE UND ERGEBNISORIENTIERTE BETRIEBSFüHRUNG. BY MARTIN GERMROTH

DAS ERSTE MAL UND IMMER WIEDER. ERWEITERTE SONDERAUSGABE BY LISA MOOS

SOA Service Oriented Architecture

Techniken von Web Services

Softwareschnittstellen

Creating OpenSocial Gadgets. Bastian Hofmann

Darstellung und Anwendung der Assessmentergebnisse

Lehrstuhl für Allgemeine BWL Strategisches und Internationales Management Prof. Dr. Mike Geppert Carl-Zeiß-Str Jena

Tube Analyzer LogViewer 2.3

Mitglied der Leibniz-Gemeinschaft

Oracle Integration Cloud Service

Web-Sevices : WSDL Entwicklung von Web-Anwendungen

Isabel Arnold CICS Technical Sales Germany z/os Explorer IBM Corporation

EVANGELISCHES GESANGBUCH: AUSGABE FUR DIE EVANGELISCH-LUTHERISCHE LANDESKIRCHE SACHSEN. BLAU (GERMAN EDITION) FROM EVANGELISCHE VERLAGSAN

Was heißt Denken?: Vorlesung Wintersemester 1951/52. [Was bedeutet das alles?] (Reclams Universal-Bibliothek) (German Edition)

Corporate Digital Learning, How to Get It Right. Learning Café

vcdm im Wandel Vorstellung des neuen User Interfaces und Austausch zur Funktionalität V

GridMate The Grid Matlab Extension

Number of Maximal Partial Clones

Workflow, Business Process Management, 4.Teil

Magic Figures. We note that in the example magic square the numbers 1 9 are used. All three rows (columns) have equal sum, called the magic number.

GAUSS towards a common certification process for GNSS applications using the European Satellite System Galileo

Techniken von Web Services

Web Services Architecture. Mario Jeckle DaimlerChrysler Forschungszentrum Ulm

Exercise (Part I) Anastasia Mochalova, Lehrstuhl für ABWL und Wirtschaftsinformatik, Kath. Universität Eichstätt-Ingolstadt 1

Mash-Up Personal Learning Environments. Dr. Hendrik Drachsler

eurex rundschreiben 094/10

Titelbild1 ANSYS. Customer Portal LogIn

Word-CRM-Upload-Button. User manual

DAS ZUFRIEDENE GEHIRN: FREI VON DEPRESSIONEN, TRAUMATA, ADHS, SUCHT UND ANGST. MIT DER BRAIN-STATE-TECHNOLOGIE DAS LEBEN AUSBALANCIEREN (GE

Java Tools JDK. IDEs. Downloads. Eclipse. IntelliJ. NetBeans. Java SE 8 Java SE 8 Documentation

FEM Isoparametric Concept

WP2. Communication and Dissemination. Wirtschafts- und Wissenschaftsförderung im Freistaat Thüringen

There are 10 weeks this summer vacation the weeks beginning: June 23, June 30, July 7, July 14, July 21, Jul 28, Aug 4, Aug 11, Aug 18, Aug 25

CNC ZUR STEUERUNG VON WERKZEUGMASCHINEN (GERMAN EDITION) BY TIM ROHR

FEM Isoparametric Concept

Anbindung ekey an VASERControl

Verteilte Systeme: Übung 4

ColdFusion 8 PDF-Integration

Technische Universität Kaiserslautern Lehrstuhl für Virtuelle Produktentwicklung

RESI A Natural Language Specification Improver

DATA ANALYSIS AND REPRESENTATION FOR SOFTWARE SYSTEMS

Context-adaptation based on Ontologies and Spreading Activation

Service Discovery in Home Environments

Seminar Semantic Grid. Seminar WS 2004/05 Forschungsgruppe Informationssysteme und Semantic Web Prof. Dr. S. Staab, B. Tausch

The core problem implementing BPEL based systems: Engineering Gap between Business- and Technical --Implementation!

Webservices. 1 Einführung 2 Verwendete Standards 3 Web Services mit Java 4 Zusammenfassung. Hauptseminar Internet Dienste

Model-based Development of Hybrid-specific ECU Software for a Hybrid Vehicle with Compressed- Natural-Gas Engine

Symbio system requirements. Version 5.1

Forms to SOA. DOAG SIG Development, Berlin Copyright 2008 PITSS GmbH

Verteilte Systeme: Übung 4

Extract of the Annotations used for Econ 5080 at the University of Utah, with study questions, akmk.pdf.

VGM. VGM information. HAMBURG SÜD VGM WEB PORTAL USER GUIDE June 2016

TalkIT: Internet Communities Tiroler Zukunftsstiftung Donnerstag,

Exercise (Part VIII) Anastasia Mochalova, Lehrstuhl für ABWL und Wirtschaftsinformatik, Kath. Universität Eichstätt-Ingolstadt 1

LOC Pharma. Anlage. Lieferantenfragebogen Supplier Questionnaire. 9. Is the warehouse temperature controlled or air-conditioned?

Application Note. Import Jinx! Scenes into the DMX-Configurator

Overall Coordination- and Communication Platform. for electronic and standardised Data-Exchange between. Ports and Hinterland in Rail-Traffic

Security for Safety in der Industrieautomation Konzepte und Lösungsansätze des IEC 62443

Big Data Analytics. Fifth Munich Data Protection Day, March 23, Dr. Stefan Krätschmer, Data Privacy Officer, Europe, IBM

FACHKUNDE FüR KAUFLEUTE IM GESUNDHEITSWESEN FROM THIEME GEORG VERLAG

An Geschäftsprozessen ausgerichtete IT- Infrastruktur. In SOA werden Services (Dienste) lose miteinander verbunden.

H Mcast Future Internet made in Hamburg?

Newest Generation of the BS2 Corrosion/Warning and Measurement System

How to access licensed products from providers who are already operating productively in. General Information Shibboleth login...

HUMANGENETIK IN DER WELT VON HEUTE: 12 SALZBURGER VORLESUNGEN (GERMAN EDITION) BY FRIEDRICH VOGEL

Electrical tests on Bosch unit injectors

p^db=`oj===pìééçêíáåñçêã~íáçå=

MATHEMATIK - MODERNE - IDEOLOGIE. EINE KRITISCHE STUDIE ZUR LEGITIMITAT UND PRAXIS DER MODERNEN MATHEMATIK (THEORIE UND METHODE) FROM UVK

Infrastructure as a Service (IaaS) Solutions for Online Game Service Provision

How-To-Do. OPC-Server with MPI and ISO over TCP/IP Communication. Content. How-To-Do OPC-Server with MPI- und ISO over TCP/IP Communication

STRATEGISCHES BETEILIGUNGSCONTROLLING BEI KOMMUNALEN UNTERNEHMEN DER FFENTLICHE ZWECK ALS RICHTSCHNUR FR EIN ZIELGERICHTETE

Software Engineering verteilter Systeme. Hauptseminar im WS 2011 / 2012

PONS DIE DREI??? FRAGEZEICHEN, ARCTIC ADVENTURE: ENGLISCH LERNEN MIT JUSTUS, PETER UND BOB

Transkript:

Semantic Web Technologies II SS 2009 01.07.2009 Semantic Web Services Dr. Sudhir Agarwal Dr. Stephan Grimm Dr. Peter Haase PD Dr. Pascal Hitzler Denny Vrandecic Martin Junghans 1

Agenda Web Services Definition Standard technologies Semantic Web Services Rationale Application scenarios Discovery, ranking, composition KASWS Karlsruhe Semantic Web Services 2

Web Services So far, we focused on the description of the content (static data) of Web pages Information consumption by humans Communication between humans Here, the focus is Information consumption by machines Data exchange between machines 3

What the W3C says A Web service is 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. W3C, 2004. Web Services Architecture http://www.w3.org/tr/ws-arch/#whatis 4

Web Services Abstract from Hardware, location Communication protocols Software / implementation as they rely on standards One possibility to implement service oriented architectures (SOA) Technology for application integration Functionalities offered via the Web 5

Further Advantages Interoperability within and among enterprises Large-scale distributed computing Improves evolvability Drawback: Careful engineering required 6

Agenda Web Services Definition Standard technologies Semantic Web Services Rationale Application scenarios Discovery, ranking, composition KASWS Karlsruhe Semantic Web Services 7

Web Service Standards Web service architecture based on standards for Connection Communication Description Discovery 8

Architectural Model Service Broker Discovery (UDDI) Discovery Result (WSDL) Publish (WSDL) Service Requestor Invocation (SOAP/HTTP) Service Provider

extensible Markup Language (XML) Information exchange between Participants Message format specification SOAP messages WSDL service description files 10

Simple Object Access Protocol (SOAP) Exchange structured data (XML) Defines XML message patterns, i.e., syntax only Relies on other protocols Often Remote Procedure Call (RPC) and HTTP Independent of transport protocols Often HTTP SOAP messages represent cross platform remote calls 11

SOAP Request: Stock Quote <?xml version="1.0"?> <soap:envelope xmlns:soap="http://www.w3.org/2001/12/soap-envelope" soap:encodingstyle="http://www.w3.org/2001/12/soap-encoding"> <soap:body xmlns:tns="http://www.example.org/stockquote.wsdl"> <tns:getstockpricerequest> <tns:stocksymbol>ibm</tns:stocksymbol> <tns:time>2009-07-01t21:42:23z</tns:time> </tns:getstockpricerequest> </soap:body> </soap:envelope> 12

SOAP Response: Stock Quote <?xml version="1.0"?> <soap:envelope xmlns:soap="http://www.w3.org/2001/12/soap-envelope" soap:encodingstyle="http://www.w3.org/2001/12/soap-encoding"> <soap:body xmlns:tns="http://www.example.org/stockquote.wsdl"> <tns:getstockpriceresponse> <tns:stockprice>34.5</tns:stockprice> </tns:getstockpriceresponse> </soap:body> </soap:envelope> 13

Web Service Description Language (WSDL) Format to offer services Application-specific interfaces Describes information required for invoking a Web service Operations that a Web Service can perform Messages it can process Protocols it can support Physical bindings to URIs and protocols 14

WSDL Structure <definitions> <types> Data types used by the Web service </types> <message> Messages used by the Web service </message> <porttype> Operations performed by the web service </porttype> <binding> Communication protocols used by the Web service </binding> </definitions> 15

WSDL Example: Stock Quote <?xml version="1.0"?> <definitions name="stockquote" targetnamespace="http://example.com/stockquote.wsdl" xmlns:tns="http://example.com/stockquote.wsdl" xmlns:xsd="http://www.w3.org/2000/10/xmlschema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/"> Namespaces <message name="getstockpricerequest"> <part name="stocksymbol" element="xsd:string"/> <part name="time" element="xsd:timeinstant"/> </message> <message name="getstockpriceresponse"> <part name="stockprice" type="xsd:float"/> </message>... </definitions> Exchanged messages 16

WSDL Example: Stock Quote <?xml version="1.0"?> <definitions name="stockquote"... <porttype name="stockquoteporttype"> <operation name="getstockprice"> <input message="tns:getstockpricerequest"/> <output message="tns:getstockpriceresponse"/> </operation> </porttype>... Abstract operations and messages </definitions> 17

WSDL Example: Stock Quote <?xml version="1.0"?> <definitions name="stockquote...... <binding name="stockquotesoapbinding" type="tns:stockquoteporttype"> <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> <operation name="getstockprice"> <soap:operation soapaction="http://example.com/getstockprice"/> Message format Message format <input> <soap:body use="encoded" namespace="http://example.com/stockquote" encodingstyle="http://schemas.xmlsoap.org/soap/encoding/"/> </input> <output> <soap:body use="encoded" namespace="http://example.com/stockquote" encodingstyle="http://schemas.xmlsoap.org/soap/encoding/"/> </output> </operation> </binding>... </definitions> Protocol 18

Universal Description, Discovery, and Integration (UDDI) Service registry API specification for businesses Provides WSDL documents Components of registry White pages Address, name, tax number Yellow pages Taxonomy based categorization Green pages Technical details (operating platform, billing requirements) 19

Web Service Standards Additional specifications available WS-* stack comprises Messaging WS-Addressing, WS-Transfer Metadata Exchange WS-Discovery, WS-Policy Security WS-Security, WS-Trust Business processes WS-BPEL, WS-Choreography 20

Agenda Web Services Definition Standard technologies Semantic Web Services Rationale Application scenarios Discovery, ranking, composition KASWS Karlsruhe Semantic Web Services 21

Semantic Description of Web Services Why do we need Semantics? As described, Web services work fine SOA and Web Services are widely adopted in practice Service Web Services composed out of other services Mashups, Processes SOAP, WSDL only define syntax (XML Schema) Sufficient for service invocation Plenty of scenarios need automation Discovery, ranking, composition, execution, etc. 22

Semantic Description of Web Services XML Schema Describes syntax of messages only Different ways for expressing an artifact Interpretation by a human necessary Interoperability of data difficult, since schemata can not be aligned easily Allows to validate XML documents Formal semantics given by interpretation as a tree. However, meaning of an edge can not be modeled explicitly. 23

A Simple Scenario Request incl. preferences Service Execution Search Ranking ranked list of compositions request set of compositions Composition....... Service Descriptions (incl. Schemata) query results request for atomic services Discovery set of descriptions of atomic services Service Implementation and Deployment Service Description and Publishing

Motivation of Semantic Web Services Increasing amount of Services We need support for automation Semantic descriptions foster automatic 1. Discovery Synonymy: different terms for service offers and requests Search for Video won t find Movie services User needs to understand the functionality of a service Does the service deliver the ordered book or just any book? 25

Motivation of Semantic Web Services Increasing amount of Services We need support for automation Semantic descriptions foster automatic 2. Composition Create new applications, mashups, services, processes Data mediation: reconcile service messages with that of a user or other services in the composition Service A outputs a StudRegNr, service B expects a MatrNr. Can B be invoked with A s output? 26

Motivation of Semantic Web Services Increasing amount of Services We need support for automation Semantic descriptions foster automatic 3. Ranking Not only service functionality but also its quality is important User need to understand the QoS attributes How does the Speed of service A relate to ResponseTime of Service B? 27

Agenda Web Services Definition Standard technologies Semantic Web Services Rationale Application scenarios Discovery, ranking, composition KASWS Karlsruhe Semantic Web Services 28

Semantic Web Service Discovery WSDL documents describe type of input/output Do not describe functionality, that is how output relates to input Discovery requires functionality description Semantics allows to describe what a service actually does Depends on SWS formalism Provides information needed for discovery User goal is matched against service descriptions 29

Semantic Web Service Discovery Example: User goal: service returning student s last name for a given registration number Background knowledge: Matrikelnummer is the same as registration number Last name is part of full name Matching service example: return full name for given Matrikelnummer 30

Global Semantic Web Service Ranking Example Google Web search Order of Web pages is more critical than discovery Proven by current popularity of Google Google does global ranking by relevance Same for all users Pre-computed Services can be ranked by non-functional properties Global preference structures E.g., fast and reliable services first 31

Local Semantic Web Service Ranking Ranking also considers user s preference structure E.g., Google product search: sort by rating Possibilities to define preference structures a. Sort first by X, then by Z b. Valuation function over non-functional parameter values value(responsetime, availability) = value(availability) 0.1 value(responsetime) = 0.8 0.1*0.9 = 0.71 32

Semantic Web Service Ranking SWS formalism must Describe the user preferences Criteria (e.g., availability, price) Order (e.g., ascending vs. descending) Model the service attributes E.g., availability, price Understand criteria (ontology reasoning) 33

Semantic Web Service Composition Requirements Data flow Data types should fit together Choreography Inputs of a service dovetail outputs of other service(s) and vice versa 34

Choreography Coordinate collections of Web services Data and control flow of different processes Input/output requirements Data type checking is a check of subclasses Ontology reasoning Ensure interoperability Protocols of WS-* WS-Choreography WS-CDL 35

Choreography Process 1 input activity type B type A input type A output type B Process 2 output activity 36

Summary Web services Principle Standards Semantic Web services Motivation Need for a formalism to describe Web services Discovery, ranking, composition 37

Outlook Semantic Web service formalism In this lecture: Karlsruhe Semantic Web Services (KASWS, 08.07.) Not in this lecture: OWL and SAWSDL WSMO 38