<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>The Web of Mathematical Models : A Schema-based, Wiki-like, Interactive Platform</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>- Center for Mathematical and Computational Modelling</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>The project WoM is supported by the Rhineland-Palatinate research center</institution>
          ,
          <addr-line>CM</addr-line>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Thomas Grundmann, Jean-Marie Gaillourdet, Karsten Schmidt, Arnd Poetzsch-Heffter, Stefan Deßloch Department of Computer Science University of Kaiserslautern, Germany Martin Memmel Knowledge Management Department, DFKI GmbH</institution>
          ,
          <addr-line>Trippstadter Str. 122 D-67663 Kaiserslautern</addr-line>
          ,
          <institution>Germany and University of Kaiserslautern</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>In science and engineering mathematical models are increasingly important to describe natural phenomena and design artifacts. Our goals is to make the notion of “mathematical models” more explicit and precise as well as to build up knowledge repositories for searching, exploring, combining, and sharing models. With the Web of Mathematical Models, WoM, we provide a platform to host such models on the Web. Models follow an explicit, content-related schema.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1 Introduction</title>
      <sec id="sec-1-1">
        <title>1. How to represent mathematical models?</title>
        <p>2. How to manage and present them in an open model platform?</p>
        <p>To answer the first question, we established a small initial user community of applied mathematicians
and identified the following requirements:</p>
        <p>A model should have an informal description that introduces the model and explains which
phenomena or artifacts are modelled. It may be supported by graphical or video visualizations of the
model.</p>
        <p>A mathematical description characterizes the model in terms of its mathematical properties. It
explains the parameters of the model. In principle, it should be expressible in a formal language.
Software support allows simulating the model with different parameter settings. The software
should be realized in a component-based way such that models can be composed.</p>
        <p>Linking and metadata relate the model to other models and related documents, and provide support
for classification and structured search.</p>
        <p>These requirements are fulfilled by an XML-based schema. This schema does not only structure the
model definition, but also relates it to visualizations – graphics or videos – and (interactive) simulation
programs. It supports two kinds of simulations:
pre-fabricated simulations that are embedded into the Web user interface and create – based on a
set of parameters – a result, e.g., a picture or a movie, and
open simulation programs that are embedded into an interactive environment, which allows the
user to experiment with and to explore the model in interactive sessions.</p>
        <p>WoM provides the possibility to integrate remotely usable simulation programs without in-depth
knowledge of Web technologies. Since we anticipate authors to be mathematicians or engineers, but not
Web developers, we expect that WoM simplifies the publishing of models for them.</p>
        <p>To answer question two, we identified four requirements which enable us to store, relate, query,
search, use, and compose models:</p>
        <p>Community support: Construction, collection, classification, and linking of models is only possible
with support from a user community. Accordingly, the platform should encourage participation,
and foster the development of a self-sustainable community.</p>
        <p>Model construction: The platform should support the schema-conformal construction and
modification of models. It should combine Wiki functionality with an offline editing possibility. In
particular, models need a declarative and platform independent representation that can be
downand uploaded.</p>
        <p>Web accessibility: Models and all their functionality should be accessible and usable on the Web.
In particular, simulations should be possible without download and shareable between users.
Evolvability: To stepwise realize our vision, many changes of the schema for model representation
and ontologies for classifications have to be managed in the future. In particular, the existing model
representations have to evolve together with the schema and ontologies in a consistent way. This
is only achievable with mechanical support by the platform.</p>
        <p>Addressing these last four requirements, we developed a web-based model platform1. It is centered
around a repository for our schema-based model representation. We expect the schema to be crucial for
evolvability.</p>
        <p>Web accessibility is ensured by the integration of the ALOE system into the WoM infrastructure.
ALOE2 is a web-based and generic social resource sharing platform developed at the Knowledge
Management group of DFKI3. ALOE allows contributing, sharing, organizing, and accessing arbitrary types
of digital resources such as text documents, music, or video files. Users are able either to upload
resources or to reference them using URLs. Furthermore, the platform offers common user management
features and Web 2.0 interaction possibilities like tagging, rating, and commenting on resources.</p>
        <p>
          This paper focuses on the schema used for the representation of mathematical models (Section 2). It
extends the overview paper [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ]. In Section 3, we discuss related work. Section 4 contains the conclusion.
2
        </p>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>A Schema for Models and their Relations</title>
      <p>Our approach is built around a structured representation of models. Based on an XML-based schema,
we started to build up a model repository. Having an explicit, content-related schema distinguishes
the approach of WoM from classical Wiki platforms and enables stronger computer-support for model
use and management. The schema is called XModel Schema and is internally defined by an XML
Schema. LATEX serves as the default input language – in particular for formulas. Thus, we provide a
LATEX implementation of the XModel Schema. Future versions may also support other input languages
like MathML. In this section we introduce the current state of the XModel Schema.</p>
      <p>The XModel Schema defines an XML representation of a model. The components of an XModel –
an instance of the XModel Schema – are shown in Figure 1 and described in the following paragraphs.
Describing a Model. Besides a title, an XModel essentially consists of an informal description and a
formal description. The informal description is basically a textual representation of the model. It is a
compound of paragraphs, lists, (simple) tables, and images. In addition, elements to emphasize content
and for referencing are supported as well as mathematical expressions. Although they are permitted,
these expressions do only have a descriptive character and are not associated with any special role.</p>
      <p>In contrast, the formal description defines a model using mathematical expressions, which have
special meaning. They are used to define the model’s set of input parameters I, output parameters O,
and miscellaneous parameters M. The latter may serve as constants or other variables. Each parameter is
defined by a name, a domain/type, and a short textual description. These parameter blocks are followed
by the model’s definition, which describes how the model is implemented using the beforehand defined
parameters. Therefore, this consists of text content similar to the informal description’s one. To (re)use
these parameters, special elements to refer to a parameter’s name, domain/type, and description are added
(parameterName, parameterType, parameterDescription). But the essential part of the definition block
is a set of model equations/formulas R that define the relationships between the parameters, such that
for each o 2 O at least one equation/formula r(I0 [ M0) 2 R exists with I0 I and M0 M. R may also
contain equations/formulas that allow to bind some miscellaneous parameters m 2 M for further use in
other equations.</p>
      <p>1A snapshot of a development prototype is available here: http://angren.cs.uni-kl.de/WoMstatic/. Use womguest
as username and password to login.</p>
      <p>2http://aloe-project.de
3German Research Center for Artificial Intelligence</p>
      <p>model
title
keywords
status
relatedTo</p>
      <p>history
* naPmareameter
domain/type
description
&lt;&lt;reference&gt;&gt;
simulation *
program
resource
type
program
parameter
name
position
description
visualization</p>
      <p>*
author
contributor</p>
      <p>editor
holder of rights
*
*
*
*
*
AMS</p>
      <p>
        *
Visualizations and Simulations. In addition, a model may contain visualizations and simulations. The
visualizations can range from simple images to complex videos. Simulations are provided by software
packages that allow for online experimentation with the model. They usually take some input
parameters and – in the case of pre-fabricated simulations – return an image or video as result. These program
parameters should correspond to the (input) parameters of the formal model. Therefore, the formal
description’s parameters can be referenced by the program parameters. Thus, the program parameter’s
role (name, description, and possibly domain/type) can be easily inferred. In addition to these
correlated parameters, a simulation may also have parameters to control particular aspects of the simulations.
Currently Matlab- and Sage-based simulations are supported. The Sage framework [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] provides a
webbased Python interpreter and a very rich library of mathematical algorithms and data structures.
      </p>
      <p>While the previously described way to use simulations by referencing an external program resource,
for instance a Matlab or Sage file, is already supported by the WoM, we are currently developing
modelembedded simulations, which are (Sage-based) programs that allow to define a simulation directly inside
the XModel. Therefore, the XModel Schema allows code snippets that are parts of the formal
description’s parameters and equations/formulas. An accordingly extended schema is depicted in Figure 2. It
shows the extension of the parameters and equations with the new element simulation code that
encapsulates the additional code. Using IDs, each simulation code element is associated with the simulation to
which it belongs. Because the order of the snippets in the description may be different to their order in
the program, additionally, each simulation code element has to be numbered. For code, which does not</p>
      <p>formal
description
directly belong to a formal description’s component, such snippets can be defined within the body of the
corresponding simulation element.</p>
      <p>
        Metadata. The XModel Schema also includes metadata such as the model’s authors, contributors,
holders of rights, and editors as well as keywords, the model’s status that can be stable, experimental, or
checked, and a bibliography, whose structure is based on the BibTeX syntax. Using a classification, a
model can be related to standard classifications. Currently, WoM supports the AMS 1991 Mathematical
Subject Classification [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] and the WZ08 - Classification of Economic Activities [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. A model may also
be related to other models in the WoM, which is a symmetric relation.
      </p>
      <p>
        The XModel Schema is designed in a way that allows to evolve the models over time. For
example, models may be classified according to a new classification ontology or may be extended with new
simulations and visualizations. Of course, changes in other parts of the model are possible as well.
Consequently, a model may have different versions and provides access to its history.
Processing an XModel Document. As mentioned in the beginning of this section, we currently
provide a LATEX document class, which roughly describes the syntax of XModel. The LATEX source is
translated into an XModel document. Because of that, LaTeXML [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] in conjunction with BibTeXML [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] are
used to translate the LATEX document into an intermediate XML document, which is finally transformed
into an XModel document using XSLT. Based on a valid XModel representation, further processing
operations like a transformation into an XHTML representation or back into a LATEX document are possible.
The entire processing chain is depicted in Figure 3.
      </p>
      <sec id="sec-2-1">
        <title>LaTeX</title>
        <p>LaTeXML
BibTeXML
XSLT</p>
      </sec>
      <sec id="sec-2-2">
        <title>XModel</title>
        <p>XSLT</p>
      </sec>
      <sec id="sec-2-3">
        <title>XHTML XML</title>
        <p>XSLT</p>
        <p>
          In Figure 4, the result of such an additional transformation is shown. It exemplarily illustrates the
XHTML representation of a model for the “Horizontal Shot”. Furthermore, it shows the integration of
a pre-fabricated Matlab simulation in section 4. Simulations. A separate link to a corresponding Sage
simulation is shown at the end of that section. Figure 5 gives an impression of the Sage interface.
Several communities work on different aspects to support math in the Web. Some of them focus on
providing visual aids for mathematical algorithms, like the proprietary platform available under [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ], which
is based on Mathematica/WolframAlpha. Demonstrations, which are mainly interactive, are based on a
CDF4 file that can only be processed by proprietary tools. For various demonstrations unstructured text
comments and author information are given. Demonstrations may be referenced to “related”
demonstrations, but that is not necessarily a symmetric relation. It also misses any community features, model
structuring, and alternative visualization capabilities.
        </p>
        <p>
          Another approach are math-related Wikis, which are based on several freely available software
projects. A wide range of them use the OMdoc [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ] format5. It concentrates on the representation of
mathematical equations, their transformation, and referencing. Others use the OpenMath and MathML
standards [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ]. Sample projects are [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ] (outdated) and [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ] – “The Encyclopedia Sponsored by
Statistics and Probability Societies”. While they are providing AMS classifications, user communities, and
LATEX-based integration of new content, they lack a clear model structure. For instance plain LATEX
documents and visual support are limited to ordinary images. Another prototype JOBAD (JavaScript API
for OMDoc-based Active Documents) [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ] concentrates on the integration of other (ad-hoc called) Web
        </p>
        <sec id="sec-2-3-1">
          <title>4Computable Document Format 5OMdoc is an inter lingua for mathematical communications.</title>
          <p>Services. They are linked via keywords or explicit user input. This project’s main goals are on-the-fly
conversion of units, and document visualization style. Neither interactive models nor structured models
are provided.</p>
          <p>
            The PlanetMath project [
            <xref ref-type="bibr" rid="ref14">14</xref>
            ] collects – similar to a math encyclopedia – all kinds of math-related and
LATEX-sourced documents and makes them available as HTML pages. The downloadable intermediate
XML format does not provide any clear structuring or support for model linkage, besides keywords,
which are automatically extracted from the text. While community features like comments and history
are supported, neither visual assistance, except for images, nor interactive playgrounds are provided.
          </p>
          <p>
            Platforms like ActiveMath [
            <xref ref-type="bibr" rid="ref11">11</xref>
            ] are capable of communicating with computer algebra systems or
formalizing mathematical expressions in order to annotate or simply present them in the Web. Some
of them provide learning platforms that allow flash programs and applets to be embedded. Special
platforms (see e.g. [
            <xref ref-type="bibr" rid="ref13">13</xref>
            ]) are specialized in proof languages and proof checker capabilities for all
mathrelated expressions. But none of them provide any community features nor do they support the notion of
mathematical models and their relations.
          </p>
          <p>
            While the WoM and the OKSIMO project (formerly known as Planet Earth Simulator [
            <xref ref-type="bibr" rid="ref5">5</xref>
            ]) have in
common that they want to model day-to-day problems and make the partially interactive models available
on the Web, the OKSIMO project depends on a propriety Fcl input language, i.e., a visual programming
language, to submit new models. In contrast to WoM, OKSIMO lacks a structured model repository.
          </p>
          <p>In summary, the described approaches have different focuses, but usually share some technical
aspects. For instance, JOBAD uses a similar model repository approach, namely TnTBase – a database
assembled from Subversion and Berkeley DB XML. Except platforms aiming at formalizing
mathematical expressions, all (web-oriented) platforms support LATEX-based inputs without any pre-defined
additional structure. A distinguishing feature of the WoM approach is that it supports its models/entries
by an explicit schema.
4</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Conclusion</title>
      <p>We introduced the Web of Models, a platform for storing, searching, exploring, and sharing mathematical
models. In this paper, we focused on the structured representation of a model as an instance of the
XModel Schema. It defines the scope of WoM and, besides others, allows to classify models as well as
relate them to each other. It standardizes the model’s structure and thus improves model consistency. It
allows to integrate simulations whether as references to an already existing program or directly inside
the model’s description via model embedded simulations. With the help of such simulations the user can
explore and experiment with the models. Created from a LATEX document an XModel instance can be
transformed into different representations like XHTML. Finally, XModel is the cornerstone of WoM, of
the model platform built around, and for all available transformation and processing options. Moreover,
it supports any future evolution steps by automated processing capabilities.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>American</given-names>
            <surname>Mathematical</surname>
          </string-name>
          <article-title>Society</article-title>
          . http://www.ams.org/.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>[2] BibTeXML. http://www.arakhne.org/bib2ml/.</mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>O.</given-names>
            <surname>Caprotti</surname>
          </string-name>
          and
          <string-name>
            <given-names>D.</given-names>
            <surname>Carlisle</surname>
          </string-name>
          .
          <article-title>OpenMath and MathML: semantic markup for mathematics</article-title>
          .
          <source>Crossroads</source>
          ,
          <volume>6</volume>
          :
          <fpage>11</fpage>
          -
          <lpage>14</lpage>
          ,
          <year>November 1999</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Statistisches</given-names>
            <surname>Bundesamt</surname>
          </string-name>
          <article-title>Deutschland</article-title>
          . http://www.destatis.de/.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Gerd</given-names>
            <surname>Doeben-Henisch</surname>
          </string-name>
          .
          <article-title>The planet earth simulator project - a case study in computational semiotics</article-title>
          .
          <source>In AFRICON</source>
          ,
          <year>2004</year>
          . 7th AFRICON Conference in Africa, volume
          <volume>1</volume>
          , pages
          <fpage>417</fpage>
          -
          <lpage>422</lpage>
          ,
          <year>September 2004</year>
          . http: //oksimo.inm.de/.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Pieter</given-names>
            <surname>Eykhoff</surname>
          </string-name>
          . System Identification: Parameter and
          <string-name>
            <given-names>State</given-names>
            <surname>Estimation</surname>
          </string-name>
          . Wiley,
          <year>1974</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Jean-Marie</surname>
            <given-names>Gaillourdet</given-names>
          </string-name>
          , Thomas Grundmann, Martin Memmel, Karsten Schmidt,
          <article-title>Arnd Poetzsch-Heffter, and Stefan Deßloch</article-title>
          .
          <article-title>WoM: An Open Interactive Platform for Describing, Exploring, and Sharing Mathematical Models</article-title>
          . In A. Ko¨nig et al., editor,
          <source>Knowledge-Based and Intelligent Information and Engineering Systems, 15th International Conference, KES2011, Lecture Notes in Computer Science</source>
          ,
          <year>2011</year>
          . to appear.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Jana</given-names>
            <surname>Giceva</surname>
          </string-name>
          , Christoph Lange, and
          <string-name>
            <given-names>Florian</given-names>
            <surname>Rabe</surname>
          </string-name>
          .
          <article-title>Integrating web services into active mathematical documents</article-title>
          . In Jacques Carette, Lucas Dixon, Claudio Coen, and Stephen Watt, editors,
          <source>Intelligent Computer Mathematics</source>
          , volume
          <volume>5625</volume>
          <source>of LNCS</source>
          , pages
          <fpage>279</fpage>
          -
          <lpage>293</lpage>
          . Springer Berlin / Heidelberg,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>Michael</given-names>
            <surname>Kohlhase</surname>
          </string-name>
          .
          <article-title>OMDoc: Open mathematical documents</article-title>
          . In Fred Vries, Graham Attwell, Raymond Elferink, and Alexandra To¨dt, editors,
          <source>Open Source for Education</source>
          , pages
          <fpage>137</fpage>
          -
          <lpage>143</lpage>
          . Open Universiteit Nederland,
          <year>November 2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>[10] MathWeb. http://www.mathweb.org.</mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>Erica</surname>
            <given-names>Melis</given-names>
          </string-name>
          , Giorgi Goguadze, Paul Libbrecht, and Carsten Ullrich.
          <article-title>ActiveMath - a learning platform with semantic web features</article-title>
          ,
          <year>2009</year>
          . http://www.activemath.org.
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>Bruce</given-names>
            <surname>Miller</surname>
          </string-name>
          . LaTeXML. http://dlmf.nist.gov/LaTeXML.
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>A.</given-names>
            <surname>Naumowicz</surname>
          </string-name>
          and
          <string-name>
            <given-names>A.</given-names>
            <surname>Kornilowicz</surname>
          </string-name>
          .
          <article-title>A brief overview of Mizar. In S. Berghofer</article-title>
          and et al., editors,
          <source>TPHOLs</source>
          <year>2009</year>
          ,
          <year>2009</year>
          . LNCS 5674.
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>[14] PlanetMath. http://planetmath.org.</mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <surname>StatProb</surname>
          </string-name>
          .
          <article-title>The encyclopedia sponsored by statistics and probability societies</article-title>
          . http://statprob.com.
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>W. A.</given-names>
            <surname>Stein</surname>
          </string-name>
          et al.
          <source>Sage Mathematics Software. The Sage Development Team</source>
          ,
          <year>2011</year>
          . http://www. sagemath.org.
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <surname>Wolfram</surname>
          </string-name>
          .
          <article-title>Wolfram demonstrations project</article-title>
          . http://demonstrations.wolfram.com.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>