<!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>CoreWEB - Semantic Expressions in Conceptual Models for Generation of Information Systems</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Tomas Jonsson</string-name>
          <email>tomas@genicore.se</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Matts Rimfors</string-name>
          <email>matts@genicore.se</email>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Genicore AB, R&amp;D</institution>
          ,
          <addr-line>Östra Hamngatan 52, S-41109 Göteborg</addr-line>
          ,
          <country country="SE">Sweden</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Genicore AB, R&amp;D</institution>
          ,
          <addr-line>Östra Hamngatan 52, S-41109 Göteborg</addr-line>
          ,
          <country country="SE">Sweden</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Pawson, R.: Naked Objects, Dublin, Ireland: University of Dublin, Trinity College</institution>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2019</year>
      </pub-date>
      <volume>1064</volume>
      <fpage>717</fpage>
      <lpage>722</lpage>
      <abstract>
        <p>Information systems are partially defined by conceptual models. Conceptual models declare structures of concepts which need to be augmented with semantic logic in some form in order to get towards fully functional information systems. CoreWEB is an environment with a one button transformation of conceptual models with expressions declaring semantics, into executing information system. In CoreWEB, semantic logic is added to declared concepts by defining expressions (parameterless functions without side efects). In the executing information system, consistency of data as stated by expressions is maintained by an event driven data-flow mechanism.</p>
      </abstract>
      <kwd-group>
        <kwd>Model Driven Systems</kwd>
        <kwd>Information Systems</kwd>
        <kwd>Conceptual Models</kwd>
        <kwd>Semantic Models</kwd>
        <kwd>Model Execution</kwd>
        <kwd>Data-flow</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>Our research and development focus is on seamless life cycle management of Information
Systems (is) which are semantically consistent with their users. As part of this efort,
CoreWEB was developed as a tool for education, research and prototyping.
Model driven development and execution of is has a long history [JE15; Pa04; PG92; Re77].
Automated transformation of is systems, from requirements and conceptual models, is
available from some independent suppliers and has proven to work for full scale enterprise
information systems. Documented benefits of automatic transformation of domain models,
a category which includes conceptual information systems models, into software systems
include lead time, cost and quality in an order of magnitude [MD08].</p>
      <p>We consider pure conceptual models as declarations of structures of concepts, whereas
semantic models also need definitions of the meaning of each concept. For information
systems construction, we consider conceptual models describing structures of data to be
suitable. For the purpose of automatic transformation of these models into information
systems, formal machine readable definitions of concepts are required. I.e. rules regarding
the concept and if the concept is a property, what is the rule for the value of this property.
In many approaches, these kinds of rules are embedded in processing concepts separate
from the data concept they afect, such as in object methods, object constraints, processes
2</p>
    </sec>
    <sec id="sec-2">
      <title>Calculations in Sales Order Model</title>
      <p>To exemplify concept definition using expressions, a model of an order is used and the
expression of calculating the price of the order as the sum of the price of the order items. In
Fig. 1 the object types of the order is shown and their relations. The notation was developed
for information modelling and is briefly explained in [JE19] page 10)</p>
    </sec>
    <sec id="sec-3">
      <title>Calculation for Summing Node Values of a Tree Structure</title>
      <p>In this example, we define a tree graph of nodes and relations, with an expression calculating
the sum of node values and the consecutive sum of all tree branches. Instead of the recursive
tree traversal approach of imperative or functional languages, in the expressional data-flow
approach nodes sum is just declared as the sum of its children plus it own value. Node
object type and relations is shown in Fig. 3
Javascript pattern is in this case partly generated by selecting the relation (subnodes) and
the property to summarise (tree value) and then adding the node value itself. Expression in
javascript is shown in Fig. 4 and runtime system in Fig. 5</p>
    </sec>
    <sec id="sec-4">
      <title>Concluding remarks - Models as the New Software</title>
      <p>CoreWEB is an experimental environment which lacks several features that would be
required for commercial use, however it demonstrates the concept of Models as Software.
CoreWEB is currently used for teaching, semantic modelling and application prototyping in
research, as well as for a tailor made and deployed system for a role play organisation with
600 members. A commercial environment based on similar principles, used to implement
an ERP system is described in [JE15].</p>
      <p>CoreWEB environment registration and some demonstration videos is available at
https://www.ameis.se/cml. Educators and researchers are encouraged to use the free
environment CoreWEB to model, execute and experiment with models. We urge researchers
and practitioners with interest in model driven is to join in a triple helix efort
https://www.ameis.se to develop and disseminate knowledge and practice.
[JE15]
[JE17]</p>
      <p>Jonsson, T.; Enquist, H.: CoreEAF -A Model Driven Approach to Information
Systems. In: CEUR Workshop Proceedings. CAISE2015. Vol. 1367, Stockholm,
pp. 137–144, June 2015.</p>
      <p>Jonsson, T.; Enquist, H.: Semantic Consistency in Enterprise Models-Through
Seamless Modelling and Execution Support. In: CEUR Workshop Proceedings.</p>
      <p>ER2017. Vol. Vol-1979, Valencia, p356–359, Nov. 2017.
[JE19]
[MD08]
[Pa04]
[PG92]
[Re77]
Mohagheghi, P.; Dehlen, V.: Where Is the Proof? - A Review of Experiences from
Applying MDE in Industry. In (Schieferdecker, I.; Hartman, A., eds.): Model
Driven Architecture – Foundations and Applications. Vol. 5095, Springer Berlin
Heidelberg, Berlin, Heidelberg, pp. 432–443, 2008.</p>
    </sec>
  </body>
  <back>
    <ref-list />
  </back>
</article>