From fc4842d5f33fe4cff080e5ec1205a4555ad2db13 Mon Sep 17 00:00:00 2001
From: usikora <sikora@sub.uni-goettingen.de>
Date: Mon, 21 Aug 2023 15:36:12 +0200
Subject: [PATCH] added clemens requests (2023-08-08)

---
 css/eupt.custom.css                          |  26 ++
 edxml.framework                              | 107 ++++-
 samples/KTU_1.3_II.custom.v2.xml             |  57 ++-
 samples/KTU_1.3_II.custom.xml                |  44 +-
 samples/analytic-terms.skos.xml              |  17 +
 samples/lemmata/20230608_EUPT_sample.xml     |  38 ++
 samples/xinclude/KTU_1.14.I.include.test.xml |  53 +++
 schema/edxml.lemmacat.sch                    |  79 ++++
 schema/edxml.rng                             | 184 +++++++-
 schema/model.graphml                         | 429 +++++++++++++++++++
 10 files changed, 970 insertions(+), 64 deletions(-)
 create mode 100644 samples/analytic-terms.skos.xml
 create mode 100644 samples/lemmata/20230608_EUPT_sample.xml
 create mode 100644 samples/xinclude/KTU_1.14.I.include.test.xml
 create mode 100644 schema/edxml.lemmacat.sch
 create mode 100644 schema/model.graphml

diff --git a/css/eupt.custom.css b/css/eupt.custom.css
index 7762920..a2379c1 100644
--- a/css/eupt.custom.css
+++ b/css/eupt.custom.css
@@ -447,6 +447,12 @@ header > sourceDesc > msDesc > additional > listBibl > * {
     display: block;
 }
 
+header > sourceDesc > msDesc > additional > surrogates > head {
+    margin-top: 10px;
+    margin-bottom: 5px;
+    font-weight: bold;
+}
+
 header > sourceDesc > msDesc > additional > surrogates:before(100) {
     content: 
         oxy_button(
@@ -459,6 +465,12 @@ header > sourceDesc > msDesc > additional > surrogates:before(100) {
             ));;
 }
 
+header > sourceDesc > msDesc > additional > surrogates > graphic[url] {
+    -oxy-link:attr(url);
+    color: blue;
+    text-decoration: underline;
+}
+
 header > sourceDesc > msDesc > additional > listBibl:before(100) {
     content: 
         oxy_button(
@@ -471,6 +483,13 @@ header > sourceDesc > msDesc > additional > listBibl:before(100) {
             ));;
 }
 
+header > sourceDesc > msDesc > additional > listBibl > bibl[zotero] {
+    -oxy-link: 
+        oxy_xpath("for $ref in @zotero return (root()//*:zotero[@prefix = tokenize($ref, ':')[1]]/@xml:base||tokenize($ref, ':')[last()])");
+    color: blue;
+    text-decoration: underline;
+}
+
 /* #################{ Einleitung }##################*/
 front > div,
 front > div > head,
@@ -1172,4 +1191,11 @@ lb:focus {
 
 g[cert="uncertain"]::after(500) {
     content: "?";
+}
+
+/** LINKS **/
+ref[target] {
+    -oxy-link:attr(target);
+    color: blue;
+    text-decoration: underline;
 }
\ No newline at end of file
diff --git a/edxml.framework b/edxml.framework
index c423306..9266638 100644
--- a/edxml.framework
+++ b/edxml.framework
@@ -1766,10 +1766,113 @@ insert.note.phil</String>
 						<scenario-array/>
 					</field>
 					<field name="validationScenarios">
-						<validationScenario-array/>
+						<validationScenario-array>
+							<validationScenario>
+								<field name="pairs">
+									<list>
+										<validationUnit>
+											<field name="validationType">
+												<validationUnitType>
+													<field name="validationInputType">
+														<String>text/xml</String>
+													</field>
+												</validationUnitType>
+											</field>
+											<field name="url">
+												<String>${currentFileURL}</String>
+											</field>
+											<field name="validationEngine">
+												<validationEngine>
+													<field name="engineType">
+														<String>&lt;Default engine></String>
+													</field>
+													<field name="allowsAutomaticValidation">
+														<Boolean>true</Boolean>
+													</field>
+												</validationEngine>
+											</field>
+											<field name="allowAutomaticValidation">
+												<Boolean>true</Boolean>
+											</field>
+											<field name="extensions">
+												<null/>
+											</field>
+											<field name="validationSchema">
+												<validationUnitSchema>
+													<field name="dtdSchemaPublicID">
+														<null/>
+													</field>
+													<field name="schematronPhase">
+														<null/>
+													</field>
+													<field name="type">
+														<Integer>6</Integer>
+													</field>
+													<field name="uri">
+														<String>${framework}/schema/edxml.rng</String>
+													</field>
+												</validationUnitSchema>
+											</field>
+										</validationUnit>
+										<validationUnit>
+											<field name="validationType">
+												<validationUnitType>
+													<field name="validationInputType">
+														<String>text/xml</String>
+													</field>
+												</validationUnitType>
+											</field>
+											<field name="url">
+												<String>${currentFileURL}</String>
+											</field>
+											<field name="validationEngine">
+												<validationEngine>
+													<field name="engineType">
+														<String>&lt;Default engine></String>
+													</field>
+													<field name="allowsAutomaticValidation">
+														<Boolean>true</Boolean>
+													</field>
+												</validationEngine>
+											</field>
+											<field name="allowAutomaticValidation">
+												<Boolean>true</Boolean>
+											</field>
+											<field name="extensions">
+												<null/>
+											</field>
+											<field name="validationSchema">
+												<validationUnitSchema>
+													<field name="dtdSchemaPublicID">
+														<null/>
+													</field>
+													<field name="schematronPhase">
+														<null/>
+													</field>
+													<field name="type">
+														<Integer>7</Integer>
+													</field>
+													<field name="uri">
+														<String>${framework}/schema/edxml.lemmacat.sch</String>
+													</field>
+												</validationUnitSchema>
+											</field>
+										</validationUnit>
+									</list>
+								</field>
+								<field name="type">
+									<String>Validation_scenario</String>
+								</field>
+								<field name="name">
+									<String>edxml: RNG + zusätzliche Schematron (Dicts, Vocabs)</String>
+								</field>
+							</validationScenario>
+						</validationScenario-array>
 					</field>
 					<field name="defaultValidationScenarios">
-						<null/>
+						<list>
+							<String>edxml: RNG + zusätzliche Schematron (Dicts, Vocabs)</String>
+						</list>
 					</field>
 					<field name="defaultTransformationScenarios">
 						<null/>
diff --git a/samples/KTU_1.3_II.custom.v2.xml b/samples/KTU_1.3_II.custom.v2.xml
index d4061e2..ee8bec8 100644
--- a/samples/KTU_1.3_II.custom.v2.xml
+++ b/samples/KTU_1.3_II.custom.v2.xml
@@ -1,5 +1,4 @@
 <?xml version="1.0" encoding="UTF-8"?>
-
 <edxml xmlns="http://sub.uni-goettingen.de/edxml#" xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:lemmacat="20230524_catalogue_sample.xml">
    <header>
       <title>KTU 1.3 II</title>
@@ -7,8 +6,8 @@
          <classCode>epic</classCode>
          <keywords>
             <list>
-               <item sortKey="Götterkampf"></item>
-               <item sortKey="Inana"></item>
+               <item>Götterkampf</item>
+               <item>Inana</item>
             </list>
          </keywords>
       </textClass>
@@ -51,7 +50,7 @@ Kann man hier gleich schon weitere Unterabschnitte schaffen? Konkret: &quot;Grab
             </physDesc>
             <history>
                <origin>
-                  <p></p>
+                  <p>Das ist ein <ref target="https://www.test.de/">test</ref></p>
                </origin>
                <provenance>
                   <p></p>
@@ -59,13 +58,16 @@ Kann man hier gleich schon weitere Unterabschnitte schaffen? Konkret: &quot;Grab
             </history>
             <additional>
                <surrogates>
-                  <graphic url="">Beschreibung</graphic>
+                  <graphic url="http://google.de">Beschreibung</graphic>
+                  <head>Unterüberschrift</head>
+                  <graphic url=""></graphic>
+                  <graphic url=""/>
                </surrogates>
                <listBibl type="fotos">
-                  <bibl zotero="09his9">Steinberger 2022</bibl>
+                  <bibl zotero="eupt:09his9">Steinberger 2022</bibl>
                </listBibl>
                <listBibl type="copies">
-                  <bibl zotero="09his9">Steinberger 2022</bibl>
+                  <bibl zotero="eupt:09his9">Steinberger 2022</bibl>
                </listBibl>
                <listBibl type="transliterations">
                   <bibl></bibl>
@@ -79,6 +81,17 @@ Kann man hier gleich schon weitere Unterabschnitte schaffen? Konkret: &quot;Grab
             </additional>
          </msDesc>
       </sourceDesc>
+      <encodingDesc>
+         <tagsDecl>
+            <rendition xml:id="doubleLine" scheme=""></rendition>
+         </tagsDecl>
+      </encodingDesc>
+      <externalResources>
+         <dictionary prefix="lemmata" href="./lemmata/20230608_EUPT_sample.xml"/>
+         <dictionary prefix="lemmacat" href="https://gitlab.gwdg.de/usikora/twkm_lemmacat/-/raw/master/data/TWKM/20230612_catalogue_twkm.xml"/>
+         <vocabulary prefix="analytics" href="./analytic-terms.skos.xml"/>
+         <zotero prefix="eupt" xml:base="https://www.zotero.org/groups/4398407/eupt/items/"/>
+      </externalResources>
       <revisionDesc>
          <change when="2023-02-22">Angelegt und bereits 4 Informationsschichten eingearbeitet</change>
       </revisionDesc>
@@ -183,10 +196,10 @@ Kann man hier gleich schon weitere Unterabschnitte schaffen? Konkret: &quot;Grab
       <philology>
          <units>
             <unit xml:id="unit_1" n="Z. 5b-6a" corresp="#line_5b #line_6a">
-               <transcription type="vocalisation"><w ana="Konjunktion" lemma="lemmacat.xml#as" corresp="#span_etr_2kb_pwb" xml:id="test">wa</w>
+               <transcription type="vocalisation"><w ana="Konjunktion" lemma="lemmata:Å¡ns" corresp="#span_etr_2kb_pwb" xml:id="test">wa</w>
                   <w corresp="#cg_5_hln" xml:id="word_bbn_swp_wwb">hallina</w>
                   <w ana="NP" lemma="anatu" xml:id="word_lqv_wnw_wwb">ˁanatu</w>
-                  <w xml:id="word_wwf_wjw_wwb">tim<lb n="6"/>taḫaṣu</w>
+                  <w xml:id="word_wwf_wjw_wwb" lemma="lemmacat:aan">tim<lb n="6"/>taḫaṣu</w>
                   <phr ana="Adv."><w xml:id="zs1_kbb_qwb">bi</w>
                      <w xml:id="ptj_kbb_qwb">ˁamqi</w></phr></transcription>
                <translation xml:lang="de">Und, siehe, ˁAnatu kämpft
@@ -210,7 +223,7 @@ Kann man hier gleich schon weitere Unterabschnitte schaffen? Konkret: &quot;Grab
             </unit>
             <unit xml:id="unit_3" corresp="#line_7b">
                <?oxy_comment_start author="steinberger" timestamp="20230228T094058+0100" comment="Ist nicht ganz wichtig, aber: Kann man die Zeilenzahlen / line breaks auch in der Transliteration anzeigen (wie in der Vokalisation)? Und auch die halben eckigen Klammern / ganzen eckigen Klammern, die jetzt durch &lt;damage&gt; ausgewiesen werden?"?>
-               <transcription type="vocalisation"><?oxy_comment_end?><w ana="3.f.Sg.PKL.G" lemma="mḫṣ:G:kämpfen" xml:id="word_u3_timhasu">timḫaṣu</w>
+               <transcription type="vocalisation"><?oxy_comment_end?><w ana="3.f.Sg.PKL.G" lemma="lemmata:mḫṣ" xml:id="word_u3_timhasu">timḫaṣu</w>
                   <w ana="Akk.Sg.m.cstr." lemma="lim:m:Volk, Bevölkerung"><tei:damage degree="low">liˀ</tei:damage>ma</w>
                   <w ana="Gen.Sg.m.cstr." lemma="ḫp::Ufer">ḫuppi</w>
                   <w ana="Gen.Sg.m.abs." lemma="ym::Meer"><tei:damage degree="low">yammi</tei:damage></w></transcription>
@@ -360,7 +373,7 @@ Könnte man das Attribut &quot;ana: ###&quot; beim Kolon verbergen und, analog z
             <stanza>
                <units>
                   <verse n="Z. 5b-7a">
-                     <ana>Bikolon; Kompl. Versverb. / S-Ellipse; Ballast-Variante</ana>
+                     <ana><term key="analytics:bikolon">Bikolon</term>; <term key="analytics:ellipsis">Kompl. Versverb. / S-Ellipse</term>; <term key="analytics:ball-var">Ballast-Variante</term></ana>
                      <units>
                         <kolon xml:id="kolon_1" units="#unit_1" corresp="#line_5b #line_6a">
                            <ana>Kolontyp 4</ana>
@@ -390,8 +403,8 @@ Könnte man den Block dann &quot;Alternative Versgliederung&quot; nennen?
 Sind analog dazu auch unterschiedliche Möglichkeiten der Strophengliederung ausweisbar (i.e. innerhalb einer Strophengruppe)?"?>
                      <verse n="2"><?oxy_comment_end?>
                         <ana>Z. 9-11a: Trikolon</ana>
-                        <motive><?oxy_comment_start author="steinberger" timestamp="20230228T130650+0100" comment="Wenn wir alles auf Deutsch umstellen, sollte es &quot;Motivik&quot; oder &quot;Motive&quot; statt &quot;motive&quot; heißen"?>Kampf<?oxy_comment_end?>
-                           / Götterkampf</motive>
+                        <motif><?oxy_comment_start author="steinberger" timestamp="20230228T130650+0100" comment="Wenn wir alles auf Deutsch umstellen, sollte es &quot;Motivik&quot; oder &quot;Motive&quot; statt &quot;motive&quot; heißen"?>Kampf<?oxy_comment_end?>
+                           / Götterkampf</motif>
                         <units>
                            <kolon xml:id="kolon_5_alt" units="#unit_5" corresp="#line_9">
                               <ana/>
@@ -408,7 +421,7 @@ Sind analog dazu auch unterschiedliche Möglichkeiten der Strophengliederung aus
                      <group>
                         <verse n="3">
                            <ana>Z. 9-10: Einfache Versverb. / Typ A</ana>
-                           <motive>Kampf / Götterkampf</motive>
+                           <motif>Kampf / Götterkampf</motif>
                            <units>
                               <kolon xml:id="kolon_5" units="#unit_5" corresp="#line_9">
                                  <ana>Kolontyp 7</ana>
@@ -422,7 +435,7 @@ Sind analog dazu auch unterschiedliche Möglichkeiten der Strophengliederung aus
                         </verse>
                         <verse n="2">
                            <ana>Z. 10-11a: Kompl. Versverb. / PAdv.-Ellipse; Ballast-Variante</ana>
-                           <motive>Kampf / Götterkampf</motive>
+                           <motif>Kampf / Götterkampf</motif>
                            <units>
                               <kolon xml:id="kolon_7" units="#unit_7" corresp="#line_10b #line_11a">
                                  <ana>Kolontyp 8</ana>
@@ -435,7 +448,7 @@ Sind analog dazu auch unterschiedliche Möglichkeiten der Strophengliederung aus
                   </choice>
                   <verse n="3">
                      <ana>Z. 11b-13a: Bikolon; Einfache Versverb. / Typ A</ana>
-                     <motive>Kampf / Götterkampf</motive>
+                     <motif>Kampf / Götterkampf</motif>
                      <units>
                         <kolon xml:id="kolon_8" units="#unit_8" corresp="#line_11b #line_12a">
                            <ana>Kolontyp 2</ana>
@@ -453,8 +466,8 @@ Sind analog dazu auch unterschiedliche Möglichkeiten der Strophengliederung aus
                <units>
                   <verse n="4">
                      <ana>Z. 13b-15a: Bikolon; Kompl. Versverb. / P-Ellipse</ana>
-                     <motive>Kampf / Götterkampf</motive>
-                     <motive>Blutbad</motive>
+                     <motif>Kampf / Götterkampf</motif>
+                     <motif>Blutbad</motif>
                      <units>
                         <kolon xml:id="kolon_10" units="#unit_10" corresp="#line_13b #line_14a">
                            <ana>Kolontyp 2</ana>
@@ -471,15 +484,15 @@ Sind analog dazu auch unterschiedliche Möglichkeiten der Strophengliederung aus
                <units>
                   <verse n="5" xml:id="vers_1">
                      <ana>Z. 15b-16: Bikolon; Kompl. Versverb. / P-Ellipse; Ballast-Variante</ana>
-                     <motive>Kampf / Götterkampf</motive>
+                     <motif>Kampf / Götterkampf</motif>
                      <units>
                         <kolon xml:id="kolon_12" units="#unit_12" corresp="#line_15b #line_16a">
                            <ana>Kolontyp 2</ana>
-                           <motive>Austreibung mit Stock</motive>
+                           <motif>Austreibung mit Stock</motif>
                         </kolon>
                         <kolon xml:id="kolon_13" units="#unit_13" corresp="#line_16b">
                            <ana>Kolontyp 8</ana>
-                           <motive>Pfeil und Bogen; Kampf mit Pfeil und Bogen</motive>
+                           <motif>Pfeil und Bogen; Kampf mit Pfeil und Bogen</motif>
                         </kolon>
                      </units>
                   </verse>
@@ -490,7 +503,7 @@ Sind analog dazu auch unterschiedliche Möglichkeiten der Strophengliederung aus
                <units>
                   <verse n="6">
                      <ana>Z. 17-18: Bikolon; Einfache Versverb. / Typ D; Partikel-Ellipse</ana>
-                     <motive>Heimweg</motive>
+                     <motif>Heimweg</motif>
                      <units>
                         <kolon xml:id="kolon_14" units="#unit_14" corresp="#line_17">
                            <ana>Kolontyp 4</ana>
diff --git a/samples/KTU_1.3_II.custom.xml b/samples/KTU_1.3_II.custom.xml
index c755a5a..8f4eea8 100644
--- a/samples/KTU_1.3_II.custom.xml
+++ b/samples/KTU_1.3_II.custom.xml
@@ -1,7 +1,4 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet type="text/css" href="../css/eupt.custom.css"?>
-<?xml-model href="../schema/edxml.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
-<?xml-model href="../schema/edxml.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
 <edxml xmlns="http://sub.uni-goettingen.de/edxml#" xmlns:tei="http://www.tei-c.org/ns/1.0">
    <header>
       <title>KTU 1.3 II</title>
@@ -56,82 +53,89 @@
       
       <philology>
          <units>
-            <unit xml:id="unit_1" corresp="#line_5b #line_6a">
+            <unit type="kolon" n="Z. 5b-6a" corresp="#line_5b #line_6a" xml:id="unit_0">
+               <transcription type="vocalisation">wa hallina anatu tim<lb n="6"/>taha bi amqi</transcription>
+               <translation xml:lang=""/>
+            </unit>
+            <unit type="kolon" n="Z. 5b-6a" corresp="#line_5b #line_6a" xml:id="unit_1">
                <transcription type="vocalisation"><w xml:id="test" ana="wa:KON" lemma="wa" corresp="#span_etr_2kb_pwb">wa</w>
                   <w>hallina</w>
                   <w ana="NP" lemma="anatu">ˁanatu</w> tim<lb n="6"/>taḫa/iṣu <w xml:id="zs1_kbb_qwb">bi</w>
                   <w xml:id="ptj_kbb_qwb">ˁamqi</w></transcription>
-               <translation xml:lang="de">Und, siehe, <seg xml:id="span_l5x_m12_pwb">ˁAnatu</seg> kämpft im Tal,</translation>
+               <translation xml:lang="de">Und, siehe, <w xml:id="word_wpp_n1g_qwb">ˁAnatu</w> kämpft im Tal,</translation>
+               <!--<analysis>
+                  <ana corresp="ptj_kbb_qwb" xmlns="">kjhjkhsdf</ana>
+               </analysis>-->
             </unit>
-            <unit xml:id="unit_2" corresp="#line_6b #line_7a">
+            <unit xml:id="unit_2" n="Z. 6b-7a" corresp="#line_6b #line_7a">
                <transcription type="vocalisation"><w>tiḫtaṣa/i<tei:damage degree="low">bu</tei:damage></w>
                   <w>bêna</w>
                   <lb n="7"/><w>qariyatêma</w></transcription>
                <translation xml:lang="de">schlägt eine Schlacht zwischen den beiden Städten.</translation>
             </unit>
-            <unit xml:id="unit_3" corresp="#line_7b">
+            <unit xml:id="unit_3"  n="Z. 7b" corresp="#line_7b">
                <transcription type="vocalisation"><w ana="3.f.Sg.PKL.G" lemma="mḫṣ:G:kämpfen" xml:id="word_u3_timhasu">timḫaṣu</w>
                   <w ana="Akk.Sg.m.cstr." lemma="lim::Volk, Bevölkerung"><tei:damage degree="low">liˀ</tei:damage>ma</w>
                   <w ana="Gen.Sg.m.cstr." lemma="ḫp::Ufer">ḫuppi</w>
                   <w ana="Gen.Sg.m.abs." lemma="ym::Meer"><tei:damage degree="low">yammi</tei:damage></w></transcription>
                <translation xml:lang="de">Sie kämpft gegen die Bevölkerung des Meeresufers,</translation>
             </unit>
-            <unit xml:id="unit_4" corresp="#line_8">
+            <unit xml:id="unit_4"  n="Z. 8" corresp="#line_8">
                <transcription type="vocalisation"><lb n="8"/><w xml:id="word_u4_tusammitu">tuá¹£ammitu</w>
                   <w>Ë€adama</w>
                   <w>ṣiˀati</w>
                   <w>ša⸢p⸣ši</w></transcription>
                <translation xml:lang="de">vernichtet die Menschen des Sonnenaufgangs.</translation>
             </unit>
-            <unit xml:id="unit_5" corresp="#line_9">
+            <unit xml:id="unit_5"  n="Z. 9" corresp="#line_9">
                <transcription type="vocalisation"><lb n="9"/><w ana="Adv.">taḥta⸢ha⸣</w>
                   <phr ana="Nominales Prädikat"><w ana="Präp.">ka</w>
                      <w ana="Gen. f. Pl. st.abs.">kaddūrāti</w></phr> raˀ⸢šu⸣</transcription>
                <translation xml:lang="de">Wie Bälle sind unter ihr die Köpfe,</translation>
             </unit>
-            <unit xml:id="unit_6" corresp="#line_10a">
+            <unit xml:id="unit_6" n="Z. 10a" corresp="#line_10a">
                <transcription type="vocalisation"><phr xml:id="n2q_3yd_qwb"><lb n="10"/><w>ˁalêha</w>
                      <w>ka</w>
                      <w>ˀirbiyīma</w>
                      <w>kappu</w></phr></transcription>
                <translation xml:lang="de">wie Heuschrecken sind über ihr die Hände,</translation>
             </unit>
-            <unit xml:id="unit_7" corresp="#line_10b #line_11a">
+            <unit xml:id="unit_7" n="Z. 10b-11a" corresp="#line_10b #line_11a">
                <transcription type="vocalisation"><w xml:id="word_yb3_ks2_qwb">ka</w> qa⸢ṣami⸣? <lb n="11"/><phr xml:id="u7_gkm"><w>ġaramā⸢nu⸣?</w>
                      <w>kappi</w>
                      <w>mihiri</w></phr></transcription>
                <translation xml:lang="de">wie Grashüpfer ein Haufen Kriegerhände.</translation>              
             </unit>
-            <unit xml:id="unit_8" corresp="#line_11b #line_12a">
-               <transcription type="vocalisation">ˁattikat <lb n="12"/>raˀšāti ⸢li⸣ bâmatiha</transcription>
+            <unit xml:id="unit_8" n="Z. 11b-12a" corresp="#line_11b #line_12a">
+               <transcription type="vocalisation">ˁattikat <lb n="12"/>raˀšāti ⸢li⸣ <w xml:id="jmn_g15_qwb">bâmatiha</w></transcription>
                <translation xml:lang="de">Sie band die Köpfe an ihrem Rumpf fest, </translation>
             </unit>
-            <unit xml:id="unit_9" corresp="#line_12b #line_13a">
+            <unit xml:id="unit_9" n="Z. 12b-13a" corresp="#line_12b #line_13a">
                <transcription type="vocalisation">šannisat <lb n="13"/>kappāti bi ḥibšiha?</transcription>
                <translation xml:lang="de">sie band die Hände an ihrem Gürtel fest.</translation>
             </unit>
-            <unit xml:id="unit_10" corresp="#line_13b #line_14a">
+            <unit xml:id="unit_10" n="Z. 13b-14a" corresp="#line_13b #line_14a">
                <transcription type="vocalisation">birkêma tuġā⸢li⸣[lu] <lb n="14"/>bi dami ḏāmiri?</transcription>
                <translation xml:lang="de">Die Knie tauch[t] sie ins Blut der Krieger,</translation>
             </unit>
-            <unit xml:id="unit_11" corresp="#line_14b #line_15a">
+            <unit xml:id="unit_11" n="Z. 14b-15a" corresp="#line_14b #line_15a">
                <transcription type="vocalisation">ḥilqêma bi mam⸢ˁi⸣ <lb n="15"/><w xml:id="u11_mihirima">mihirima</w></transcription>
                <translation xml:lang="de">die Taille ins Blut der Soldaten.</translation>
             </unit>
-            <unit xml:id="unit_12" corresp="#line_15b #line_16a">
+            <unit xml:id="unit_12" n="Z. 15b-16a" corresp="#line_15b #line_16a">
                <transcription type="vocalisation">maṭṭâma <w xml:id="u12_tugarrischu">tugarrišu</w>
                   <lb n="16"/>šibîma</transcription>
                <translation xml:lang="de">Mit einem Stock vertreibt sie die Gefangenen, </translation>
             </unit>
-            <unit xml:id="unit_13" corresp="#line_16b">
+            <unit xml:id="unit_13" n="Z. 16b" corresp="#line_16b">
                <transcription type="vocalisation">bi kisli qaštiha madnîta</transcription>
                <translation xml:lang="de">mit der Sehne ihres Bogens die Unterworfenen.</translation>
             </unit>
-            <unit xml:id="unit_14" corresp="#line_17">
+            <unit xml:id="unit_14" n="Z. 17" corresp="#line_17">
                <transcription type="vocalisation"><lb n="17"/>wa hallina ˁanatu li bêtiha tamġiyunna</transcription>
                <translation xml:lang="de">Und, siehe, ˁAnatu kommt zu ihrem Haus,</translation>
             </unit>
-            <unit xml:id="unit_15" corresp="#line_18">
+            <unit xml:id="unit_15" n="Z. 18" corresp="#line_18">
                <transcription type="vocalisation"><lb n="18"/>tVštaqîlu ˀilatu li hêkaliha</transcription>
                <translation xml:lang="de">die Göttin erreicht ihren Palast.</translation>
             </unit>
diff --git a/samples/analytic-terms.skos.xml b/samples/analytic-terms.skos.xml
new file mode 100644
index 0000000..dac9bd4
--- /dev/null
+++ b/samples/analytic-terms.skos.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:skos="http://www.w3.org/2004/02/skos/core#"
+    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
+    
+    <skos:Concept rdf:about="http://eupt.de/analytic-terms/bikolon">
+        <skos:prefLabel xml:lang="de">Bikolon</skos:prefLabel>
+        <rdfs:label xml:lang="en">Bicolon</rdfs:label>
+        <skos:definition>Ein Bikolon ist eine anlystische Einheit, um ... zu beschreiben.</skos:definition>
+    </skos:Concept>
+    
+    <skos:Concept rdf:about="http://eupt.de/analytic-terms/ball-var">
+        <skos:prefLabel xml:lang="de">Ballast-Variante</skos:prefLabel>
+        <skos:definition>Eine Ballast-Variante klingt komisch.</skos:definition>
+    </skos:Concept>
+    
+</rdf:RDF>
diff --git a/samples/lemmata/20230608_EUPT_sample.xml b/samples/lemmata/20230608_EUPT_sample.xml
new file mode 100644
index 0000000..f3b3fcb
--- /dev/null
+++ b/samples/lemmata/20230608_EUPT_sample.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--<?xml-model href="../../schema/extensions/eupt.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
+<?xml-model href="../../schema/extensions/eupt.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>-->
+<lemmacat xmlns="https://sub.uni-goettingen.de/met/models/lemmacat">
+    <lemma lid="Å¡ns">
+        <form>
+            <term>Å¡ns</term>
+            <term>s-n-s</term>
+        </form>
+        <gramGrp>
+            <gram type="pos">VI</gram>
+        </gramGrp>
+        <def>sich binden</def>
+        <def>anbinden</def>
+        <feature type="root">
+            <value>G</value>
+            <bibl ref="sikora_2022"><citedRange from="25" to="30">25ff.</citedRange></bibl>
+            <note>Eine Anmerkung zum Feature</note>
+        </feature>
+        <note>Eine Anmerkung</note>
+        <sense n="1">
+            <def>sich binden</def>
+            <cit>
+                <quote>Ein schenes, ein gutes schenes</quote>
+                <bibl ref="sikora_2022"><citedRange>25</citedRange></bibl>
+            </cit>
+            <cit>
+                <quote>Ein anderes schenes, ein gutes schenes</quote>
+                <bibl ref="sikora_2022"><citedRange>28</citedRange></bibl>
+            </cit>
+        </sense>
+    </lemma>
+    <lemma lid="test"></lemma>
+    <lemma lid="mḫṣ"></lemma>
+    <sources>
+        <bibl xml:id="sikora_2022" zotero="TP5EJMPM">Sikora (<date>2022</date>): Lemmacat in der Praxis</bibl>
+    </sources>
+</lemmacat>
diff --git a/samples/xinclude/KTU_1.14.I.include.test.xml b/samples/xinclude/KTU_1.14.I.include.test.xml
new file mode 100644
index 0000000..1d575ab
--- /dev/null
+++ b/samples/xinclude/KTU_1.14.I.include.test.xml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<edxml xmlns="http://sub.uni-goettingen.de/edxml#" xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:lemmacat="20230524_catalogue_sample.xml">
+    <text>
+        <facsimile>
+            <column xml:id="test" n="1" xmlns="http://sub.uni-goettingen.de/edxml#" xmlns:tei="http://www.tei-c.org/ns/1.0"
+                xmlns:lemmacat="20230524_catalogue_sample.xml">
+                <line n="5"><seg><g>b</g><g>Å¡</g><g>t</g></seg> . <seg xml:id="seg_e3v_f2f_xwb"><g>Ä¡</g><g>r</g></seg> . <part xml:id="line_5b"><g
+                            xml:id="span_etr_2kb_pwb">w</g><seg xml:id="cg_5_hln"><g>h</g><g>l</g><g>n</g></seg> . <seg xml:id="span_zgk_fkb_pwb"
+                            >ˁnt</seg> . tm</part></line>
+                <line n="6"><part xml:id="line_6a">tḫṣ . bˁmq .</part>
+                    <part xml:id="line_6b">tḫtṣ<tei:damage degree="low">b</tei:damage> . bn <tei:del>x</tei:del></part>
+                </line>
+                <metamark rend="line"/>
+                <line n="7"><part xml:id="line_7a">qrytm</part> . <part xml:id="line_7b">tmḫṣ . <tei:damage degree="low" xml:id="trans_li"
+                            >li</tei:damage>m . ḫp<tei:damage degree="low">ym</tei:damage></part>
+                </line>
+                <line n="8" xml:id="line_8"><seg xml:id="seg_f3j_31f_xwb"><g xml:id="g_z15_k1f_xwb">á¹£</g><g xml:id="g_tp3_l1f_xwb">m</g><g
+                            xml:id="g_j2q_l1f_xwb">t</g></seg> . <seg xml:id="seg_tbr_31f_xwb">ad<tei:damage>m</tei:damage></seg> . <part
+                        xml:id="line_8_1"><tei:del>á¹£</tei:del>at . Å¡<tei:damage degree="low">p</tei:damage>Å¡</part></line>
+                <line n="9" xml:id="line_9"><seg xml:id="seg_dmq_1bf_xwb">tḥ<tei:damage degree="low">th</tei:damage></seg><tei:damage degree="low">
+                        .</tei:damage>
+                    <seg>k</seg>k<tei:surplus>dr</tei:surplus><tei:surplus>t</tei:surplus> . <seg xml:id="seg_ex3_k1f_xwb">ri<tei:damage degree="low"
+                            >Å¡</tei:damage></seg></line>
+                <line n="10"><part xml:id="line_10a">ˁlh . <seg>kirbym</seg> . <seg xml:id="seg_m3n_mdk_sxb">kp</seg> .</part>
+                    <part xml:id="line_10b">k . q<tei:damage degree="low">á¹£m</tei:damage></part>
+                </line>
+                <line n="11"><part xml:id="line_11a">Ä¡rm<tei:damage degree="low">n</tei:damage> . kp . <seg>mhr</seg> .</part>
+                    <part xml:id="line_11b">ˁtkt</part>
+                </line>
+                <line n="12"><part xml:id="line_12a">rišt . <tei:damage degree="low">l</tei:damage>bmth .</part>
+                    <part xml:id="line_12b"><seg xml:id="seg_qkv_fjk_sxb">Å¡ns<tei:del>x</tei:del>t</seg> .</part>
+                </line>
+                <line n="13"><part xml:id="line_13a">kpt . bḥbšh .</part>
+                    <part xml:id="line_13b">brkm . tġ<tei:damage degree="low">l</tei:damage><tei:damage degree="high">l</tei:damage></part>
+                </line>
+                <line n="14"><part xml:id="line_14a">bdm . ḏmr .</part>
+                    <part xml:id="line_14b">ḥlqm . bmm<tei:damage degree="low">ˁ</tei:damage></part>
+                </line>
+                <line n="15"><part xml:id="line_15a">mhrm .</part>
+                    <part xml:id="line_15b">mṭm . tgrš</part>
+                </line>
+                <line n="16"><part xml:id="line_16a">Å¡bm .</part>
+                    <part xml:id="line_16b">bksl . <seg xml:id="hsp_gdk_sxb">qšt<tei:del>x</tei:del>h</seg> . mdnt</part>
+                </line>
+                <line n="17" xml:id="line_17"><seg xml:id="seg_cf2_jzj_sxb"><g xml:id="g_y5g_kzj_sxb">w</g><g><tei:del xml:id="op5_nzj_sxb"
+                                >h</tei:del></g><g xml:id="g_e4q_lzj_sxb">l</g><g xml:id="g_byw_lzj_sxb">n</g></seg> . <part xml:id="m14_qzj_sxb">ˁnt
+                        . lbth . tmġyn</part></line>
+                <line n="18" xml:id="line_18"><part><g xml:id="g_mhk_5zj_sxb"><tei:damage degree="low">t</tei:damage></g></part><part>Å¡tql . ilt .
+                        lhklh</part></line>
+            </column>
+        </facsimile>
+    </text>
+</edxml>
diff --git a/schema/edxml.lemmacat.sch b/schema/edxml.lemmacat.sch
new file mode 100644
index 0000000..2fef5d9
--- /dev/null
+++ b/schema/edxml.lemmacat.sch
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron" 
+    queryBinding="xslt2"
+    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+    xmlns:sqf="http://www.schematron-quickfix.com/validator/process"
+    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:skos="http://www.w3.org/2004/02/skos/core#">
+    
+    <sch:ns prefix="edxml" uri="http://sub.uni-goettingen.de/edxml#"/>
+    <sch:ns prefix="rdf" uri="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
+    <sch:ns prefix="skos" uri="http://www.w3.org/2004/02/skos/core#"/>
+    <sch:ns prefix="tei" uri="http://www.tei-c.org/ns/1.0"/>
+    
+    <sch:let name="fname" value="tokenize(root()/base-uri(), '/')[last()]"/>
+    <sch:let name="rel-dir" value="substring-before(root()/base-uri(), $fname)"/>
+    
+    <sch:let name="dictionaries">
+        <xsl:for-each select="//edxml:externalResources/edxml:dictionary">
+            <lemmalist prefix="{./@prefix}" rdir="{$rel-dir}" href="{./@href}">
+                <prefix><xsl:value-of select="./@prefix"/></prefix>
+                <href><xsl:value-of select="./@href"/></href>
+                <xsl:choose>
+                    <xsl:when test="doc-available(./@href)">
+                        <xsl:copy-of select="doc(./@href)"/>
+                    </xsl:when>
+                    <xsl:when test="doc-available($rel-dir || ./@href)">
+                        <xsl:copy-of select="doc($rel-dir || ./@href)"/>
+                    </xsl:when>
+                    <xsl:otherwise/>
+                </xsl:choose>
+            </lemmalist>
+        </xsl:for-each>
+    </sch:let>
+    
+    <sch:let name="vocabularies">
+        <xsl:for-each select="//edxml:externalResources/edxml:vocabulary">
+            <terms prefix="{./@prefix}" rdir="{$rel-dir}" href="{./@href}">
+                <prefix><xsl:value-of select="./@prefix"/></prefix>
+                <href><xsl:value-of select="./@href"/></href>
+                <xsl:choose>
+                    <xsl:when test="doc-available(./@href)">
+                        <xsl:copy-of select="doc(./@href)"/>
+                    </xsl:when>
+                    <xsl:when test="doc-available($rel-dir || ./@href)">
+                        <xsl:copy-of select="doc($rel-dir || ./@href)"/>
+                    </xsl:when>
+                    <xsl:otherwise/>
+                </xsl:choose>
+            </terms>
+        </xsl:for-each>
+    </sch:let>
+    
+    <sch:pattern>
+        <sch:rule context="@lemma[count(tokenize(., ':')) = 2]">
+            <sch:let name="prefix" value="tokenize(., ':')[1]"></sch:let>
+            <sch:let name="lemmacat" value="$dictionaries/lemmalist[@prefix = $prefix]"/>
+            <sch:let name="value" value="tokenize(., ':')[2]"/>
+            
+            <sch:assert test="$lemmacat" role="error">Die Lemmacat-Datei mit dem Präfix "<sch:value-of select="$prefix"/>" konnte nicht gefunden werden!</sch:assert>
+            
+            <sch:report test="$lemmacat and not($value = $lemmacat//(@xml:id, @lid))" role="error">Das Lemma "<sch:value-of select="$value"/>" konnte nicht in "<sch:value-of select="$prefix"/>" gefunden werden!</sch:report>
+        </sch:rule>
+    </sch:pattern>
+    
+    <sch:pattern>
+        <sch:rule context="edxml:term/@key[count(tokenize(., ':')) = 2]">
+            <sch:let name="prefix" value="tokenize(., ':')[1]"></sch:let>
+            <sch:let name="vocab" value="$vocabularies/terms[@prefix = $prefix]"/>
+            <sch:let name="terms" value="for $term in $vocab//skos:Concept/@rdf:about return tokenize($term, '/')[last()]"/>
+            <sch:let name="value" value="tokenize(., ':')[2]"/>
+            
+            <sch:assert test="$vocab" role="error">Die Vokabular-Datei mit dem Präfix "<sch:value-of select="$prefix"/>" konnte nicht gefunden werden!</sch:assert>
+            
+            <sch:report test="$vocab and not($value = $terms)" role="error">Der Term "<sch:value-of select="$value"/>" konnte nicht in "<sch:value-of select="$prefix"/>" gefunden werden! Erlaubte Terme sind: <sch:value-of select="for $term in $terms return $prefix||':'||$term||' '"/></sch:report>
+        </sch:rule>
+    </sch:pattern>
+    
+</sch:schema>
\ No newline at end of file
diff --git a/schema/edxml.rng b/schema/edxml.rng
index 338fe2c..ce654bb 100644
--- a/schema/edxml.rng
+++ b/schema/edxml.rng
@@ -27,11 +27,53 @@
                     <data type="anyURI"/>
                 </oneOrMore>
             </list>
+            <sch:pattern>
+                <sch:rule context="@corresp">
+                    <sch:let name="ids" value="for $id in tokenize(., ' ') return substring-after($id, '#')"/>
+                    <sch:let name="wrong-ids"
+                        value="for $id in $ids return (if ( not(//*[@xml:id = $id]) ) then ($id) else () )"/>
+                    <sch:assert test="empty($wrong-ids)" role="error">
+                        (ID existiert nicht) Die in @corresp angegebene ID (<sch:value-of select="$wrong-ids"/>) existiert in diesem Dokument nicht! Beachte bitte auch, dass "#" davor gesetzt ist!
+                    </sch:assert>
+                </sch:rule>
+            </sch:pattern>
         </attribute>
     </define>
 
     <define name="attr.lemma">
-        <attribute name="lemma"/>
+        <attribute name="lemma">
+            
+            <sch:pattern>
+                
+                <sch:rule context="@lemma[count(tokenize(., ':')) &lt; 2]">
+                    <sch:report test=".">Du hast keinen Eintrag aus einem Lemmakatalog verknüpft!</sch:report>
+                </sch:rule>
+               
+                <!--<sch:rule context="@lemma[count(tokenize(., ':')) = 2]">
+                    <sch:let name="fname" value="tokenize(base-uri(), '/')[last()]"/>
+                    <sch:let name="rel-dir" value="substring-before(base-uri(), $fname)"/>
+                    
+                    <sch:let name="prefix" value="substring-before(., ':')"/>
+                    <sch:let name="value" value="substring-after(., ':')"/>
+                    <sch:let name="dictionary-nodes" value="//edxml:dictionary"/>
+                    <sch:let name="dictionary-prefixes" value="$dictionary-nodes/@prefix"/>
+                    <sch:let name="target-dict" value="$dictionary-nodes[@prefix = $prefix]/@href"/>
+                    <sch:let name="target-dict-path" value="$rel-dir||$target-dict"/>
+                    
+                    <sch:assert test="$prefix = $dictionary-prefixes" role="error">
+                        (Wörterbuch nicht definiert) Das Wörterbuch mit dem Präfix "<sch:value-of select="$prefix"/>" wurde nicht in header/externalResources definiert!
+                    </sch:assert>
+                    
+                    <sch:assert test="doc($target-dict-path)" role="error">
+                        NUH <sch:value-of select="doc($target-dict-path)"/> <!-\-<sch:value-of select="doc(base-uri()||'/..')"/>-\->
+                    </sch:assert>
+                    
+                   <!-\- <sch:report test="doc($target-dict-path)" role="error">
+                        SUCCESS <sch:value-of select="$rel-dir"/> <sch:value-of select="doc($target-dict-path)"/> <!-\\-<sch:value-of select="doc(base-uri()||'/..')"/>-\\->
+                    </sch:report>-\->
+                </sch:rule>-->
+            </sch:pattern>
+        </attribute>
     </define>
 
     <define name="attr.n">
@@ -193,6 +235,42 @@
             </choice>
         </element>
     </define>
+    
+    <define name="elem.encodingDesc">
+        <element name="encodingDesc">
+            <optional>
+                <ref name="elem.tagsDecl"/>
+            </optional>
+        </element>
+    </define>
+    
+    <define name="elem.externalResources">
+        <element name="externalResources">
+            <interleave>
+                <zeroOrMore>
+                    <element name="dictionary">
+                        <ref name="model.external-resources"/>
+                    </element>
+                </zeroOrMore>
+                <zeroOrMore>
+                    <element name="vocabulary">
+                        <!--<attribute name="namespace"/>-->
+                        <ref name="model.external-resources"/>
+                    </element>
+                </zeroOrMore>
+                <zeroOrMore>
+                    <element name="zotero">
+                        <ref name="model.external-resources"/>
+                    </element>
+                </zeroOrMore>
+                <zeroOrMore>
+                    <element name="resource">
+                        <ref name="model.external-resources"/>
+                    </element>
+                </zeroOrMore>
+            </interleave>
+        </element>
+    </define>
 
     <define name="elem.facsimile">
         <element name="facsimile">
@@ -262,6 +340,12 @@
             <optional>
                 <ref name="elem.sourceDesc"/>
             </optional>
+            <optional>
+                <ref name="elem.encodingDesc"/>
+            </optional>
+            <optional>
+                <ref name="elem.externalResources"/>
+            </optional>
             <ref name="elem.revisionDesc"/>
         </element>
     </define>
@@ -351,17 +435,35 @@
     <define name="elem.metamark">
         <element name="metamark">
             <attribute name="rend">
-                <list>
-                    <value>line</value>
-                </list>
+                <choice>
+                    <list>
+                        <value>line</value>
+                        <value>doubleLine</value>
+                    </list>
+                    <data type="string"/>
+                </choice>
+                <sch:pattern>
+                    <sch:rule context="edxml:metamark/@rend">
+                        <sch:let name="renditions" value="//edxml:rendition"/>
+                        <sch:assert test=". = ($renditions/@xml:id, 'line', 'doubleLine')" role="error">
+                            (Hervorhebung nicht definiert) Die Hervorhebung "<sch:value-of select="data(.)"/>" ist nicht im Header (encodingDesc/tagsDecl/rendition) definiert!
+                        </sch:assert>
+                    </sch:rule>
+                </sch:pattern>
             </attribute>
             <empty/>
         </element>
     </define>
 
-    <define name="elem.motive">
-        <element name="motive">
-            <optional>
+    <define name="elem.motif">
+        <element name="motif">
+            <interleave>
+                <zeroOrMore>
+                    <ref name="elem.term"/>    
+                </zeroOrMore>
+                <text/>
+            </interleave>
+            <!--<optional>
                 <ref name="attr.term"/>
             </optional>
             <text/>
@@ -370,7 +472,7 @@
                     <sch:assert test="@term" role="warning">(Normierter Term fehlt): Es ist dringend empfohlen einen normierten Term für das Motiv
                         anzugeben!</sch:assert>
                 </sch:rule>
-            </sch:pattern>
+            </sch:pattern>-->
         </element>
     </define>
 
@@ -552,7 +654,17 @@
             </interleave>
         </element>
     </define>
-
+    
+    <define name="elem.rendition">
+        <element name="rendition">
+            <ref name="attr.xml.id"/>
+            <optional>
+                <attribute name="scheme"/>
+            </optional>
+            <text/>
+        </element>    
+    </define>
+    
     <define name="elem.revisionDesc">
         <element name="revisionDesc">
             <oneOrMore>
@@ -624,15 +736,24 @@
     <define name="elem.stylistics">
         <element name="stylistics">
             <optional>
-                <ref name="attr.term"/>
+                <ref name="attr.xml.id"/>
             </optional>
-            <text/>
+            <interleave>
+                <zeroOrMore>
+                    <ref name="elem.term"/>    
+                </zeroOrMore>
+                <text/>
+            </interleave>
+            <!--<optional>
+                <ref name="attr.term"/>
+            </optional>-->
+            <!--<text/>
             <sch:pattern>
                 <sch:rule context="edxml:stylistics">
                     <sch:assert test="@term" role="warning">(Normierter Term fehlt): Es wird empfohlen einen normierten Term für die Stilistik
                         anzugeben!</sch:assert>
                 </sch:rule>
-            </sch:pattern>
+            </sch:pattern>-->
         </element>
     </define>
 
@@ -658,10 +779,20 @@
             </optional>
         </element>
     </define>
-
+    
+    <define name="elem.tagsDecl">
+        <element name="tagsDecl">
+            <zeroOrMore>
+                <ref name="elem.rendition"/>
+            </zeroOrMore>
+        </element>
+    </define>
+    
     <define name="elem.term">
         <element name="term">
-            <attribute name="key"/>
+            <optional>
+                <attribute name="key"/>
+            </optional>
             <text/>
         </element>
     </define>
@@ -1028,14 +1159,23 @@
             <ref name="elem.lb"/>
         </choice>
     </define>
-
+    
+    <define name="model.external-resources">
+        <attribute name="prefix"/>
+        <choice>
+            <attribute name="href"/>
+            <ref name="attr.xml.base"/>
+        </choice>
+        <text/>
+    </define>
+    
     <define name="model.poetology.annotation">
         <interleave>
             <optional>
                 <ref name="elem.ana"/>
             </optional>
             <zeroOrMore>
-                <ref name="elem.motive"/>
+                <ref name="elem.motif"/>
             </zeroOrMore>
             <zeroOrMore>
                 <ref name="elem.stylistics"/>
@@ -1190,7 +1330,6 @@
             <element name="list">
                 <oneOrMore>
                     <element name="item">
-                        <attribute name="sortKey"/>
                         <text/>
                     </element>
                 </oneOrMore>
@@ -1306,9 +1445,14 @@
 
     <define name="elem.meta.surrogates">
         <element name="surrogates">
-            <oneOrMore>
-                <ref name="elem.meta.graphic"/>
-            </oneOrMore>
+            <interleave>
+                <oneOrMore>
+                    <ref name="elem.head"/>
+                </oneOrMore>
+                <oneOrMore>
+                    <ref name="elem.meta.graphic"/>
+                </oneOrMore>
+            </interleave>
         </element>
     </define>
 
diff --git a/schema/model.graphml b/schema/model.graphml
new file mode 100644
index 0000000..b29f174
--- /dev/null
+++ b/schema/model.graphml
@@ -0,0 +1,429 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:java="http://www.yworks.com/xml/yfiles-common/1.0/java" xmlns:sys="http://www.yworks.com/xml/yfiles-common/markup/primitives/2.0" xmlns:x="http://www.yworks.com/xml/yfiles-common/markup/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:y="http://www.yworks.com/xml/graphml" xmlns:yed="http://www.yworks.com/xml/yed/3" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://www.yworks.com/xml/schema/graphml/1.1/ygraphml.xsd">
+  <!--Created by yEd 3.22-->
+  <key attr.name="Beschreibung" attr.type="string" for="graph" id="d0"/>
+  <key for="port" id="d1" yfiles.type="portgraphics"/>
+  <key for="port" id="d2" yfiles.type="portgeometry"/>
+  <key for="port" id="d3" yfiles.type="portuserdata"/>
+  <key attr.name="url" attr.type="string" for="node" id="d4"/>
+  <key attr.name="description" attr.type="string" for="node" id="d5"/>
+  <key for="node" id="d6" yfiles.type="nodegraphics"/>
+  <key for="graphml" id="d7" yfiles.type="resources"/>
+  <key attr.name="url" attr.type="string" for="edge" id="d8"/>
+  <key attr.name="description" attr.type="string" for="edge" id="d9"/>
+  <key for="edge" id="d10" yfiles.type="edgegraphics"/>
+  <graph edgedefault="directed" id="G">
+    <data key="d0"/>
+    <node id="n0">
+      <data key="d5"/>
+      <data key="d6">
+        <y:GenericNode configuration="com.yworks.flowchart.start1">
+          <y:Geometry height="40.0" width="130.06950400000005" x="444.4160640000002" y="190.07200000000006"/>
+          <y:Fill color="#99CCFF" transparent="false"/>
+          <y:BorderStyle hasColor="false" type="line" width="1.0"/>
+          <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="67.4453125" x="31.312095750000026" xml:space="preserve" y="11.015625">Textträger<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
+        </y:GenericNode>
+      </data>
+    </node>
+    <node id="n1">
+      <data key="d5"/>
+      <data key="d6">
+        <y:GenericNode configuration="com.yworks.flowchart.start1">
+          <y:Geometry height="40.0" width="130.06950400000005" x="444.4160640000001" y="302.05600000000004"/>
+          <y:Fill color="#99CCFF" transparent="false"/>
+          <y:BorderStyle hasColor="false" type="line" width="1.0"/>
+          <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="69.876953125" x="30.096275437500026" xml:space="preserve" y="11.015625">Oberfläche<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
+        </y:GenericNode>
+      </data>
+    </node>
+    <node id="n2">
+      <data key="d5"/>
+      <data key="d6">
+        <y:GenericNode configuration="com.yworks.flowchart.start1">
+          <y:Geometry height="40.0" width="130.06950400000005" x="444.4160640000001" y="414.04"/>
+          <y:Fill color="#99CCFF" transparent="false"/>
+          <y:BorderStyle hasColor="false" type="line" width="1.0"/>
+          <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="48.396484375" x="40.836509812500026" xml:space="preserve" y="11.015625">Chunks<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
+        </y:GenericNode>
+      </data>
+    </node>
+    <node id="n3">
+      <data key="d5"/>
+      <data key="d6">
+        <y:GenericNode configuration="com.yworks.flowchart.start1">
+          <y:Geometry height="40.0" width="130.06950400000005" x="651.3361280000003" y="587.4639999999999"/>
+          <y:Fill color="#99CC00" transparent="false"/>
+          <y:BorderStyle hasColor="false" type="line" width="1.0"/>
+          <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="31.9375" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="45.12109375" x="42.474205125000026" xml:space="preserve" y="4.03125">Zeile
+tei:line<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
+        </y:GenericNode>
+      </data>
+    </node>
+    <node id="n4">
+      <data key="d5"/>
+      <data key="d6">
+        <y:GenericNode configuration="com.yworks.flowchart.start1">
+          <y:Geometry height="40.0" width="130.06950400000005" x="647.4961280000003" y="526.0239999999999"/>
+          <y:Fill color="#99CC00" transparent="false"/>
+          <y:BorderStyle hasColor="false" type="line" width="1.0"/>
+          <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="31.9375" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="85.521484375" x="22.274009812500026" xml:space="preserve" y="4.03125">Metamark
+tei:metamark<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
+        </y:GenericNode>
+      </data>
+    </node>
+    <node id="n5">
+      <data key="d5"/>
+      <data key="d6">
+        <y:GenericNode configuration="com.yworks.flowchart.start1">
+          <y:Geometry height="54.71999999999997" width="157.58950400000003" x="637.5761280000003" y="406.68000000000006"/>
+          <y:Fill color="#99CC00" transparent="false"/>
+          <y:BorderStyle hasColor="false" type="line" width="1.0"/>
+          <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="31.9375" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="137.01953125" x="10.284986375000017" xml:space="preserve" y="11.391250000000014">Bereich (zb. Kolumne)
+tei:zone<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
+        </y:GenericNode>
+      </data>
+    </node>
+    <node id="n6">
+      <data key="d5"/>
+      <data key="d6">
+        <y:GenericNode configuration="com.yworks.flowchart.start1">
+          <y:Geometry height="40.0" width="162.06950400000005" x="428.4160640000001" y="526.024"/>
+          <y:Fill color="#99CCFF" transparent="false"/>
+          <y:BorderStyle hasColor="false" type="line" width="1.0"/>
+          <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="133.0234375" x="14.523033250000026" xml:space="preserve" y="11.015625">Text/Paratextstruktur<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
+        </y:GenericNode>
+      </data>
+    </node>
+    <node id="n7">
+      <data key="d5"/>
+      <data key="d6">
+        <y:GenericNode configuration="com.yworks.flowchart.start1">
+          <y:Geometry height="40.0" width="130.06950400000005" x="444.4160640000001" y="762.2479999999994"/>
+          <y:Fill color="#99CCFF" transparent="false"/>
+          <y:BorderStyle hasColor="false" type="line" width="1.0"/>
+          <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="82.22265625" x="23.923423875000026" xml:space="preserve" y="11.015625">Graphematik<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
+        </y:GenericNode>
+      </data>
+    </node>
+    <node id="n8">
+      <data key="d5"/>
+      <data key="d6">
+        <y:GenericNode configuration="com.yworks.flowchart.start1">
+          <y:Geometry height="40.0" width="130.06950400000005" x="651.3361280000003" y="762.2479999999994"/>
+          <y:Fill color="#99CC00" transparent="false"/>
+          <y:BorderStyle hasColor="false" type="line" width="1.0"/>
+          <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="31.9375" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="94.90234375" x="17.583580125000026" xml:space="preserve" y="4.03125">Zeichengruppe
+tei:seg<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
+        </y:GenericNode>
+      </data>
+    </node>
+    <node id="n9">
+      <data key="d5"/>
+      <data key="d6">
+        <y:GenericNode configuration="com.yworks.flowchart.start1">
+          <y:Geometry height="40.0" width="130.06950400000005" x="651.3361280000003" y="846.9679999999994"/>
+          <y:Fill color="#99CC00" transparent="false"/>
+          <y:BorderStyle hasColor="false" type="line" width="1.0"/>
+          <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="31.9375" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="52.12890625" x="38.970298875000026" xml:space="preserve" y="4.03125">Zeichen
+tei:g<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
+        </y:GenericNode>
+      </data>
+    </node>
+    <node id="n10">
+      <data key="d5"/>
+      <data key="d6">
+        <y:GenericNode configuration="com.yworks.flowchart.start1">
+          <y:Geometry height="40.0" width="130.06950400000005" x="651.3361280000003" y="302.05600000000004"/>
+          <y:Fill color="#99CC00" transparent="false"/>
+          <y:BorderStyle hasColor="false" type="line" width="1.0"/>
+          <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="67.814453125" x="31.127525437500026" xml:space="preserve" y="11.015625">tei:surface<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
+        </y:GenericNode>
+      </data>
+    </node>
+    <node id="n11">
+      <data key="d5"/>
+      <data key="d6">
+        <y:GenericNode configuration="com.yworks.flowchart.start1">
+          <y:Geometry height="40.0" width="130.06950400000005" x="651.3361280000003" y="190.07200000000006"/>
+          <y:Fill color="#99CC00" transparent="false"/>
+          <y:BorderStyle hasColor="false" type="line" width="1.0"/>
+          <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="31.9375" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="77.318359375" x="26.375572312500026" xml:space="preserve" y="4.03125">Faksimile
+tei:faksimile<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
+        </y:GenericNode>
+      </data>
+    </node>
+    <node id="n12">
+      <data key="d5"/>
+      <data key="d6">
+        <y:GenericNode configuration="com.yworks.flowchart.start1">
+          <y:Geometry height="40.0" width="130.06950400000005" x="1083.3321280000007" y="179.848"/>
+          <y:Fill color="#99CCFF" transparent="false"/>
+          <y:BorderStyle hasColor="false" type="line" width="1.0"/>
+          <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="71.51171875" x="29.278892625000026" xml:space="preserve" y="11.015625">Sinneinheit<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
+        </y:GenericNode>
+      </data>
+    </node>
+    <node id="n13">
+      <data key="d5"/>
+      <data key="d6">
+        <y:GenericNode configuration="com.yworks.flowchart.start1">
+          <y:Geometry height="40.0" width="188.94950400000016" x="1095.352256000001" y="268.4080000000001"/>
+          <y:Fill color="#99CCFF" transparent="false"/>
+          <y:BorderStyle hasColor="false" type="line" width="1.0"/>
+          <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="168.58984375" x="10.17983012500008" xml:space="preserve" y="11.015625">Transkription/Vokalisierung<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
+        </y:GenericNode>
+      </data>
+    </node>
+    <node id="n14">
+      <data key="d5"/>
+      <data key="d6">
+        <y:GenericNode configuration="com.yworks.flowchart.start1">
+          <y:Geometry height="40.0" width="130.06950400000005" x="1254.072256000001" y="190.07200000000006"/>
+          <y:Fill color="#99CCFF" transparent="false"/>
+          <y:BorderStyle hasColor="false" type="line" width="1.0"/>
+          <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="80.18359375" x="24.942955125000026" xml:space="preserve" y="11.015625">Ãœbersetzung<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
+        </y:GenericNode>
+      </data>
+    </node>
+    <node id="n15">
+      <data key="d5"/>
+      <data key="d6">
+        <y:GenericNode configuration="com.yworks.flowchart.start1">
+          <y:Geometry height="40.0" width="130.06950400000005" x="222.53612800000025" y="762.2479999999994"/>
+          <y:Fill color="#99CCFF" transparent="false"/>
+          <y:BorderStyle hasColor="false" type="line" width="1.0"/>
+          <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="96.115234375" x="16.977134812500026" xml:space="preserve" y="11.015625">Erhaltungsgrad<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
+        </y:GenericNode>
+      </data>
+    </node>
+    <node id="n16">
+      <data key="d5"/>
+      <data key="d6">
+        <y:GenericNode configuration="com.yworks.flowchart.start1">
+          <y:Geometry height="40.0" width="130.06950400000005" x="651.3361280000003" y="674.8559999999997"/>
+          <y:Fill color="#99CC00" transparent="false"/>
+          <y:BorderStyle hasColor="false" type="line" width="1.0"/>
+          <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="31.9375" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="60.015625" x="35.026939500000026" xml:space="preserve" y="4.03125">Zeilenteil
+part<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
+        </y:GenericNode>
+      </data>
+    </node>
+    <edge id="e0" source="n0" target="n1">
+      <data key="d9"/>
+      <data key="d10">
+        <y:ArcEdge>
+          <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0">
+            <y:Point x="509.4508056640625" y="266.0639953613281"/>
+          </y:Path>
+          <y:LineStyle color="#000000" type="line" width="1.0"/>
+          <y:Arrows source="none" target="standard"/>
+          <y:EdgeLabel alignment="center" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="112.09375" x="-116.12687308687441" xml:space="preserve" y="19.858370907773633">besteht aus (1..N)<y:LabelModel><y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/></y:LabelModel><y:ModelParameter><y:SmartEdgeLabelModelParameter angle="6.283185307179586" distance="60.079999409290075" distanceToCenter="true" position="right" ratio="0.6744851204500386" segment="0"/></y:ModelParameter><y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/></y:EdgeLabel>
+          <y:Arc height="1.6201053085751482E-6" ratio="5.786917256500601E-8" type="fixedRatio"/>
+        </y:ArcEdge>
+      </data>
+    </edge>
+    <edge id="e1" source="n1" target="n2">
+      <data key="d9"/>
+      <data key="d10">
+        <y:ArcEdge>
+          <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0">
+            <y:Point x="509.4508361816406" y="378.0480041503906"/>
+          </y:Path>
+          <y:LineStyle color="#000000" type="line" width="1.0"/>
+          <y:Arrows source="none" target="standard"/>
+          <y:EdgeLabel alignment="center" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="95.904296875" x="-99.71212188611366" xml:space="preserve" y="17.2984076282483">weist auf (0..N)<y:LabelModel><y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/></y:LabelModel><y:ModelParameter><y:SmartEdgeLabelModelParameter angle="6.283185307179586" distance="51.76000046135905" distanceToCenter="true" position="right" ratio="0.5581614214149886" segment="0"/></y:ModelParameter><y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/></y:EdgeLabel>
+          <y:Arc height="1.570633139635902E-5" ratio="5.61020499389997E-7" type="fixedRatio"/>
+        </y:ArcEdge>
+      </data>
+    </edge>
+    <edge id="e2" source="n5" target="n2">
+      <data key="d9"/>
+      <data key="d10">
+        <y:PolyLineEdge>
+          <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0">
+            <y:Point x="615.5430399999998" y="434.03997802734375"/>
+          </y:Path>
+          <y:LineStyle color="#000000" type="dashed" width="1.0"/>
+          <y:Arrows source="none" target="white_delta"/>
+          <y:BendStyle smoothed="false"/>
+        </y:PolyLineEdge>
+      </data>
+    </edge>
+    <edge id="e3" source="n4" target="n6">
+      <data key="d9"/>
+      <data key="d10">
+        <y:PolyLineEdge>
+          <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0">
+            <y:Point x="615.5430399999998" y="546.024"/>
+          </y:Path>
+          <y:LineStyle color="#000000" type="dashed" width="1.0"/>
+          <y:Arrows source="none" target="white_delta"/>
+          <y:BendStyle smoothed="false"/>
+        </y:PolyLineEdge>
+      </data>
+    </edge>
+    <edge id="e4" source="n3" target="n6">
+      <data key="d9"/>
+      <data key="d10">
+        <y:PolyLineEdge>
+          <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0">
+            <y:Point x="624.3411999999992" y="607.4639999999999"/>
+            <y:Point x="624.3411999999992" y="546.024"/>
+          </y:Path>
+          <y:LineStyle color="#000000" type="dashed" width="1.0"/>
+          <y:Arrows source="none" target="white_delta"/>
+          <y:BendStyle smoothed="false"/>
+        </y:PolyLineEdge>
+      </data>
+    </edge>
+    <edge id="e5" source="n2" target="n6">
+      <data key="d9"/>
+      <data key="d10">
+        <y:PolyLineEdge>
+          <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
+          <y:LineStyle color="#000000" type="line" width="1.0"/>
+          <y:Arrows source="none" target="standard"/>
+          <y:EdgeLabel alignment="center" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="84.109375" x="-87.41467716406248" xml:space="preserve" y="20.62220385742188">enthält (1..N)<y:LabelModel><y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/></y:LabelModel><y:ModelParameter><y:SmartEdgeLabelModelParameter angle="6.283185307179586" distance="45.36000000000007" distanceToCenter="true" position="right" ratio="0.3545958503018838" segment="-1"/></y:ModelParameter><y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/></y:EdgeLabel>
+          <y:BendStyle smoothed="false"/>
+        </y:PolyLineEdge>
+      </data>
+    </edge>
+    <edge id="e6" source="n6" target="n7">
+      <data key="d9"/>
+      <data key="d10">
+        <y:PolyLineEdge>
+          <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
+          <y:LineStyle color="#000000" type="line" width="1.0"/>
+          <y:Arrows source="none" target="standard"/>
+          <y:EdgeLabel alignment="center" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="84.109375" x="-42.054677164062355" xml:space="preserve" y="89.14430078124974">enthält (1..N)<y:LabelModel><y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/></y:LabelModel><y:ModelParameter><y:SmartEdgeLabelModelParameter angle="6.283185307179586" distance="44.84800000000002" distanceToCenter="true" position="center" ratio="0.5" segment="0"/></y:ModelParameter><y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/></y:EdgeLabel>
+          <y:BendStyle smoothed="false"/>
+        </y:PolyLineEdge>
+      </data>
+    </edge>
+    <edge id="e7" source="n8" target="n9">
+      <data key="d9"/>
+      <data key="d10">
+        <y:PolyLineEdge>
+          <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
+          <y:LineStyle color="#000000" type="line" width="1.0"/>
+          <y:Arrows source="none" target="standard"/>
+          <y:EdgeLabel alignment="center" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="112.09375" x="3.8091553906256195" xml:space="preserve" y="11.284119557390568">besteht aus (1..N)<y:LabelModel><y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/></y:LabelModel><y:ModelParameter><y:SmartEdgeLabelModelParameter angle="6.283185307179586" distance="59.85600000000022" distanceToCenter="true" position="left" ratio="0.3739692307691887" segment="-1"/></y:ModelParameter><y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/></y:EdgeLabel>
+          <y:BendStyle smoothed="false"/>
+        </y:PolyLineEdge>
+      </data>
+    </edge>
+    <edge id="e8" source="n8" target="n7">
+      <data key="d9"/>
+      <data key="d10">
+        <y:PolyLineEdge>
+          <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
+          <y:LineStyle color="#000000" type="dashed" width="1.0"/>
+          <y:Arrows source="none" target="white_delta"/>
+          <y:BendStyle smoothed="false"/>
+        </y:PolyLineEdge>
+      </data>
+    </edge>
+    <edge id="e9" source="n9" target="n7">
+      <data key="d9"/>
+      <data key="d10">
+        <y:PolyLineEdge>
+          <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0">
+            <y:Point x="619.3045893239464" y="866.9679999999994"/>
+            <y:Point x="619.3045893239464" y="782.2479999999994"/>
+          </y:Path>
+          <y:LineStyle color="#000000" type="dashed" width="1.0"/>
+          <y:Arrows source="none" target="white_delta"/>
+          <y:BendStyle smoothed="false"/>
+        </y:PolyLineEdge>
+      </data>
+    </edge>
+    <edge id="e10" source="n10" target="n1">
+      <data key="d9"/>
+      <data key="d10">
+        <y:PolyLineEdge>
+          <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
+          <y:LineStyle color="#000000" type="dashed" width="1.0"/>
+          <y:Arrows source="none" target="white_delta"/>
+          <y:BendStyle smoothed="false"/>
+        </y:PolyLineEdge>
+      </data>
+    </edge>
+    <edge id="e11" source="n11" target="n0">
+      <data key="d9"/>
+      <data key="d10">
+        <y:PolyLineEdge>
+          <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
+          <y:LineStyle color="#000000" type="dashed" width="1.0"/>
+          <y:Arrows source="none" target="white_delta"/>
+          <y:BendStyle smoothed="false"/>
+        </y:PolyLineEdge>
+      </data>
+    </edge>
+    <edge id="e12" source="n1" target="n6">
+      <data key="d9"/>
+      <data key="d10">
+        <y:PolyLineEdge>
+          <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0">
+            <y:Point x="371.01579392394797" y="322.05600000000004"/>
+            <y:Point x="371.01579392394797" y="546.024"/>
+          </y:Path>
+          <y:LineStyle color="#000000" type="line" width="1.0"/>
+          <y:Arrows source="none" target="standard"/>
+          <y:EdgeLabel alignment="center" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="84.109375" x="-159.42930495300521" xml:space="preserve" y="97.99962524414059">enthält (0..N)<y:LabelModel><y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/></y:LabelModel><y:ModelParameter><y:SmartEdgeLabelModelParameter angle="6.283185307179586" distance="44.00000000000004" distanceToCenter="true" position="right" ratio="0.47767538219745675" segment="1"/></y:ModelParameter><y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/></y:EdgeLabel>
+          <y:BendStyle smoothed="false"/>
+        </y:PolyLineEdge>
+      </data>
+    </edge>
+    <edge id="e13" source="n7" target="n15">
+      <data key="d9"/>
+      <data key="d10">
+        <y:PolyLineEdge>
+          <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
+          <y:LineStyle color="#000000" type="line" width="1.0"/>
+          <y:Arrows source="none" target="standard"/>
+          <y:BendStyle smoothed="false"/>
+        </y:PolyLineEdge>
+      </data>
+    </edge>
+    <edge id="e14" source="n6" target="n15">
+      <data key="d9"/>
+      <data key="d10">
+        <y:PolyLineEdge>
+          <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
+          <y:LineStyle color="#000000" type="line" width="1.0"/>
+          <y:Arrows source="none" target="standard"/>
+          <y:BendStyle smoothed="false"/>
+        </y:PolyLineEdge>
+      </data>
+    </edge>
+    <edge id="e15" source="n3" target="n16">
+      <data key="d9"/>
+      <data key="d10">
+        <y:PolyLineEdge>
+          <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
+          <y:LineStyle color="#000000" type="line" width="1.0"/>
+          <y:Arrows source="none" target="standard"/>
+          <y:EdgeLabel alignment="center" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="112.09375" x="3.0411553906251356" xml:space="preserve" y="11.626513183593488">besteht aus (0..N)<y:LabelModel><y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/></y:LabelModel><y:ModelParameter><y:SmartEdgeLabelModelParameter angle="6.283185307179586" distance="59.087999999999965" distanceToCenter="true" position="left" ratio="0.3418390331175271" segment="-1"/></y:ModelParameter><y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/></y:EdgeLabel>
+          <y:BendStyle smoothed="false"/>
+        </y:PolyLineEdge>
+      </data>
+    </edge>
+    <edge id="e16" source="n16" target="n6">
+      <data key="d9"/>
+      <data key="d10">
+        <y:PolyLineEdge>
+          <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0">
+            <y:Point x="624.3411999999992" y="694.8559999999997"/>
+            <y:Point x="624.3411999999992" y="546.024"/>
+          </y:Path>
+          <y:LineStyle color="#000000" type="dashed" width="1.0"/>
+          <y:Arrows source="none" target="white_delta"/>
+          <y:BendStyle smoothed="false"/>
+        </y:PolyLineEdge>
+      </data>
+    </edge>
+  </graph>
+  <data key="d7">
+    <y:Resources/>
+  </data>
+</graphml>
-- 
GitLab