Presentation is loading. Please wait.

Presentation is loading. Please wait.

Universität Innsbruck Leopold Franzens  Copyright 2007 DERI Innsbruck Technical Fair 11th December 2007 Developer STI Innsbruck: The.

Similar presentations


Presentation on theme: "Universität Innsbruck Leopold Franzens  Copyright 2007 DERI Innsbruck Technical Fair 11th December 2007 Developer STI Innsbruck: The."— Presentation transcript:

1 Universität Innsbruck Leopold Franzens  Copyright 2007 DERI Innsbruck www.deri.at Technical Fair 11th December 2007 Developer Tools @ STI Innsbruck: The Web Service Modeling Toolkit (WSMT) Mick Kerrigan

2 2 Technical Fair 11th December 2007 The Team

3 3 Technical Fair 11th December 2007 The Web Service Modeling Toolkit (WSMT) The WSMT is an Integrated Development Environment (IDE) for the development of Semantic Web Services Aims to support the developer through the Software Development Cycle (SDC) of Semantic Web Services –Improve Developer Productivity –Aid in adoption of WSMO, WSML, SEE –High quality tools –Eclipse based

4 4 Technical Fair 11th December 2007 IDE not just Tools! IDE’s seamlessly integrates individual tools –Gives a face to textual tools, hiding their complexity –Enables interoperation between previously separate tools –Reduces training costs (Increased ROI) –Removes switching back and forth between applications Tool is to IDE as –HTML Validator is to Dreamweaver –Java Compiler is to Eclipse JDT –WSML2Reasoner Framework is to WSMT

5 5 Technical Fair 11th December 2007 WSMT Functionality Development of WSMO Semantic Descriptions through WSML –Ontologies –Goals –Web Services –Mediators Interfacing with Semantic Execution Environments –WSMX –IRSIII –ORDI Creation of Mediation Mappings between Ontologies –Abstract Mapping Language (AML) Business Process Management Flora2 Workbench

6 6 Technical Fair 11th December 2007 WSML Semantic Execution Environments need Ontologies, Goals, Web Services, and Mediators in order to function Provide support to the developer in creating these descriptions Provide mechanisms for browsing semantic descriptions to aid in developer understanding Abstract the developer from the underlying syntax Assist in the validation and testing of semantic descriptions

7 7 Technical Fair 11th December 2007 WSML Navigator Helps with the management of workspace resources by providing the developer functionalities to –Navigate and manipulate resources –Interoperate with other views and editors Avoids viewer accumulation by adding more capabilities in just one viewer The WSML Navigator –= Resource Navigator (Eclipse Platform) + Content Browsing of *.wsml files –Is based on the Common Navigator Framework (CNF) and therefore open to further extensions

8 8 Technical Fair 11th December 2007 WSML Navigator

9 9 Technical Fair 11th December 2007 WSML Navigator

10 10 Technical Fair 11th December 2007 WSML Text Editor Abstracting from syntax is good but… Existing developers familiar with the syntax Certain tasks are just easier with a textual representation WSML Human Readable Syntax is designed to be light  Must support the more experienced developer

11 11 Technical Fair 11th December 2007 WSML Text Editor Syntax Highlighting Syntax and Content Autocompletion Error Notification Content Folding Bracket Matching

12 12 Technical Fair 11th December 2007 WSML Form based Editor Abstracts developers from the WSML syntax allowing them to focus on the modeling task at hand –Improved Developer focus –Reduced Errors in semantic descriptions –Less keystrokes improves speed of creation Descriptions are broken up into tabs to keep the forms small Forms consist of Text fields, combo boxes and tables

13 13 Technical Fair 11th December 2007 WSML Form based Editor - Syntax Highlighting - Autocompletion -Automatic Value Recognition -Direct Edit + Maintained Edit Undo / Redo Drag & Drop Event Model -> Extensibility

14 14 Technical Fair 11th December 2007 WSML Visualizer In Textual, Form or Tree based representations it is hard to see the full relationship between entities Graph based representations give a better “Feel” for the complexities of a semantic description However normally visualizers are bolted on top of existing tools The WSML Visualizer provides editing and browsing support in one tool Immediate feedback to the developer as semantic descriptions are being created

15 15 Technical Fair 11th December 2007 WSML Visualizer Graph Manipulation Full Editing Support Filtering Instance Clustering Semantic Levels Semantic Highlighting

16 16 Technical Fair 11th December 2007 Outline View Eclipse views enhance the functionality of editors for different file formats The outline view gives a structured view of a WSML file Can be used in conjunction with any of the editors in the WSMT Bidirectional updates ensures that the selection in each editor and the view is up to date at all times Provides a browsing mechanism for any WSML description

17 17 Technical Fair 11th December 2007 Outline View

18 18 Technical Fair 11th December 2007 Format Conversion WSMO4J translators used to transform Ontologies from one format to another: –OWL From WSML-DL to OWL DL From OWL DL to WSML-DL Support for OWL/XML Syntax and OWL Abstract Syntax –RDFS From WSML to RDFS From RDFS to WSML –Transformation problems are reported to the user

19 19 Technical Fair 11th December 2007 Format Conversion

20 20 Technical Fair 11th December 2007 Format Conversion

21 21 Technical Fair 11th December 2007 Validation WSMO4J parser used to validate syntax WSMO4J validator used to validate semantics –Ensures features within the semantic description match that of the specified WSML Variant (Errors) –Checks for unrecommended usage of WSML Features (Warnings) All files automatically checked as they are changed Immediate feedback to the user in each editor Additional mechanisms for seeing errors –Problems view –WSML Navigator

22 22 Technical Fair 11th December 2007 Validation & the Problem View

23 23 Technical Fair 11th December 2007 WSML Navigator

24 24 Technical Fair 11th December 2007 Testing Testing software usually involves deploying it and ensuring that it functions as expected Involves a costly Deploy-Test-Redeploy cycle Support within an IDE for testing software in its natural habitat can vastly reduce this iterative process –Reduces the cost of development –Improves developer productivity –Reduced developers involvement in tedious tasks Correctness of a semantic description is more than just having a valid description

25 25 Technical Fair 11th December 2007 Testing Ontologies Ontologies underlie every other semantic description in WSML The developer needs to be sure that each ontology behaves as expected when used in a reasoner –Is the ontology consistent? –Does is answer queries in the manner expected? Access to reasoners for each of the WSML Variants is thus required within the WSMT All users to perform reasoning operations over the ontology currently being edited

26 26 Technical Fair 11th December 2007 WSML Reasoning View Ontology selection Reasoner selection Syntax Highlighting Interfacing with editors

27 27 Technical Fair 11th December 2007 Query Templates Aim to support the non-expert with posing queries, yet being flexible enough to be a benefit for the advanced user Abstract from the complexity of logical queries –Syntactical formalism, logical concepts Traditional query mechanism for non-experts: Forms Approach of query templates: –Hide structure of logical expressions from the user (predefined by the expert) –Expose widgets to the user to fill in specific ‘terms’ (values, variables, ids) –Use natural language to communicate semantics of the underlying query to the user

28 28 Technical Fair 11th December 2007 Query Templates

29 29 Technical Fair 11th December 2007 Query Templates

30 30 Technical Fair 11th December 2007 Unit Testing for Ontologies Unit tests are written in WSML Syntax They can therefore be maintained by means of any WSML Ontology-Editor. We use a query-based approach (Competency Questions). Complex Tests –Full match –No match –Intersected Match –Plug-in Match Boolean Tests and Constraint Tests

31 31 Technical Fair 11th December 2007 Unit Testing for Ontologies Error –Detection Failure –Detection Interactivity

32 32 Technical Fair 11th December 2007 Testing Web Services and Goals A Semantic Web Service that does not match the Goals it is expected to match could result in the loss of a lot of money Developers need to ensure that the Web Service descriptions they create match Goals as expected Tool support reduces the number of interactions with a testing SEE Quite likely that provider will issue sample Goals with their Web Service descriptions. Ensuring your Web Service descriptions are found by your competitors sample Goals could provide a competitive advantage.

33 33 Technical Fair 11th December 2007 WSML Discovery View Goal Selection Web Service Selection Discovery Selection Type of Match Interfacing with editors

34 34 Technical Fair 11th December 2007 Interfacing with a SEE In order for a SEE to correctly function the necessary Ontologies, Goals, Web Services and Mediators need to be available to it Manually deploying descriptions to a SEE or manually retrieving them in order perform maintenance is a tiresome and lengthy process Automated tools for interfacing with the Web Services exposed by a SEE enable these actions to be reduced to one or two clicks of a mouse. The SEE perspective contains all the functionality necessary to deliver this tool support to the developer

35 35 Technical Fair 11th December 2007 Browsing WSML in a SEE

36 36 Technical Fair 11th December 2007 Retrieving WSML from a SEE

37 37 Technical Fair 11th December 2007 Storing WSML to a SEE

38 38 Technical Fair 11th December 2007 Invoking a SEE

39 39 Technical Fair 11th December 2007 ORDI in SEE Perspective The Ontology Representation and Data Integration (ORDI) Framework is a ontology management and data integration middleware. ORDI features: ontology language neutrality, integration of databases and other structured data-sources, support for heterogeneous reasoners and data-sources, and interoperability with different data representation languages. ORDI functionalities for the deployment and retrieval of Ontologies, Goals, Web Services, and Mediators are exposed by a Web Service. The SEE perspective integrates the access to ORDI by interfacing with Web services.

40 40 Technical Fair 11th December 2007 Add ORDI Server in a SEE

41 41 Technical Fair 11th December 2007 Add ORDI Server in a SEE

42 42 Technical Fair 11th December 2007 Add ORDI Server in a SEE

43 43 Technical Fair 11th December 2007 Ontology Mediation Service Consumers and Providers may not agree on terminology Instance transformation can transform instances from the consumers ontologies to instances of the providers ontologies Automatic approaches use algorithms to detect alignment between the source and target ontologies –Low precision –No developer involvement required Manual approaches rely on the developer creating the alignment by hand –Can get 100% accuracy –A lot of work needed to create all the mappings

44 44 Technical Fair 11th December 2007 Ontology Mediation (WSMX/WSMT)

45 45 Technical Fair 11th December 2007 View based Editor An editor with for creating mappings using drag and drop Different views all for different types of mappings to be created: –Part of view: C2C, A2A, C2A, A2C –Instance of view: conditional mappings –RelatedBy view: R2R Guides the developer through the process of creating these mappings using embedded suggestion algorithms

46 46 Technical Fair 11th December 2007 View based Editor (PartOf View)

47 47 Technical Fair 11th December 2007 View based Editor (InstanceOf View)

48 48 Technical Fair 11th December 2007 Mapping Views As ontologies become bigger mappings can be harder to see View based editor also obscures the type of the mapping Provide the developer with a mechanism for quickly seeing mappings by type Provide a mechanism for deleting one or more mappings

49 49 Technical Fair 11th December 2007 Mapping Views (Concept2Concept)

50 50 Technical Fair 11th December 2007 Mapping Views (Attribute2Attribute)

51 51 Technical Fair 11th December 2007 Testing Developers need to be confident in the mappings they create Testing involves ensuring that a given set of source instances translate into the expected set of target instances Very time consuming task involving a lot of tedious work Automation of comparison enables engineer to quickly perform tests –Ensure mappings still valid as ontologies evolve –Ensure mappings behave as expected on different reasoners

52 52 Technical Fair 11th December 2007 Mapping Unit Test View

53 53 Technical Fair 11th December 2007 BPMSuite Covers all aspects defined by core BPM ontologies Provides for ontology-based and process-based views Defines lifecycle for the BPMO artifact development –Follows common Eclipse artifact development lifecycle

54 54 Technical Fair 11th December 2007 BPM Editor

55 55 Technical Fair 11th December 2007 BPM Visualizer

56 56 Technical Fair 11th December 2007 Flora2 Workbench Developed in conjunction with Michael Kifer Functionality for interacting with the FLORA2 reasoner Includes –Console –Text Editor –Visualizer –Loading and Unloading of modules etc…

57 57 Technical Fair 11th December 2007 Flora2 Workbench

58 58 Technical Fair 11th December 2007 Flora2 Workbench

59 59 Technical Fair 11th December 2007 Questions?


Download ppt "Universität Innsbruck Leopold Franzens  Copyright 2007 DERI Innsbruck Technical Fair 11th December 2007 Developer STI Innsbruck: The."

Similar presentations


Ads by Google