 Copyright 2005 Digital Enterprise Research Institute. All rights reserved. www.deri.org Towards Translating between XML and WSML based on mappings between.

Slides:



Advertisements
Similar presentations
Schema Matching and Query Rewriting in Ontology-based Data Integration Zdeňka Linková ICS AS CR Advisor: Július Štuller.
Advertisements

A centre of expertise in digital information management UKOLN is supported by: XML and the DCMI Abstract Model DC Architecture WG Meeting,
CH-4 Ontologies, Querying and Data Integration. Introduction to RDF(S) RDF stands for Resource Description Framework. RDF is a standard for describing.
 Copyright 2005 Digital Enterprise Research Institute. All rights reserved. WSDL-S (LSDIS and IBM) & WSMO
1 Intention of slide set Inform WSMOLX of what is planned for Choreography & Orhestration in DIP CONTENTS Terminology Clarification / what will be described.
The Semantic Web – WEEK 4: RDF
CS570 Artificial Intelligence Semantic Web & Ontology 2
The Semantic Web. The Web Today Designed for Human to read Cannot express meaning Architecture: URL –Decentralized: Link structure Language: html.
 Copyright 2005 Digital Enterprise Research Institute. All rights reserved. The WSML Editor Plugin to the Web Services Modeling Toolkit Mick.
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.
Descriptions Robert Grimm New York University. The Final Assignment…  Your own application  Discussion board  Think: Paper summaries  Time tracker.
Visual Web Information Extraction With Lixto Robert Baumgartner Sergio Flesca Georg Gottlob.
The WSMO / L / X Approach Michael Stollberg DERI – Digital Enterprise Research Institute Alternative Frameworks for Semantics in Web Services: Possibilities.
 Copyright 2005 Digital Enterprise Research Institute. All rights reserved. WSMX Data Mediation Adrian Mocan
Kmi.open.ac.uk Semantic Execution Environments Service Engineering and Execution Barry Norton and Mick Kerrigan.
From SHIQ and RDF to OWL: The Making of a Web Ontology Language
Framework for Model Creation and Generation of Representations DDI Lifecycle Moving Forward.
A Really Brief Crash Course in Semantic Web Technologies Rocky Dunlap Spencer Rugaber Georgia Tech.
Knowledge Mediation in the WWW based on Labelled DAGs with Attached Constraints Jutta Eusterbrock WebTechnology GmbH.
New trends in Semantic Web Cagliari, December, 2nd, 2004 Using Standards in e-Learning Claude Moulin UMR CNRS 6599 Heudiasyc University of Compiègne (France)
Scientific Workflows Scientific workflows describe structured activities arising in scientific problem-solving. Conducting experiments involve complex.
Ontology Development Kenneth Baclawski Northeastern University Harvard Medical School.
Practical RDF Chapter 1. RDF: An Introduction
 Copyright 2006 Digital Enterprise Research Institute. All rights reserved. WSMX: a Semantic Service Oriented Middleware for B2B Integration.
Status report of : Framework for generating ontologies ISO/IEC JTC 1/SC 32/WG 2 Interim Meeting, Redwood City, USA, November 17, 2010 Dongwon Jeong,
Agent Model for Interaction with Semantic Web Services Ivo Mihailovic.
Metadata and Geographical Information Systems Adrian Moss KINDS project, Manchester Metropolitan University, UK
Semantic Web Fred: Project Objectives & SWF Framework Michael Stollberg Reinhold Herzog Peter Zugmann - 07 April
Ontology for Federation and Integration of Systems Cross-track A2 Summary Anatoly Levenchuk & Cory Casanave Co-chairs 1 Ontology Summit 2012
1 Ontology-based Semantic Annotatoin of Process Template for Reuse Yun Lin, Darijus Strasunskas Depart. Of Computer and Information Science Norwegian Univ.
10/18/20151 Business Process Management and Semantic Technologies B. Ramamurthy.
© DATAMAT S.p.A. – Giuseppe Avellino, Stefano Beco, Barbara Cantalupo, Andrea Cavallini A Semantic Workflow Authoring Tool for Programming Grids.
New Perspectives on XML, 2nd Edition
 Copyright 2005 Digital Enterprise Research Institute. All rights reserved. Semantic Web Services enabled B2B Integration Kotinurmi,Vitvar,
Advanced topics in software engineering (Semantic web)
Christoph Bussler, Laurentiu Vasiliu Digital Enterprise Research Institute (DERI) National University of Ireland, Galway, Ireland SDK meeting.
XML 2nd EDITION Tutorial 4 Working With Schemas. XP Schemas A schema is an XML document that defines the content and structure of one or more XML documents.
1 Tutorial 14 Validating Documents with Schemas Exploring the XML Schema Vocabulary.
ModelPedia Model Driven Engineering Graphical User Interfaces for Web 2.0 Sites Centro de Informática – CIn/UFPe ORCAS Group Eclipse GMF Fábio M. Pereira.
 Copyright 2005 Digital Enterprise Research Institute. All rights reserved. Tomas Vitvar SemanticGov 3 rd Planetary.
Working with XML Schemas ©NIITeXtensible Markup Language/Lesson 3/Slide 1 of 36 Objectives In this lesson, you will learn to: * Declare attributes in an.
Towards Semantic Interoperability: In-depth Comparison of Two Approaches to Solving Semantic Web Service Challenge Mediation Tasks Tomas Vitvar, Marco.
Extending the MDR for Semantic Web November 20, 2008 SC32/WG32 Interim Meeting Vilamoura, Portugal - Procedure for the Specification of Web Ontology -
ISO/IEC JTC 1/SC 32 Plenary and WGs Meetings Jeju, Korea, June 25, 2009 Jeong-Dong Kim, Doo-Kwon Baik, Dongwon Jeong {kjd4u,
 Copyright 2006 Digital Enterprise Research Institute. All rights reserved. WSMO-PA: Formal Specification of Public Administration Service.
WSDL – Web Service Definition Language  WSDL is used to describe, locate and define Web services.  A web service is described by: message format simple.
 Copyright 2005 Digital Enterprise Research Institute. All rights reserved. Dynamic RosettaNet Integration on Semantic Web Services Tomas.
 Copyright 2006 Digital Enterprise Research Institute. All rights reserved. Dynamic B2B Integration on the Semantic Web Services: SWS Challenge.
 Copyright 2005 Digital Enterprise Research Institute. All rights reserved. Tomas Vitvar SemanticGov 4 rd Planetary.
Working with XML. Markup Languages Text-based languages based on SGML Text-based languages based on SGML SGML = Standard Generalized Markup Language SGML.
UML Profile BY RAEF MOUSHEIMISH. Background Model is a description of system or part of a system using well- defined language. Model is a description.
© The ATHENA Consortium. CI3 - Practices of Interoperability in SMEs Proposed Solutions.
OWL Web Ontology Language Summary IHan HSIAO (Sharon)
Copyright © 2004, Keith D Swenson, All Rights Reserved. OASIS Asynchronous Service Access Protocol (ASAP) Tutorial Overview, OASIS ASAP TC May 4, 2004.
Universität Innsbruck Leopold Franzens  Copyright 2007 DERI Innsbruck Second TTF Technical Fair 12 December 2007 Mediation Component Second.
SEMI-STRUCTURED DATA (XML) 1. SEMI-STRUCTURED DATA ER, Relational, ODL data models are all based on schema Structure of data is rigid and known is advance.
Of 24 lecture 11: ontology – mediation, merging & aligning.
26/02/ WSMO – UDDI Semantics Review Taxonomies and Value Sets Discussion Paper Max Voskob – February 2004 UDDI Spec TC V4 Requirements.
Conceptual Comparison WSMO/OWL-S 1st F2F meeting SDK cluster working group on Semantic Web Services Wiesbaden, Germany, Rubén Lara, (Dumitru.
The Semantic Web By: Maulik Parikh.
SysML v2 Formalism: Requirements & Benefits
Web Service Modeling Ontology (WSMO)
Web Ontology Language for Service (OWL-S)
Daniel Amyot and Jun Biao Yan
Ontology.
R2O+ODEMapster: Upgrading Relational Legacy Data to the Semantic Web
Ontology.
Information Networks: State of the Art
Business Process Management and Semantic Technologies
ONTOMERGE Ontology translations by merging ontologies Paper: Ontology Translation on the Semantic Web by Dejing Dou, Drew McDermott and Peishen Qi 2003.
Presentation transcript:

 Copyright 2005 Digital Enterprise Research Institute. All rights reserved. Towards Translating between XML and WSML based on mappings between XML Schema and an equivalent WSMO Ontology WSMO Implementation Workshop Matt Moran, 07 June 2005

2 Overview Motivation –It’s a WSDL and XML Schema world Background –XML, XML Schema, what’s been done before Approach to Mapping –Three possible approaches, one chosen Creating the Mappings –Methodology, identifying mappings, next steps Grounding WSMO Choreography to WSDL –Linking to the standards

3 Motivation Web services being created and deployed now and for the next few years will be described using WSDL and XML Schema Want to define the mechanism for how WSMO service descriptions can be grounded to WSDL –Ground WSMO ontologies to XML Schema (this presentation) –Ground WSMO choreography descriptions to WSDL operations Lifting XML Schema to a corresponding ontology provides opportunities for data mapping at the conceptual level

4 Background - XML XML Pros –Standard language for sharing data across systems especially the Web –Extensible tag set  great flexibility, many XML based languages for all kinds of purposes –Strong tool support  parsers, editors, storage, querying XML Con –Semantics must be known by receiver of XML documents in advance; can not be determined from the document itself

5 Background - XML Schema Defines constraints on syntax and structure of XML documents –Legal elements and attributes, order of child elements, default and fixed values for elements and attributes Components of XML Schema –Simple types Built-in or defining constraints on values of built-in types –Complex types Define a data type composed of child elements of other data types Define allowed structure of child elements Extend or restrict definition of an existing complex type –Elements An association between a name and a type definition (simple or complex) –Attibutes An association between a name and a simple type. They can be global or in the scope of a complex type.

6 Background – Previous Work Comparing XML schema (DTD, XMLS) to Ontologies XML schemaOntologies Define vocabulary and constraints for XML docs Formal specification of shared domain theory StructureMeaning, no explicit structure Embed semantic metadata into XML –Complement structure with semantics Lifting XML representation to OWL and RDF –We will take a similar approach Lowering ontologies to XML schema –More expressive to less expressive Other Related Areas of Work

7 Approaches to Mapping Map between XML and WSML/XML Map between XML and WSML Lift XML to ontological representation and create mappings from WSMO to WSMO at conceptual level

8 Approach to Mapping #1 Direct transformation between XML as defined in WSDL and the XML syntax for a target WSMO ontology Use XSLT Disadvantages –Might be no suitable WSMO ontology –New XSLT must be created for every XML/ WSMO ontology pair –Syntactic mapping based on the structure of the XML document –Low possibility for re-use of WSMO data mediation –The XML syntax of WSMO has less parser support

9 Approach to Mapping #2 Map directly between XML and WSML instances Create a mapping language for this –Maybe XSLT Disadvantages (mostly same as approach #1) –Might be no suitable WSMO ontology –New mapping needed for every XML Schema/WSMO ont. pair –Low possibility for re-use of WSMO data mediation –Syntactic mapping based on the structure of the XML document

10 Approach to Mapping #3 (the chosen one) Define mapping at the conceptual level Create WSMO Ontology from XML Schema of WSDL –Define mappings from conceptual framework for XML Schema to WSMO Ontology metamodel –Generate ad-hoc ontology –Create set of executable mapping rules for data instances Benefits –Take advantage of data mediation –Mapping rules generated automatically –No additional ontology required (in simplest case)

11 Creating the Mappings – Example Scenario Semantic service description designer with the task of providing a semantic description for the Amazon service Only consider scenario in terms of grounding the data Imagine that a tool exists that can automatically create a ad-hoc WSMO ontology from an XML Schema Two scenario use cases –No mediation required –Mediation required

12 Creating the Mappings: Use Case 1 The ad-hoc ontology is sufficient for designer’s needs Mapping rules to get from instances of WSMO to instances of XML and vice-versa are created automatically during creation of the ad-hoc ontology

13 Creating the Mappings: Use Case 2 Designer wishes to use a specific book ontology Ad-hoc ontology + rules created as before Additional data mediation needs to be defined (using existing tools)

14 Creating the Mappings: Methodology Define a mapping between the XML Schema Conceptual Model to the WSMO Ontology Metamodel. Create an executable description of these mappings to enable the automatic creation of ad-hoc WSMO ontologies from specific XML Schema. Create the bidirectional mappings rules to be used for the transformation between XML instances and WSMO instances. –Should be created at the same time as the generation of the ad- hoc WSMO ontology from an XML Schema. –The creation of these mapping rules should be automatic as they should be completely derived from the actions described in the first two bullet points.

15 Creating the Mappings: Methodology

16 Mapping from XML Schema to WSMO

17 Mapping from XML Schema to WSMO Simple Type Complex Type Element

18 Mapping Simple Types Built-in simple types –Simple mapping as WSMO supports XML Schema built-in types Simple Type based on restriction of a built-in type –Create a sub concept and use axiom to express the restriction XML Schema WSML concept salaryType subConceptOf xsd:positiveInteger constraint salaryConstraint definedBy ?X:salaryType and ?X<55000

19 Mapping Complex Types Complex types always map to a WSMO concept Complex type can have sub-components that are a mixture of simple types, attributes, elements and complex types Sub-components with a built-in simple type are mapped to attributes of the concept with the same type Sub-components with simple types that are not built-in are mapped to attributes of the concept with the type of the mapped simple type definition A sub-component that itself is a complex type, leads to the creation of a corresponding concept. The sub-component is then mapped to an attribute with the type of the newly created concept.

20 Mapping Complex Types Attributes within the scope of complex types provide an additional complexity We propose that the attribute acts as an extension to the definition of the concept mapped from the complex type definition This means: 1.A concept for the complex type is created 2.A second concept is defined as a subconcept of 1. It contains an attribute mapped from the XML Schema attribute

21 Mapping Complex Types XML Schema WSML concept jobListType job (0 *) ofType jobList_withAttrJobID concept jobList_withAttrJobID subConceptOf jobDesc jobid ofType xsd:integer concept jobDesc title ofType xsd:string salary ofType salaryType

22 Mapping attributes and elements Elements are structural components within XML Schema –No mapping Although they do need to be considered when creating the rules for mapping between instances of XML and instances of WSMO –Why? –They define the element name required in the XML document Mapping attributes (outside complex types) –No mapping defined yet

23 Some Discussion Points & Next Steps XSLT is powerful but does not take account of semantics Conceptual mapping offers better opportunity for reuse How to deal with structural info during the mapping? –Does a WSMO attribute maps back to and XML Schema sub element or to an attribute of an element? –How to maintain the element names for the XML Schema – neither an attribute nor a sub element Need to formalise the mappings Need to extend the mappings Need to define how they mappings should be executed

24 Grounding WSMO Choreography to WSDL How is choreography represented in WSMO –States (made up of concepts) and transitions –Some concepts represent in or out messages Mode non functional property –In, out, shared Grounding non functional property –Specifies a set of URIs relating to that message –URIs point to WSDL in, out or fault messages URIs for identifying messages in WSDL 2.0 – WSDL  WSMO – manual (with tool support) WSMO  WSDL – auto generation of WSDL

25 Summary Motivation is to provide the link to the WSDL and XML Schema world Grounding is needed for semantic service designers needing to describe an existing WSDL service Looked at a scenario with and without mediation Three steps in approach –Define mappings from metamodel of XML Schema to that of WSMO –Use the mappings to create ad-hoc WSMO ontologies and … –During ontology creation, generate mapping rules that can be applied at runtime to lift and lower data instances Presented some initial work for this first step with some example XML Schema and WSML Had a quick look at the approach for grounding WSMO chor.

26 Summary Inaccuracy in WIW paper

27 Summary Inaccuracy in WIW paper Simplest case would consist of only the mapping rules required to lift and lower between XML and WSMO

28 Thanks, Q&A Questions?