XML in Mathematical Web Services

XML in Mathematical Web Services

Re-format page sizes XML in Mathematical Web Services Mike Dewar Elena Smirnova Stephen M. Watt Abstract We describe a framework for delivering mathematical web services, resulting from the MONET project [http://monet.nag.co.uk/cocoon/monet/index.html]. Mathematical problems often have a well-defined structure that can be described in detail at a fine- grained level. In the MONET architecture, mathematical services describe their capabilities using a Mathematical Services Description Language in addition to WSDL. When presented with a problem, a mathematical service broker selects an appropriate set of services and combines them to provide a solver. We describe how two XML-based data formats, OpenMath and Content MathML, are used in a mathematical service toolkit based on the Maple computer algebra system. This service toolkit is based on a configuration engine that provides the appropriate conversions between the mathematical XML data formats, builds the necessary Maple program, and installs the necessary extensions to a generic Web services engine. XML 2005 Conference proceeding by RenderX - author of XML to PDF (XSL FO) formatter. 1 RenderX XSL • FO formatter Re-format page sizes XML in Mathematical Web Services Table of Contents 1. Introduction .................................................................................................................................... 4 1.1. Motivation ............................................................................................................................ 4 1.2. Objectives ............................................................................................................................ 4 1.3. The role of XML ................................................................................................................... 5 1.4. Related work ......................................................................................................................... 5 1.5. This paper ............................................................................................................................ 6 2. Background technologies ................................................................................................................... 6 2.1. MathML .............................................................................................................................. 6 2.2. OpenMath ............................................................................................................................ 7 2.3. OWL ................................................................................................................................... 7 2.4. Maple and NAG Libraries ........................................................................................................ 7 2.5. Tomcat, Axis, SOAP and JavaServer Pages ................................................................................. 7 3. Architectural overview ...................................................................................................................... 8 3.1. Components of the MONET framework ..................................................................................... 8 3.2. Mathematical Broker .............................................................................................................. 9 3.3. Mathematical Services ............................................................................................................ 9 4. Use of XML .................................................................................................................................... 9 4.1. Ontology creation front end .................................................................................................... 10 4.1.1. OWL and Mathematical Services Description Language (MSDL) ....................................... 10 4.1.2. Mathematical Problem Description Language (MPDL) ..................................................... 10 4.1.3. Mathematical Service Query Language (MSQL) .............................................................. 11 4.1.4. Mathematical Explanation Language (MEL) ................................................................... 11 4.2. Mathematical markup languages ............................................................................................. 11 4.2.1. OpenMath ................................................................................................................ 11 4.2.2. MathML .................................................................................................................. 12 4.3. Mathematical service configuration ......................................................................................... 12 4.3.1. The purpose of configuration files ................................................................................. 12 4.3.2. The structure of the configuration file ............................................................................ 12 4.3.3. The benefits of using configuration files ......................................................................... 13 5. Translation to and from implementation data format .............................................................................. 13 5.1. Naive approaches ................................................................................................................. 14 5.2. Extensible table-based transformations ..................................................................................... 14 5.2.1. Approach overview .................................................................................................... 14 5.2.2. Mapping file design ................................................................................................... 15 5.2.3. Challenges and solutions ............................................................................................. 16 5.2.4. Current status ............................................................................................................ 17 6. A detailed example ......................................................................................................................... 17 6.1. Problem description .............................................................................................................. 17 6.2. Creating the service: configuration file ..................................................................................... 18 6.2.1. MSDL part ............................................................................................................... 18 6.2.2. Service interface to the math engine and implementation ................................................... 19 6.3. Calling the service ................................................................................................................ 20 7. Analysis of the use of XML formats ................................................................................................... 22 7.1. XML as a universal syntax ..................................................................................................... 22 7.2. XML as an abstract heap data model ........................................................................................ 22 8. Related uses of XML in mathematical web services .............................................................................. 23 8.1. Notation selection tool .......................................................................................................... 23 8.2. Content-faithful transformations ............................................................................................. 24 8.3. Semantics conserving TeX translation ...................................................................................... 25 9. Conclusions ................................................................................................................................... 25 Acknowledgements ............................................................................................................................ 25 XML 2005 Conference proceeding by RenderX - author of XML to PDF (XSL FO) formatter. 2 RenderX XSL • FO formatter Re-format page sizes XML in Mathematical Web Services Bibliography ..................................................................................................................................... 26 XML 2005 Conference proceeding by RenderX - author of XML to PDF (XSL FO) formatter. 3 RenderX XSL • FO formatter Re-format page sizes XML in Mathematical Web Services 1. Introduction 1.1. Motivation Mathematics presents the perfect example of a richly structured, well defined problem domain. This contrasts with many problem areas where the exact meaning of a question is always subject to interpretation, or where the clear-cut questions are rather simple. In the domain of mathematical computation, problems in a rich context typically have a clear meaning and a well defined correct answer. The manner of arriving at the answer, however, is often difficult to determine: there may be several algorithms with different efficiency trade-offs, the algorithms may have their only implementations in different, incompatible software systems, or it may be necessary to combine algorithms that handle special cases for a particular problem. The objects involved in these computations may either be simple numerical quantities or be elements of elaborate mathematical models, with many semantic relationships and dependencies among the parts. From this

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    28 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us