<!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>
      <journal-title-group>
        <journal-title>Manfred A. Jeusfeld[</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Multilevel Modeling with ConceptBase?</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>Signi cance of Multilevel Modeling</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>University of Skovde</institution>
          ,
          <addr-line>IIT</addr-line>
          ,
          <country country="SE">Sweden</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>0000</year>
      </pub-date>
      <volume>0002</volume>
      <abstract>
        <p>Multilevel modeling aims at improving the expressiveness and conciseness of conceptual modeling languages by allowing to express domain knowledge at higher abstractions levels. In this demonstration, we go thru two variants of multilevel extensions for the ConceptBase system, which had originally been used more for the design of domainspeci c conceptual modeling languages. The demonstration highlights the partial evaluation feature of the deductive rule engine of ConceptBase. It also shows how multilevel modeling is essentially about a better understanding how instantiation, specialization, and attribution relate to each other in conceptual modeling.</p>
      </abstract>
      <kwd-group>
        <kwd>multilevel modeling</kwd>
        <kwd>conceptual modeling</kwd>
        <kwd>powertype</kwd>
        <kwd>Telos</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        This demonstration is showcasing the multilevel modeling capabilities of
ConceptBase [
        <xref ref-type="bibr" rid="ref5 ref6">5,6</xref>
        ]. ConceptBase is a mature conceptual modeling tool based on
deductive database technology with a customizable graphical user interface. In the
rest of this paper, we shortly introduce to the ConceptBase system and its
underlying data model Telos [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. We demonstrate two di erent approaches to multilevel
modeling that have been implemented between 2014 and 2020 with
ConceptBase. Dual-deep instantiation extends the so-called potency based approaches
by source potencies. MLT-Telos is a powertype-based approach implementing
a subset of the multilevel modeling theory MLT*. All demonstration parts are
available via the web page http://conceptbase.sourceforge.net/er21demo and can
be replayed by the interested reader with minimal installation e ort. The main
purpose of this demonstration is to explain how the deductive rule engine of
ConceptBase realizes a rather elegant implementation of di erent approaches to
multilevel modeling. The rst one is potency-based (assigning level numbers to
attributes and relations) and the other is powertype-based.
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>ConceptBase for Conceptual Modeling</title>
      <p>ConceptBase was originally developed as a repository for software engineering
artefacts. It is technically a deductive database with its own Datalog-neg
engine to evaluate recursive deductive rules. The data model is a variant of the
Telos language, which itself is based on the three principles instantiation,
specialization, and attribution (subsuming relations between objects). Telos has a
potentially unlimited instantiation hierarchy (individuals, classes, metaclasses,
metametaclasses, etc.) terminated by a so-called omega-level class "Proposition"
(standing for all objects), which has any explicit information as instance. This
includes explicit attributes, instantiations, and specializations, which all are
objects in Telos. ConceptBase also features a customizable graphical user interface
CBGraph. It displays views on the database (i.e. models) by representing nodes
and links by graphical shapes depending on (derived) properties of the objects.
For example, a deductive rule can specify to display instances of the class
"RelationshipType" with a diamond shape. The textual editor CBIva allows to de ne
new objects in a frame syntax and query the ConceptBase database.</p>
      <p>Traditionally, ConceptBase was mainly used for metamodeling, in particular
to de ne families of interrelated domain-speci c modeling languages. Deductive
rules and integrity constraints are used to specify well-formed models and the
semantics of modeling constraints. For example, the semantics of cardinality
constraints can be expressed by integrity constraints (a special form of deductive
rules). The multilevel modeling case is a particular challenge for the deductive
rule engine of ConceptBase, since it has to cope with objects at more than
two abstraction levels. Further, multilevel modeling has an intricate relation to
the core principles of conceptual modeling, i.e. instantiation, specialization and
attribution. These principles are prede ned in the ConceptBase implementation
of Telos.</p>
    </sec>
    <sec id="sec-3">
      <title>Demonstration Part 1: Dual Deep Instantiation</title>
      <p>The rst part of the demonstration discusses our rst attempt to implement
constructs for multilevel modeling with ConceptBase. Dual deep instantiation
(DDI) is a so-called potency-based approach, where attributes and (binary)
relations have a source and a target potency. When both numbers are set to "1",
then the attribute/relation behaves like a in classical conceptual modeling: the
attribute/class is de ned at the class level and is instantiated at one level
below the current class level. When the numbers are greater than "1", then the
attribute/relation is instantiated at lower levels depending on the number. For
example a metaclass "ProductType" could have an attribute "serialnumber"
with source potency of 2 and target potency of "1". Assume that "Car" is an
instance of "ProductType". Then, an instance "mycar123" of "Car" can have a
serial number, without any need to de ne it for the class "Car". It is de ned for
all products. The demonstration consists of the following steps:
1. De ne the metaclass "ProductType" and its "serialnumber" attribute with
the desired potencies.
2. De ne a class "Car" with a regular attribute "numberofdoors".
3. De ne an instance like "mycar123" that instantiates both attributes.
4. De ne another class "MobilePhone" with attribute "protocol". Instantiate
"MobilePhone" and re-use the attribute "serialnumber".</p>
      <p>We shall also show the formulas de ning DDI and how they are compiled
to two-level formulas by the partial evaluator of ConceptBase. Dual deep
instantiation provides a number of additional capabilities to constrain the use of
attributes and relations de ned at higher instantiation levels. In particular,
attributes/relations with potencies can be restricted at lower instantiation levels.
The second part of the demonstration uses the same example but is based on
the powertype construct. Rather than using level numbers, it encodes the
multilevel structure of a model by in instantiation hierarchy of powertypes. The
attributes/relations are then de ned at the suitable level of this hierarchy. Multiple
hierarchies can co-exist and be linked via relations. The demonstration consists
of the following steps:
1. De ne the metaclass "ProductType" as powertype of "Product".
2. De ne a class "Car" as instance of "ProductType". De ne the attribute
"serialnumber" for "Product" and "numberofdoors" for "Car".
3. De ne an instance like "mycar123" that instantiates both attributes.</p>
      <p>In this simple scenario, the MLT-Telos variant is more concise than DDI but
lacks the expressiveness of the dual levels of attributes/relations in DDI. We
shall demonstrate also some larger examples from the web site for this demo.</p>
    </sec>
    <sec id="sec-4">
      <title>Demonstration Part 3: Partial Evaluation</title>
      <p>We demonstrate the role of partially evaluating rules that range over more than
2 levels to sets of rules that range over two levels, see gure 3. The multilevel
rule considered here is
forall t1,t2/Proposition e/Proposition</p>
      <p>(t1 specializes_1 t2) and (e in t1) ==&gt; (e in t2)</p>
      <p>This rule has variables e, t1 and t2, where e is an instance of t2, if t1 specializes
t2 and e is and instance of t1. The "specializes" relation is de ned as the level of
the class "Proposition". So we have three levels of objects here: Proposition is
at the highest level, t1 and t2 are at the middle level, and the variable e ranges
over objects at the lowest level. Now, when we have a (derived) fact like (Car
specializes 1 Product), then we can substitute t1 with "Car" and t2 with
"Product" and we can generate a partially evaluated 2-level formula:
forall e/Car (e in Product)</p>
      <p>ConceptBase automatically generates the 2-level formulas, which are much
more e cient to evaluate due to the lower number of variables and thus reduced
number of join operations for the Datalog engine.
6</p>
    </sec>
    <sec id="sec-5">
      <title>Summary</title>
      <p>This paper provided the background for the two multi-level modeling variants
DDI and MLT-Telos, both being implemented by the ConceptBase system via
its metamodeling and deductive capabilities. The two demonstration examples
highlight the di erences between the two approaches. In short, MLT-Telos is
better integrated with the Telos axioms by reusing its notions for
instantiation and specialization. DDI has an elaborate system of rules and constraints
expressing how attributes and relations can be specialized and instantiated.
The main purpose of the demonstration is to explain how a collection of
metaclass de nitions plus a set of deductive rules and integrity constraints can
capture most of the desired semantics of multilevel modeling paradigms. The web
page http://conceptbase.sourceforge.net/er21demo contains further instructions
to run the demonstration on your own computer, as well as links to videos of
the demonstration.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Abrial</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          :
          <article-title>Data semantics</article-title>
          . In: Klimbie,
          <string-name>
            <surname>J.W.</surname>
          </string-name>
          , Ko eman, K.L. (eds.) Data Base Management,
          <source>Proceeding of the IFIP Working Conference Data Base Management</source>
          , Cargese, Corsica, France, April 1-
          <issue>5</issue>
          ,
          <year>1974</year>
          . pp.
          <volume>1</volume>
          {
          <fpage>60</fpage>
          . North-Holland (
          <year>1974</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Atkinson</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          , Kuhne, T.:
          <article-title>The essence of multilevel metamodeling</article-title>
          .
          <source>In: UML 2001 - The Uni ed Modeling Language, Modeling Languages, Concepts</source>
          , and
          <string-name>
            <surname>Tools</surname>
          </string-name>
          , 4th International Conference, Toronto, Canada, October 1-
          <issue>5</issue>
          ,
          <year>2001</year>
          , Proceedings. pp.
          <volume>19</volume>
          {
          <issue>33</issue>
          (
          <year>2001</year>
          ), https://doi.org/10.1007/3-540
          <source>-45441-1 3</source>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>P.P.: The</given-names>
          </string-name>
          <string-name>
            <surname>Entity-Relationship</surname>
            <given-names>Model</given-names>
          </string-name>
          :
          <article-title>Toward a uni ed view of data</article-title>
          . In: Kerr,
          <string-name>
            <surname>D.S</surname>
          </string-name>
          . (ed.)
          <source>Proceedings of the International Conference on Very Large Data Bases, September 22-24</source>
          ,
          <year>1975</year>
          , Framingham, Massachusetts, USA. p.
          <fpage>173</fpage>
          .
          <string-name>
            <surname>ACM</surname>
          </string-name>
          (
          <year>1975</year>
          ), https://doi.org/10.1145/1282480.1282492
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Frank</surname>
            ,
            <given-names>U.</given-names>
          </string-name>
          :
          <article-title>Multilevel modeling - toward a new paradigm of conceptual modeling and information systems design</article-title>
          .
          <source>Business &amp; Information Systems Engineering</source>
          <volume>6</volume>
          (
          <issue>6</issue>
          ),
          <volume>319</volume>
          {
          <fpage>337</fpage>
          (
          <year>2014</year>
          ), https://doi.org/10.1007/s12599-014-0350-4
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Jarke</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          , Gallersdorfer, R.,
          <string-name>
            <surname>Jeusfeld</surname>
            ,
            <given-names>M.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Staudt</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Eherer</surname>
            ,
            <given-names>S.:</given-names>
          </string-name>
          <article-title>ConceptBase - a deductive object base for meta data management</article-title>
          .
          <source>J. Intell. Inf. Syst</source>
          .
          <volume>4</volume>
          (
          <issue>2</issue>
          ),
          <volume>167</volume>
          {
          <fpage>192</fpage>
          (
          <year>1995</year>
          ), http://dx.doi.org/10.1007/BF00961873
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Jeusfeld</surname>
            ,
            <given-names>M.A.</given-names>
          </string-name>
          :
          <article-title>ConceptBase.cc user manual</article-title>
          .
          <source>Tech. rep.</source>
          , University of Skovde,
          <string-name>
            <surname>Sweden</surname>
          </string-name>
          (
          <year>2021</year>
          ), http://conceptbase.sourceforge.net/userManual82/CB-Manual.pdf
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Koubarakis</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Borgida</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Constantopoulos</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Doerr</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jarke</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jeusfeld</surname>
            ,
            <given-names>M.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mylopoulos</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Plexousakis</surname>
            ,
            <given-names>D.:</given-names>
          </string-name>
          <article-title>A retrospective on Telos as a metamodeling language for requirements engineering</article-title>
          .
          <source>Requir. Eng</source>
          .
          <volume>26</volume>
          (
          <issue>1</issue>
          ),
          <volume>1</volume>
          {
          <fpage>23</fpage>
          (
          <year>2021</year>
          ), https:// doi.org/10.1007/s00766-020-00329-x
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8. de Lara, J.,
          <string-name>
            <surname>Guerra</surname>
          </string-name>
          , E.:
          <article-title>Deep meta-modelling with metadepth</article-title>
          . In: Vitek,
          <string-name>
            <surname>J</surname>
          </string-name>
          . (ed.) Objects, Models, Components, Patterns, 48th International Conference, TOOLS 2010, Malaga, Spain, June 28 - July 2,
          <year>2010</year>
          .
          <source>Proceedings. Lecture Notes in Computer Science</source>
          , vol.
          <volume>6141</volume>
          , pp.
          <volume>1</volume>
          {
          <fpage>20</fpage>
          . Springer (
          <year>2010</year>
          ), https://doi.org/10.1007/ 978-3-
          <fpage>642</fpage>
          -13953-6 1
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Neumayr</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          , Grun,
          <string-name>
            <given-names>K.</given-names>
            ,
            <surname>Schre</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.:</surname>
          </string-name>
          <article-title>Multi-level domain modeling with m-objects and m-relationships</article-title>
          . In: Kirchberg,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Link</surname>
          </string-name>
          , S. (eds.)
          <string-name>
            <surname>Sixth</surname>
          </string-name>
          Asia-Paci c Conference on Conceptual Modelling (APCCM
          <year>2009</year>
          ), Wellington, New Zealand, January
          <volume>20</volume>
          - 23
          <year>2009</year>
          . CRPIT, vol.
          <volume>96</volume>
          , pp.
          <volume>107</volume>
          {
          <fpage>116</fpage>
          . Australian Computer Society (
          <year>2009</year>
          ), http: //crpit.scem.westernsydney.edu.au/abstracts/CRPITV96Neumayr.html
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>