<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="http://www.zfdg.de/sites/default/files/schema/tei_zfdg.rnc" type="application/relax-ng-compact-syntax"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0" xmlns:html="http://www.w3.org/1999/html"
   xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:xlink="http://www.w3.org/1999/xlink"
   xmlns:xhtml="http://www.w3.org/1999/xhtml">
   <teiHeader>
      <fileDesc>
         <titleStmt>
            <title>
               <biblStruct>
                  <analytic>
                     <title level="a">A Graph Database of Aegean Seals with Uncertain
                        Attributes</title>
                     <respStmt>
                        <resp>
                           <persName>
                              <name role="marc_aut">
                                 <forename>Martina</forename>
                                 <surname>Trognitz</surname>
                              </name>
                              <email>martina.trognitz@oeaw.ac.at</email>
                              <idno type="gnd">116996270X</idno>
                              <idno type="orcid">0000-0003-0485-6861</idno>
                           </persName>
                        </resp>
                        <orgName>Österreichische Akademie der Wissenschaften, Austrian Centre for Digital Humanities</orgName>
                     </respStmt>
                     <idno type="doi">10.17175/sb004_010</idno>
                     <idno type="ppn">1037074726</idno>
                     <idno type="zfdg">sb004_010</idno>
                     <idno type="url">http://www.zfdg.de/node/270</idno>
                     <date when="2019-04-10">10.04.2019</date>
                  </analytic>
                  <monogr>
                     <title level="j">Zeitschrift für digitale Geisteswissenschaften</title>
                     <title level="m">Sonderband: Die Modellierung des Zweifels – Schlüsselideen und -konzepte zur graphbasierten Modellierung von Unsicherheiten.</title>
                     <respStmt>
                        <resp>
                           <name role="marc_edt">
                              <forename>Andreas</forename>
                              <surname>Kuczera</surname>
                           </name>
                           <email>andreas.kuczera@geschichte.uni-giessen.de</email>
                           <idno type="gnd">1167802993</idno>
                        </resp>
                        <orgName>Akademie der Wissenschaften und der Literatur, Mainz</orgName>
                     </respStmt>
                     <respStmt>
                        <resp>
                           <name role="marc_edt">
                              <forename>Thorsten</forename>
                              <surname>Wübbena</surname>
                           </name>
                           <email>twuebbena@dfk-paris.org</email>
                           <idno type="gnd">123312396</idno>
                        </resp>
                        <orgName>Deutsches Forum für Kunstgeschichte Paris</orgName>
                        <orgName>Goethe-Universität Frankfurt, Kunstgeschichtliches Institut</orgName>
                     </respStmt>
                     <respStmt>
                        <resp>
                           <name role="marc_edt">
                              <forename>Thomas</forename>
                              <surname>Kollatz</surname>
                           </name>
                           <email>thomas.kollatz@adwmainz.de </email>
                           <idno type="gnd">1063010942</idno>
                        </resp>
                        <orgName>Akademie der Wissenschaften und der Literatur, Mainz</orgName>
                     </respStmt>
                     <respStmt>
                        <resp>Unter Mitarbeit von</resp>
                        <name role="marc_ctb">
                           <surname>Timo</surname>
                           <forename>Steyer</forename>
                           <email>steyer@mww-forschung.de</email>
                           <idno type="gnd">1053806175</idno>
                        </name>
                        <orgName>Forschungsverbund Marbach Weimar Wolfenbüttel</orgName>
                     </respStmt>
                     <respStmt>
                        <resp>Publiziert von</resp>
                        <orgName role="marc_pbl">Herzog August Bibliothek</orgName>
                     </respStmt>
                     <respStmt>
                        <resp>Transformation der Word Vorlage nach TEI</resp>
                        <name role="marc_trc">
                           <surname>Steyer</surname>
                           <forename>Timo</forename>
                           <idno type="gnd">1053806175</idno>
                        </name>
                     </respStmt>
                     <availability status="free">
                        <p>Available at <ref target="http://www.zfdg.de">http://www.zfdg.de</ref>
                        </p>
                     </availability>
                     <biblScope unit="sonderband">4</biblScope>
                     <biblScope unit="artikel">10</biblScope>
                  </monogr>
               </biblStruct>
            </title>
         </titleStmt>
         <editionStmt>
            <edition>Elektronische Ausgabe nach TEI P5</edition>
         </editionStmt>
         <publicationStmt>
            <distributor>
               <name>
                  <orgName>Herzog August Bibliothek Wolfenbüttel</orgName>
               </name>
            </distributor>
            <idno type="doi">10.17175/sb004</idno>
            <idno type="ppn">1031300139</idno>
            <idno type="url">http://www.zfdg.de/sonderband/4</idno>
            <date when="2019-04-10">10.04.2019</date>
            <authority>
               <name>Herzog August Bibliothek</name>
               <address>
                  <addrLine/>
               </address>
            </authority>
            <authority>
               <name>Forschungsverbund MWW</name>
               <address>
                  <addrLine/>
               </address>
            </authority>
            <availability status="free">
               <p> Sofern nicht anders angegeben </p>
               <licence target="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</licence>
            </availability>
            <availability status="free">
               <p> Available at <ref target="workID">http://www.zfdg.de"&gt; (c) Forschungsverbund
                  MWW</ref>
               </p>
            </availability>
         </publicationStmt>
         <sourceDesc>
            <p>Ausgewählte Beiträge der Tagung 19.–20.01.2018 an der
               Akademie der Wissenschaften und der Literatur, Mainz</p>
         </sourceDesc>
      </fileDesc>
      <encodingDesc>
         <editorialDecl>
            <p>Transformation der WORD-Vorlage nach XML/TEI-P5 durch Apache TIKA 1.7 und XSLT</p>
         </editorialDecl>
         <editorialDecl>
            <p xml:lang="de">Lektorat des Textes durch die Akademie der Wissenschaften und der
               Literatur, Mainz und die ZfdG.</p>
         </editorialDecl>
         <editorialDecl>
            <p>Medienrechte liegen bei den Autoren</p>
         </editorialDecl>
         <editorialDecl>
            <p>All links checked<date when="2019-04-09">09.04.2019</date>
            </p>
         </editorialDecl>
      </encodingDesc>
      <profileDesc>
         <creation>Einreichung für den Sonderband 4 der Zeitschrift für digitale
            Geisteswissenschaften</creation>
         <langUsage>
            <language ident="en">Text in Englisch</language>
            <language ident="en">Abstract in Englisch</language>
         </langUsage>
         <textClass>
            <keywords scheme="gnd">
               <term>konzeptionelle Modellierung<ref target="4123555-1"/></term>
               <term>Graphdatenbank<ref target="1042198020"/></term>
               <term>Netzwerkanalyse<ref target="4205975-6"/></term>
               <term>Ägäische Kultur<ref target="4068427-1"/></term>
               <term>Siegel<ref target="4054876-4"/></term>
            </keywords>
         </textClass>
      </profileDesc>
      <revisionDesc>
         <change/>
      </revisionDesc>
   </teiHeader>
   <text>
      <body>
         <div>
            <div type="abstract">
               <argument xml:lang="de">
                  <p>Um die Anwendung von Netzwerkanalyse bei der Untersuchung von mehrseitigen
                     ägäischen Siegeln zu ermöglichen, wurde eine Graphdatenbank in Neo4j erstellt.
                     Viele der die Siegel beschreibenden Attribute enthalten unsichere Werte, die
                     besonderer Aufmerksamkeit bedürfen, um sie in die Graphdatenbank zu
                     integrieren. Der Aufsatz untersucht die verschiedenen Quellen der
                     Unsicherheiten und präsentiert, wie diese in der Graphdatenbank modelliert
                     werden können. Schließlich wird ein Anwendungsbeispiel vorgestellt, das auf die
                     Darstellungen von Lebewesen auf den Siegeln fokussiert und die erstellte
                     Graphdatenbank verwendet. </p>
               </argument>
               <argument xml:lang="en">
                  <p>To facilitate the application of network analysis for the study of multi-sided
                     Aegean seals, a graph database was implemented in Neo4j. Many of the seal’s
                     attributes contain uncertainties, which require special attention if they are
                     incorporated into the graph database. The article examines where the
                     uncertainties originate from and presents how they can be modelled in the graph
                     database. Finally, a practical example is presented, which focuses on
                     depictions of creatures on seals and makes use of the created graph
                     database.</p>
               </argument>
            </div>

            <div type="chapter">
               <head>1. Introduction</head>
               <p>Aegean seals are small stone, bone or ivory objects of varying shapes, including
                  discs, cylinders, rectangular blocks or triangular prisms. They originate mostly
                  from Bronze Age Crete (Minoan seals) and mainland Greece (Mycenaean seals), thus
                  dating from 3000 to 1100 BCE.</p>
               <p>The seals were used for labelling, sealing or securing other objects, by producing
                  relief impressions in soft materials like clay with their engraved faces.<note
                     type="footnote"><ref type="bibliography" target="#kryszkowska_seals_2005">Kryszkowska 2005</ref>, p. 2.</note> About ten percent of the
                  approximately 10,000 seals known today have more than one such seal face, i.e. are
                  multi-sided. An example is depicted in  <ref
                     type="graphic" target="#aegean_2018_001">figure 1</ref>. For this group, it still remains
                  unclear if the choice of the motifs engraved on the different faces of a seal
                  follows specific rules or was haphazard.<note type="footnote"><ref type="bibliography" target="#trognitz_seals_2017">Trognitz 2017</ref>, p.
                     184.</note> The work presented here is part of a project that aims to find
                  answers to this question by means of computational methods.</p>
               <figure>
                  <graphic xml:id="aegean_2018_001" url=".../medien/aegean_2018_001.jpeg">
                     <desc><ref type="graphic" target="#abb1">Fig. 1</ref>: The three-sided seal CMS
                        II,1 085. [Graphic by courtesy of the CMS Heidelberg.]<ref type="graphic" target="#aegean_2018_001"/></desc>
                  </graphic>
               </figure>
               <p>Network analysis and its visualisation is an exploratory tool that can help in
                  understanding how motif components such as depicted creatures are combined with
                  each other. The method comes from network theory, a field concerned with the study
                  of graphs. Therefore, storing information about the multi-sided seals in a graph
                  database was a natural choice. While developing the data model, special attention
                  had to be paid to unclear or uncertain attributes describing a seal, originating
                  from e. g. a lack of distinct features of the depicted creatures for their
                  unambiguous identification.</p>
               <p>The data source used for this work is described in the <ref type="intern" target="#hd2">following section</ref>, as well
                  as the way information about the seals is organised. <ref type="intern"
                     target="#hd3">Section 3</ref> focuses on the different kinds of uncertain
                  attributes and explores why uncertainties in the dataset exist. <ref type="intern"
                     target="#hd8">Section 4</ref> presents
                  how the information was transferred into a graph database and introduces the data
                  model.</p>
            </div>
            <div type="chapter">
               <head>2. Data Source</head>
               <p>All seals considered in this work are recorded in the ›<ref
                     target="http://cmsheidelberg.uni-hd.de/">Corpus der Minoischen und Mykenischen
                     Siegel</ref>‹ (CMS), a project established in Marburg in 1958, which moved to
                  Heidelberg in 2011. Aim of the CMS is to document and publish all known Aegean
                  seals. In 2007, all seal descriptions were included in the freely accessible object
                  database <ref target="http://arachne.uni-koeln.de">Arachne</ref>. In Arachne, each
                  seal is described in a relational database model with about fifty attributes, such
                  as number of seal faces, dimensions, material, ornaments, and figurative motifs.
                  These attributes are organised into eleven thematic groups: ›identification‹,
                  ›provenience‹, ›shape‹, ›material &amp; technique‹, ›measurements &amp;
                  preservation‹, ›general information about decoration‹, ›stylistic classification‹,
                  ›ornaments‹, ›characters‹, ›figurative motifs excepting creatures‹, and
                  ›creatures‹.</p>
               <p>For this work, a total of 1033 pieces was taken into account, forming a dataset that consists
                  of 1033 seals with 301 two-sided, 637 three-sided, 87 four-sided seals,
                  and a few seals (3, 3, 1, and 1 pieces) with more faces (5, 6, 8, and 14
                  respectively).</p>
               <p>Information about the seals was imported from Arachne via its Open Archives
                  Initiative Protocol for Metadata Harvesting (OAI-PMH)<note type="footnote">
                     <ref type="bibliography" target="#lagoze_archives_2015">Lagoze
                        et al. 2015</ref>, passim.</note> endpoint and then processed into two
                  tables. The first contains all attributes describing one seal face in each row and
                  for the second table all attributes of seal faces belonging to the same seal were
                  merged into a single row. An additional table, containing information about
                  depicted creatures was generated via web scraping. Finally, a fourth table with
                  geospatial information was compiled from the second table with one seal per row
                  and manually enriched with the coordinates of the seal’s place of discovery. These
                  tables constitute the data basis for all applications in this project, including
                  the graph database described here.</p>
            </div>
            <div type="chapter">
               <head>3. Uncertainties in the Dataset</head>
               <p>Uncertainties in this dataset originate from three different causes, which are linked
                  to the seal’s provenience, condition, and ultimately to a human component. These
                  will be briefly examined in the next three subsections. The <ref type="intern"
                     target="#hd7">last subsection</ref> describes how values in the dataset are
                  marked as uncertain and which attributes actually contain uncertain values.</p>
               <div type="subchapter">
                  <head>3.1 Uncertainties from Provenience</head>
                  <p>Provenience of a seal, i.e. the archaeological context in which it was found,
                     is important to be able to examine the meaning of a seal considering its place
                     of deposit and other objects associated with it. A secure find context also
                     provides certainty for geographic localisation and dating of a seal. For a few
                     seals, the lack of a secure context might even lead to question their
                     genuineness. If a seal was acquired under dubious circumstances, which in most
                     of the cases means that it was not found during an archaeological excavation,
                     information about its geographic origin has to be taken with a pinch of salt
                     and context dating is not possible at all. Geographic information is available
                     for a total of 583 seals, although for only 289 pieces a secure context is
                     known.</p>
               </div>
               <div type="subchapter">
                  <head>3.2 Uncertainties from a Seal’s Condition</head>
                  <p>The overall condition of a seal plays a crucial role in the identification of
                     its engravings. Determining the used ornaments, hieroglyphic signs or a
                     creature’s species is much easier when studying a well preserved and complete
                     seal as opposed to a battered, broken or even fragmentary one. The seals in
                     different preservation conditions in <ref
                        type="graphic" target="#aegean_2018_002">figure 2</ref> shall serve as a visual
                     example.</p>
                  <figure>
                     <graphic xml:id="aegean_2018_002" url=".../medien/aegean_2018_002.jpeg">
                        <desc><ref type="graphic" target="#abb2">Fig. 2</ref>: A fragment of CMS IS
                           038a, the slightly damaged CMS I 287b, and the well preserved CMS XII 135b. The first seal
                           side depicts either a bovine or a goat, while the others show a goat. [Graphic by courtesy of the CMS Heidelberg.]<ref
                              type="graphic" target="#aegean_2018_002"/></desc>
                     </graphic>
                  </figure>
               </div>
               <div type="subchapter">
                  <head>3.3 Uncertainties by Human Action</head>
                  <p>An unpredictable cause for uncertain descriptions of a seal is human action,
                     which is manifold. To begin with, the seals are man-made objects and thus
                     already in their making the seal engraver may have made mistakes when cutting
                     the stone or may even have obfuscated the motifs on purpose, thus resulting in
                     ambiguous compositions. Additionally, the carved material, the tools used, the
                     style, and the craftsmanship of the engraver led to very different depictions
                     of the same motif. This can be seen by comparing the seal sides depicted in
                     <ref
                        type="graphic" target="#aegean_2018_002">figures 2</ref> and <ref type="graphic"
                        target="#aegean_2018_003">3</ref>.</p>
                  <p>All this might then contribute to an uncertain denomination of motifs depicted
                     on a seal by modern scholars while cataloguing the seals. Depending on a
                     scholar’s background additional uncertainties may arise due to insufficient
                     knowledge in other fields of expertise, as e.g. the wrong attribution of a
                     specific bird species. In some cases, further vagueness is introduced when a
                     seal is studied by more than one scholar, who might disagree in their
                     interpretations.</p>
                  <p>When the information is then transferred into the database Arachne further
                     uncertainties can be introduced by input errors or by leaving some fields
                     empty. The latter is ambiguous, because it could mean that either the field was
                     forgotten or that there actually is no information available for it.</p>
               </div>
               <div type="subchapter">
                  <head>3.4 Uncertain Values in the Data Set</head>
                  <p>Three different markers are used in Arachne to denote uncertain, but probable
                     values in the database: a question mark, giving the different options, and a
                     combination of the first two variants. When options are indicated, only two are
                     given. In <ref
                        type="graphic" target="#aegean_2018_003">figure 3</ref> for example, the values for the attribute ›Lebewesen‹
                     (creature) of CMS X 322c, CMS IS 038a, and CMS III 504a are ›Ziege?‹ (goat?),
                     ›Rind oder Ziege‹ (bovine or goat), and ›Rind oder Ziege?‹ (bovine or goat?).
                     In the dataset no value has more than two different options.</p>
                  <figure>
                     <graphic xml:id="aegean_2018_003" url=".../medien/aegean_2018_003.jpeg">
                        <desc><ref type="graphic" target="#abb3">Fig. 3</ref>: Three seal sides with
                           uncertainly identified creatures on them. The animal on CMS X 322c is designated as ›Ziege?‹ (goat?), the one on CMS IS 038a as ›Rind oder Ziege‹
                           (bovine or goat), and the creature on CMS III 504a ›Rind oder Ziege?‹ (bovine or goat?). [Graphic by courtesy of the CMS Heidelberg.]<ref type="graphic"
                              target="#aegean_2018_003"/></desc>
                     </graphic>
                  </figure>
                  <p>For supposedly present values which could not be identified, the terms
                     ›undefinierbar‹ or ›undef.‹ (undefinable, indeterminate) were used. The term
                     ›Intagliolücke‹ (gap in the intaglio) is also used for similar cases.</p>
                  <p>Not all of the sources for uncertainties discussed above are represented in the
                     data set. Some uncertainties caused by human action are not denoted as such,
                     because they are implicit, such as those caused by errors or lack of knowledge.
                     An additional attribute to state, whether a seal came from a secure context or
                     not was added to the data set by consulting the introductory sections of the
                     printed CMS volumes.<note type="footnote"> Corpus der minoischen und
                        mykenischen Siegel. Ed by. <ref type="bibliography" target="#adw_corpus_1966">Akademie der Wissenschaften und der Literatur Mainz 1966–</ref>, passim.</note>
                  </p>
                  <p>Markers for uncertainty can be found in values for almost all attributes in the
                     data set. From the eleven thematic groups mentioned in <ref type="intern"
                        target="#hd2">section 2</ref> only ›identification‹ does not contain any
                     vague values.</p>
                  <p>Besides the additionally introduced attribute for secure contexts, some attributes about
                     the provenience of a seal such as places of origin are marked with a question mark
                     when deemed doubtful. Uncertainties in the description of a seal’s shape are
                     present if the seal is in a bad condition or only a fragment is preserved. This
                     is why seemingly distinct properties such as the shape of the whole seal or of
                     individual seal faces, the type of perforation or in one case – CMS V 256 –
                     even the number of seal faces cannot always be indicated without doubt.</p>
                  <p>Attributes in the thematic group ›material &amp; technique‹ include information
                     about a seal’s material, the technique employed to make the seal, and any other
                     details worth cataloguing. Uncertain values are present for all of those
                     attributes in the dataset.</p>
                  <p>As can be expected, attributes in the group ›measurements &amp; preservation‹
                     containing dimensions do not contain any uncertain values. In contrast, the
                     preservation condition of a seal does so, especially if it is not possible to
                     securely indicate that a seal shows tool marks or signs of burning.</p>
                  <p>All attributes describing the engravings a seal is bearing have values with
                     uncertainties. They are part of the thematic groups ›general information about
                     decoration‹, ›stylistic classification‹, ›ornaments‹, ›characters‹, ›figurative
                     motifs excepting creatures‹, and ›creatures‹. In addition to the example for
                     uncertain identification of creatures given in <ref type="graphic"
                        target="#aegean_2018_003">figure 3</ref> above, two more cases shall be provided.</p>
                  <p>The attribute ›Standardornament‹ (standard ornament), part of the thematic
                     group ›ornaments‹, can contain multiple values, which in turn can all
                     individually be marked as uncertain. In  <ref
                        type="graphic" target="#aegean_2018_004">figure 4</ref>, CMS II,1 136a is shown.
                     ›Standardornament‹ contains the value ›Hakenspirale?(2), Punkt, undefinierbar‹
                     (spiral hook?(2), dot, indeterminate). It indicates that possibly two spiral
                     hooks, one dot and and a further, indeterminate element, are depicted on the
                     seal.</p>
                  <figure>
                     <graphic xml:id="aegean_2018_004" url=".../medien/aegean_2018_004.jpeg"  width="350px">
                        <desc><ref type="graphic" target="#abb4">Fig. 4</ref>: CMS II,1 136a. The
                           engravings on the seal’s face are described with › Hakenspirale?(2),
                           Punkt, undefinierbar‹ (spiral hook?(2), dot, indeterminate). [Graphic by courtesy of the CMS Heidelberg.]<ref
                              type="graphic" target="#aegean_2018_004"/></desc>
                     </graphic>
                  </figure>
                  <p>The attribute ›Schrift‹ (script), which belongs to the thematic group
                     ›characters‹, may also contain multiple values in order to list all characters
                     present on a seal’s face. The script used on Aegean seals is in most cases
                     Cretan hieroglyphic. The hieroglyphs are specified by using the acronym ›CHIC‹
                     and a number which relates to the Corpus Hieroglyphicarum Inscriptionum
                     Cretae.<note type="footnote"> <ref type="bibliography" target="#olivier_corpus_1996">Olivier et al. 1996</ref>, passim.</note> For
                     example, the four-sided seal CMS II,2 316 in  <ref
                        type="graphic" target="#aegean_2018_005">figure 5</ref> has script on all sides,
                     of which one character, CHIC 056, on face c is marked as uncertain because of
                     the seal face’s damage.</p>
                  <figure>
                     <graphic xml:id="aegean_2018_005" url=".../medien/aegean_2018_005.jpeg">
                        <desc><ref type="graphic" target="#abb5">Fig. 5</ref>: The four sides of CMS
                           II,2 316 with Cretan hieroglyphs: CHIC 044, 049 | CHIC X, 029, 077, 049 |
                           CHIC X, 057, 034, 056? | CHIC X, 044, 005. [Graphic by courtesy of the CMS Heidelberg.]<ref type="graphic"
                              target="#aegean_2018_005"/></desc>
                     </graphic>
                  </figure>
               </div>
            </div>
            <div type="chapter">
               <head>4. The Graph Database</head>
               <p>For the task at hand, which is concerned with the interrelations of motifs, not
                  all attributes available are relevant. Thus the data model which is described in
                  <ref type="intern" target="#hd09">subsection 4.1</ref> is simpler than the one used in Arachne. The graph database
                  management system used was <ref target="https://neo4j.com/">Neo4j</ref>, which
                  offers a freely available Community Edition. The import of data into Neo4j is
                  outlined in <ref type="intern" target="#hd10">subsection 4.2</ref> and modelling
                  of uncertainties in the graph database is detailed in the <ref type="intern"
                     target="#hd11">last subsection</ref>.</p>
               <div type="subchapter">
                  <head>4.1 Data Model</head>
                  <p>A major difference between the data model described here and the one used
                     by Arachne is that for the graph database seals and their seal faces were
                     modeled as distinct nodes. This allows to separate attributes describing
                     features of the whole seal like material, shape or geographic information, from
                     those only describing a single face, such as depicted motifs. This distinction
                     was not made in Arachne.</p>
                  <p>Besides the two node types for a seal and for a seal side, 13 further node
                     types were included and are either related to the whole seal or to a side:
                     ›Siegeltyp‹ (seal shape), ›Materialgruppe‹ (material group), ›Material‹
                     (material), ›Ort‹ (place)‹ ›Stilgruppe‹ (style group), ›Epoche‹ (period),
                     ›Makroornament‹ (macro ornament), ›Standardornament‹ (standard ornament),
                     ›Symbole‹ (symbols), ›Objekte‹ (objects), ›Pflanzen‹ (plants), ›Schrift‹
                     (script), and ›Lebewesen‹ (creatures).</p>
                  <p>Nodes can be connected with each other by edges which in Neo4j are called
                     relationships. For this dataset, a total of 17 different relationship types
                     were created. The relationship type defines how and to which other node types a
                     node can be connected. For example, the relationship type ›hat_Siegelseite‹
                     (has seal side) connects the node type ›Siegel‹ (seal) with the node type
                     ›Siegelseite‹ (seal side). Four different relationship types can be used to
                     connect the node type ›Siegelseite‹ (seal side) with ›Epoche‹ (period), in
                     order to state whether the period represents the beginning of a context date
                     (›hat_EpocheAnfKontext‹), its end (›hat_EpocheEndKontext‹), the beginning of a
                     style date (›hat_EpocheAnfStil‹) or its end (›hat_EpocheEndStil‹).</p>
                  <p>The node types and their relationships are depicted in <ref
                     type="graphic" target="#aegean_2018_006">figure 6</ref>. The node type
                     ›Siegel‹ (seal) is further described with additional properties, including the
                     CMS number, the calculated volume, and the numbers of empty seal faces and
                     depicted creatures.</p>
                  <figure>
                     <graphic xml:id="aegean_2018_006" url=".../medien/aegean_2018_006.png"  width="350px">
                        <desc><ref type="graphic" target="#abb6">Fig. 6</ref>: The data model for
                           Aegean seals used in Neo4j. [Graphic by Martina Trognitz, Vienna.]<ref type="graphic" target="#aegean_2018_006"
                           /></desc>
                     </graphic>
                  </figure>
               </div>
               <div type="subchapter">
                  <head>4.2 Import into Neo4j</head>
                  <p>As described in <ref type="intern" target="#hd2">section 2</ref>, the dataset
                     was imported into two tables with further information provided in two
                     additional tables. All those tables were imported into Neo4j with Cypher, a
                     query language for graph databases. The Cypher script created for the import
                     does not only import the dataset, but also cleans and filters it. This means
                     that attributes with empty values are not imported into the graph, as well as
                     attributes containing ›None‹ or ›nein‹.</p>
                  <p>In Arachne multiple equal values for an attribute are not listed separately,
                     but the number of repetitions is set in parentheses, as already seen for CMS
                     II,1 136a exemplified in <ref type="intern" target="#hd7">section 3.4</ref> and
                     <ref
                        type="graphic" target="#aegean_2018_004">figure 4</ref>, where ›Standardornament‹ contains the value ›Hakenspirale?(2), Punkt,
                     undefinierbar‹ (spiral hook?(2), dot, indeterminate). If the number is greater
                     than six a greater-than sign is used, thus resulting in something like e.g.
                     ›Hakenspirale(&gt;6)‹. This was accounted for during import by creating an edge
                     for each repetition. Unfortunately, it was not possible to determine the exact
                     number for ›&gt;6‹, which is why a maximum of six edges between a seal side and
                     e.g. a specific standard ornament is created.</p>
                  <p>In <ref
                     type="graphic" target="#aegean_2018_007">figure 7</ref>, a part of the Cypher script for the import of ›Standardornament‹
                     demonstrates how data is converted into the graph data model. The resulting
                     graph for the seal CMS II,1 085 from <ref type="graphic" target="#aegean_2018_001">Figure
                        1</ref> is shown in <ref type="graphic" target="#aegean_2018_008">figure 8</ref>.
                     Overall a total of 4637 nodes was created with 18306 relationships
                     interconnecting them.</p>
                  <figure>
                     <graphic xml:id="aegean_2018_007" url=".../medien/aegean_2018_007.png"  width="350px">
                        <desc><ref type="graphic" target="#abb7">Fig. 7</ref>: A section of a Cypher
                           script, which imports standard ornaments depicted on seal sides and sets
                           a weight on the edges depending on the certainty of their
                           identification. [Graphic by Martina Trognitz, Vienna.]<ref type="graphic" target="#aegean_2018_007"/></desc>
                     </graphic>
                  </figure>
                  <figure>
                     <graphic xml:id="aegean_2018_008" url=".../medien/aegean_2018_008.png"  width="350px">
                        <desc><ref type="graphic" target="#abb8">Fig. 8</ref>: CMS II,1 085 as a
                           graph in Neo4j. [Graphic by Martina Trognitz, Vienna.]<ref type="graphic" target="#aegean_2018_008"/></desc>
                     </graphic>
                  </figure>
               </div>
               <div type="subchapter">
                  <head>4.3 Modelling Uncertainties</head>
                  <p>There are different ways to represent uncertainties in graph databases that
                     depend on the application and its planned queries. For instance, different
                     nodes can be created for certain and uncertain values, like a node for ›Ziege‹
                     (goat) and another one for ›Ziege?‹ (goat?). In the worst case this would lead
                     to the double amount of nodes. Adding a property to indicate uncertainty to a
                     node would also lead to an increase in the number of nodes. Another way is to
                     use the edges, either by providing different kinds of relationships (e.g. ›has‹
                     and ›may-have‹) or by including weights. The former leads to an increase in the
                     number of relationships in the graph. The latter approach keeps the number of
                     nodes and edges at a minimum and also allows to include a measure for the
                     uncertainty such as percent. In the data model presented here uncertainties are
                     modelled by applying edge weights ranging from 0 (0 % sure) to 1 (100 % sure).</p>
                  <p>Not all of the uncertainties mentioned in <ref type="intern" target="#hd3"
                        >section 3</ref> can be represented in the graph database, this is only
                     possible for those which are marked as such in the data source. The
                     weights are also set with the Cypher script, based on the value provided in Arachne. If a value
                     comes without any uncertainty marker (e.g. ›Ziege‹ (goat)), the weight of the
                     edge is set to 1. If the value is marked as uncertain with a question mark
                     (e.g. ›Ziege?‹ (goat)), the weight of the edge is 1 &gt; x &lt; 0.5 which in
                     this case was set to 0.8. For those values where two options are given, two
                     edges are created. The weight of those edges depends on the presence of a
                     question mark. A value like ›Rind oder Ziege‹ (bovine or goat) leads to two
                     edges with a weight of 0.5, i.e. a 50 % chance that one of the two options is
                     actually depicted. The value ›Rind oder Ziege?‹ results in two edges with the
                     weight of 0.5 &gt; y &lt; 0, which in this case was set to 0.3. Furthermore, a
                     count was introduced in order to be able to distinguish between two uncertain
                     edge pairs belonging to one seal side.</p>
                  <p>In <ref
                     type="graphic" target="#aegean_2018_009">figure 9</ref>, seal CMS IS 038 is shown as a graph in Neo4j. Three edges,
                     connecting the seal sides with creatures are uncertain with weights of 0.5 and
                     0.8.</p>
                  <figure>
                     <graphic xml:id="aegean_2018_009" url=".../medien/aegean_2018_009.png"  width="350px">
                        <desc><ref type="graphic" target="#abb9">Fig. 9</ref>: CMS IS 038 with all
                           its attributes in Neo4j. The edges connecting side A with creatures are
                           weighted with 0.5, due to the value being ›Rind oder Ziege‹ (bovine or
                           goat). Side B is connected with ›Greif‹ (griffin) with a weight of 0.8,
                           because a question mark was present in the value. [Graphic by Martina Trognitz, Vienna.]<ref type="graphic"
                              target="#aegean_2018_009"/></desc>
                     </graphic>
                  </figure>
               </div>
            </div>
            <div type="chapter">
               <head>5. Use Case</head>
               <p>After data import, the graph database can be queried with Cypher. In this way the
                  amount of all seals bearing creatures on them can be queried (724 seals in total).
                  Also the amount of seals with uncertain edges to the node type ›Lebewesen‹
                  (creatures) can easily be identified and counted with a single query (329 seals).
                  When viewing the database in the browser provided by Neo4j, query results can also
                  be visualised and explored, which is something most relational database management
                  systems do not provide out of the box.</p>
               <p>As mentioned in the <ref type="intern" target="#hd1">first section</ref>, the
                  graph database was set up to facilitate doing network analysis on the dataset.
                  This shall be demonstrated on the set of creatures depicted on a seal, where a
                  specific research objective is to find out which creatures are combined with each
                  other on seals.</p>
               <p>For this task a set of nodes containing all creatures and the connections between
                  them is needed. Since the connections are not contained in the database, they have
                  to be created with the query shown in <ref
                     type="graphic" target="#aegean_2018_010">figure 10</ref>.</p>
               <figure>
                  <graphic xml:id="aegean_2018_010" url=".../medien/aegean_2018_010.png">
                     <desc><ref type="graphic" target="#abb10">Fig. 10</ref>: The Cypher query
                        establishes links between two different creatures depicted on the same seal
                        and increases the link count (the weight of the edge) for every occurrence
                        of this pair on other seals. [Graphic by Martina Trognitz, Vienna.]</desc>
                  </graphic>
               </figure>
               <p>This can then be exported in order to be processed with a network analysis
                  software, such as <ref target="https://visone.info/index.html">visone</ref>. The
                  dataset can be provided in graphML format, which can be exported from Neo4j with a
                  single command by using the <ref
                     target="https://github.com/jexp/neo4j-shell-tools">neo4j-shell-tools</ref>.
                  Here another major advantage of using a graph database becomes clear, because the
                  list of nodes and edges does not have to be tediously produced from the four
                  tables introduced in <ref type="intern" target="#hd2">section 2</ref>.</p>
               <p>Two different datasets were exported as graphML, imported into visone, analysed
                  and visualised. In <ref
                     type="graphic" target="#aegean_2018_011">figure 11</ref>, the resulting graph of the dataset containing all
                  co-occurrences of different creatures, including certain and uncertain ones, is
                  displayed. When only considering creatures with a certainty equal to 0.8 or above,
                  the graph results in the image in <ref type="graphic"
                     target="#aegean_2018_012">figure 12</ref>.</p>
               <figure>
                  <graphic xml:id="aegean_2018_011" url=".../medien/aegean_2018_011.png"  width="350px">
                     <desc><ref type="graphic" target="#abb11">Fig. 11</ref>: A network
                        visualisation showing which creatures are often depicted together on a seal.
                        The underlying data takes into account all existent depictions, regardless
                        if they are certain or uncertain. [Graphic by Martina Trognitz, Vienna.]<ref type="graphic"
                           target="#aegean_2018_011"/></desc>
                  </graphic>
               </figure>
               <figure>
                  <graphic xml:id="aegean_2018_012" url=".../medien/aegean_2018_012.png"  width="350px">
                     <desc><ref type="graphic" target="#abb12">Fig. 12</ref>: A network
                        visualisation showing which creatures are often depicted together on a seal.
                        The underlying data only takes into account existent depictions with a
                        certainty equal or greater than 0.8. [Graphic by Martina Trognitz, Vienna.]<ref type="graphic"
                           target="#aegean_2018_012"/></desc>
                  </graphic>
               </figure>
            </div>
            <div type="chapter">
               <head>6. Conclusion</head>
               <p>The implementation of a graph database for Aegean seals with more than one side
                  for sealing requires special attention when uncertainties are present in the
                  dataset. It is not possible to include uncertainties implicit to the dataset into
                  the data model, but for those made explicit, various ways exist. In the case
                  displayed here, modelling uncertainties as weighted edges proved to be most
                  suitable.</p>
               <p>Working with a graph database in practice proves to be intuitive and fast,
                  especially because data is not only displayed in tabular form, but also as a graph
                  with expandable nodes. Thus the user is allowed to further explore queried
                  results.</p>
               <p>Exporting data for further examination with network analysis software feels almost
                  natural and by including or excluding uncertain values this process can be further
                  tuned. The use case presented does only scratch the surface of the possibilities,
                  as e.g. the result displayed in <ref type="graphic" target="#aegean_2018_011">figure
                     11</ref> does include both possible values for uncertain values with options.
                  In further experiments the data could be analysed by only including one option and
                  then be compared to an analysis including the other option.</p>
               <p>By expanding the graph database model with further node types in order to e.g.
                  introduce broader categories for the creatures, such as ›wild animal‹ or ›domestic
                  animal‹, the underlying rules inherent to the use of motifs on the seals might be
                  uncovered. </p>
            </div>
            <div type="bibliography">
               <head>Bibliographic References</head>
               <listBibl>
                  <bibl xml:id="adw_corpus_1966">Corpus der minoischen und mykenischen Siegel. Ed. by Akademie der Wissenschaften und der Literatur Mainz. 
                     13 Vol. Berlin et al. 1966–. <ptr type="gbv" cRef="028933028"/></bibl>
                  <bibl xml:id="kryszkowska_seals_2005">Olga Kryszkowska: Aegean Seals: An Introduction. London 2005. <ptr type="gbv" cRef="478056354"/></bibl>
                 <bibl xml:id="lagoze_archives_2015">Carl Lagoze / Herbert Van de Sompel / Michael Nelson / Simeon Werner: The
                     Open Archives Initiative Protocol for Metadata Harvesting. Document Version 08.01.2015.
                        [<ref target="http://www.openarchives.org/OAI/openarchivesprotocol.html"
                        >online</ref>] </bibl>
                 <bibl xml:id="olivier_corpus_1996">Jean-Pierre Olivier / Louis Godart / Jean-Claude Poursat: Corpus
                    hieroglyphicarum inscriptionum cretae. Paris 1996. <ptr type="gbv" cRef="229765955"/></bibl>
                 <bibl xml:id="trognitz_seals_2017">Martina Trognitz: Approaching Multi-Sided Aegean Seals with Machine Learning
                        Techniques. In: Archaeological Approaches to Breaking
                     Boundaries: Interaction, Integration &amp; Division. Proceedings of the
                     Graduate Archaeology at Oxford Conferences 2015–2016. Ed. by Rebecca O’Sullivan /
                     Christina Marini / Julia Binnberg. Oxford 2017, pp. 183–198. <ptr type="gbv" cRef="1633940381"/></bibl>
               </listBibl>
            </div>

            <div type="abbildungsnachweis">
               <head>List of Figures with Captions</head>
               <desc type="graphic" xml:id="abb1">The three-sided seal CMS II,1 085. [Graphic by courtesy of the CMS Heidelberg.]<ref
                     type="graphic" target="#aegean_2018_001"/></desc>

               <desc type="graphic" xml:id="abb2">A fragment of CMS IS 038a, the slightly damaged
                  CMS I 287b, and the well preserved CMS XII 135b. The first seal side depicts either a bovine or a
                  goat, while the others show a goat. [Graphic by courtesy of the CMS Heidelberg.]<ref type="graphic" target="#aegean_2018_002"
                  /></desc>

               <desc type="graphic" xml:id="abb3">Three seal sides with uncertainly identified
                  creatures on them. The animal on CMS X 322c is designated as ›Ziege?‹ (goat?), the one on CMS IS 038a as ›Rind oder Ziege‹
                  (bovine or goat), and the creature on CMS III 504a ›Rind oder Ziege?‹ (bovine or goat?). [Graphic by courtesy of the CMS Heidelberg.]<ref
                     type="graphic" target="#aegean_2018_003"/></desc>

               <desc type="graphic" xml:id="abb4">CMS II,1 136a. The engravings on the seal’s face
                  are described with › Hakenspirale?(2), Punkt, undefinierbar‹ (spiral hook?(2),
                  dot, indeterminate). [Graphic by courtesy of the CMS Heidelberg.]<ref type="graphic" target="#aegean_2018_004"/></desc>

               <desc type="graphic" xml:id="abb5">The four sides of CMS II,2 316 with Cretan
                  hieroglyphs: CHIC 044, 049 | CHIC X, 029, 077, 049 | CHIC X, 057, 034, 056? | CHIC
                  X, 044, 005. [Graphic by courtesy of the CMS Heidelberg.]<ref type="graphic" target="#aegean_2018_005"/></desc>

               <desc type="graphic" xml:id="abb6">The data model for Aegean seals used in
                  Neo4j. [Graphic by Martina Trognitz, Vienna.]<ref type="graphic" target="#aegean_2018_006"/></desc>

               <desc type="graphic" xml:id="abb7">A section of a Cypher script, which imports
                  standard ornaments depicted on seal sides and sets a weight on the edges depending
                  on the certainty of their identification. [Graphic by Martina Trognitz, Vienna.]<ref type="graphic"
                     target="#aegean_2018_007"/></desc>

               <desc type="graphic" xml:id="abb8">CMS II,1 085 as a graph in Neo4j. [Graphic by Martina Trognitz, Vienna.]<ref
                     type="graphic" target="#aegean_2018_008"/></desc>

               <desc type="graphic" xml:id="abb9">CMS IS 038 with all its attributes in Neo4j. The
                  edges connecting side A with creatures are weighted with 0.5, due to the value
                  being ›Rind oder Ziege‹ (bovine or goat). Side B is connected with ›Greif‹
                  (griffin) with a weight of 0.8, because a question mark was present in the
                  value. [Graphic by Martina Trognitz, Vienna.]<ref type="graphic" target="#aegean_2018_009"/></desc>

               <desc type="graphic" xml:id="abb10">The Cypher query establishes links between two
                  different creatures depicted on the same seal and increases the link count (the
                  weight of the edge) for every occurrence of this pair on other seals. [Graphic by Martina Trognitz, Vienna.]<ref
                     type="graphic" target="#aegean_2018_010"/></desc>

               <desc type="graphic" xml:id="abb11">A network visualisation showing which creatures
                  are often depicted together on a seal. The underlying data takes into account all
                  existent depictions, regardless if they are certain or uncertain. [Graphic by Martina Trognitz, Vienna.]<ref
                     type="graphic" target="#aegean_2018_011"/></desc>

               <desc type="graphic" xml:id="abb12">A network visualisation showing which creatures
                  are often depicted together on a seal. The underlying data only takes into account
                  existent depictions with a certainty equal or greater than 0.8. [Graphic by Martina Trognitz, Vienna.]<ref type="graphic"
                     target="#aegean_2018_012"/></desc>
            </div>
         </div>
      </body>
   </text>
</TEI>
