<?xml version="1.0" encoding="UTF-8"?>
<!--
  ****************************************************************
ERmodel_v1.2/instances/catalogue/src/conceptualModels/2RegularHypergraph.xml 
****************************************************************

Copyright 2016, 2107 Cyprotex Discovery Ltd.

This file is part of the the ERmodel suite of models and transforms.

The ERmodel suite is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

ERmodel suite is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
****************************************************************
-->
<entity_model xmlns="http://www.entitymodelling.org/ERmodel">
   <presentation>
      <diagram/>
   </presentation>
   <defaults/>
   <entity_type>
      <name>sentence</name>
      <presentation>
         <x>4.0</x>
         <y>0</y>
      </presentation>
      <composition>
         <cardinality>
            <ExactlyOne/>
         </cardinality>
         <type>NP</type>
         <diagram>
            <path>
               <destattach>0.25</destattach>
            </path>
         </diagram>
      </composition>
      <composition>
         <cardinality>
            <ExactlyOne/>
         </cardinality>
         <type>PredP</type>
      </composition>
   </entity_type>
   <entity_type>
      <name>PredP</name>
      <composition>
         <cardinality>
            <ExactlyOne/>
         </cardinality>
         <type>Aux</type>
         <diagram>
            <path/>
         </diagram>
      </composition>
      <composition>
         <cardinality>
            <ExactlyOne/>
         </cardinality>
         <type>x</type>
         <diagram>
            <path>
               <align>
                  <ToSrc/>
               </align>
            </path>
         </diagram>
      </composition>
      <presentation>
         <below>sentence</below>
         <x>2.15</x>
      </presentation>
   </entity_type>
   <entity_type>
      <name>Aux</name>
      <presentation>
         <below>PredP</below>
         <x>-2.0</x>
         <y>0.1</y>
      </presentation>
   </entity_type>
   <entity_type>
      <name>x</name>
      <presentation>
         <below>PredP</below>
         <x>-1.15</x>
         <y>1.0</y>
         <deltah>0.1</deltah>
      </presentation>
      <entity_type>
         <name>NP</name>
         <presentation>
            <y>1.4</y>
         </presentation>
         <composition>
            <cardinality>
               <ExactlyOne/>
            </cardinality>
            <type>Det</type>
         </composition>
         <composition>
            <cardinality>
               <ExactlyOne/>
            </cardinality>
            <type>N</type>
         </composition>
      </entity_type>
      <entity_type>
         <name>y</name>
         <presentation>
            <rightOf>NP</rightOf>
            <x>1.5</x>
            <y>-1.4</y>
         </presentation>
         <composition>
            <cardinality>
               <ExactlyOne/>
            </cardinality>
            <type>NP</type>
            <diagram>
               <path>
                  <srcattach>0.1</srcattach>
                  <destarmlen>0.4</destarmlen>
                  <destattach>0.5</destattach>
                  <hstep>
                     <absdim>
                        <src>-0.5</src>
                     </absdim>
                  </hstep>
               </path>
            </diagram>
         </composition>
         <entity_type>
            <name>VP</name>
            <composition>
               <cardinality>
                  <ZeroOrOne/>
               </cardinality>
               <type>NP</type>
               <diagram>
                  <path>
                     <srcattach>0.25</srcattach>
                     <srcarmlen>0.5</srcarmlen>
                     <destattach>0.75</destattach>
                     <hstep>
                        <absdim>
                           <src>-1.4</src>
                        </absdim>
                     </hstep>
                  </path>
               </diagram>
            </composition>
            <composition>
               <cardinality>
                  <ExactlyOne/>
               </cardinality>
               <type>V</type>
               <diagram>
                  <path>
                     <srcattach>0.5</srcattach>
                  </path>
               </diagram>
            </composition>
         </entity_type>
         <entity_type>
            <name>V</name>
            <presentation>
               <below>VP</below>
               <y>0.4</y>
            </presentation>
         </entity_type>
         <entity_type>
            <name>PrepP</name>
            <composition>
               <cardinality>
                  <ExactlyOne/>
               </cardinality>
               <type>Prep</type>
            </composition>
            <presentation>
               <rightOf>VP</rightOf>
            </presentation>
         </entity_type>
      </entity_type>
      <entity_type>
         <name>Adj</name>
         <presentation>
            <rightOf>y</rightOf>
            <y>0.4</y>
         </presentation>
      </entity_type>
   </entity_type>
   <entity_type>
      <name>Det</name>
      <presentation>
         <below>x</below>
         <x>-4.2</x>
         <y>0.5</y>
      </presentation>
   </entity_type>
   <entity_type>
      <name>N</name>
      <presentation>
         <rightOf>Det</rightOf>
         <x>0.1</x>
      </presentation>
   </entity_type>
   <entity_type>
      <name>Prep</name>
      <presentation>
         <below>PrepP</below>
         <y>2.0</y>
      </presentation>
   </entity_type>
</entity_model>
