<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>Visualisation Control/icons.ai</filename>
    </added>
    <added>
      <filename>Visualisation Control/icons.fla</filename>
    </added>
    <added>
      <filename>Visualisation Control/lib/icons.swc</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,8 +1,7 @@
 &lt;component name=&quot;InspectionProjectProfileManager&quot;&gt;
   &lt;settings&gt;
     &lt;option name=&quot;PROJECT_PROFILE&quot; value=&quot;Project Default&quot; /&gt;
-    &lt;option name=&quot;USE_PROJECT_LEVEL_SETTINGS&quot; value=&quot;false&quot; /&gt;
-    &lt;scopes /&gt;
-    &lt;list size=&quot;0&quot; /&gt;
+    &lt;option name=&quot;USE_PROJECT_PROFILE&quot; value=&quot;false&quot; /&gt;
+    &lt;version value=&quot;1.0&quot; /&gt;
   &lt;/settings&gt;
 &lt;/component&gt;
\ No newline at end of file</diff>
      <filename>.idea/inspectionProfiles/profiles_settings.xml</filename>
    </modified>
    <modified>
      <diff></diff>
      <filename>MASTER/Classifications.xlsx</filename>
    </modified>
    <modified>
      <diff>@@ -44,7 +44,7 @@ Here are detailed instructions for getting this rolling on a clean Ubuntu 9 Virt
    gem install haml
    gem update
    git clone git://github.com/andreasronge/neo4j.git
-6. cd to install/dir/neo4j (downloaded earlier via Git) then run rake:gem install
+6. cd to install/dir/neo4j (downloaded earlier via Git) then run rake gem:install
 7. From command line git clone git://github.com/sashaagafonoff/peoplemap.git (some users may wish to fork instead)
 8. Download (http://www.aptana.com) and extract Aptana Studio to your home folder, run and add RadRails plugin (Git is also useful)
 9. Run Aptana, go to Window | Preferences | Ruby | Installed Interpreters, remove the reference to the existing JRuby VM and create a new one pointing to your JRuby location (eg /opt).  If you don't have any other instances of Ruby on your machine, Aptana may prompt you to use JRuby, but warn against doing it.  Do it anyway.</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -47,7 +47,6 @@
 						
 			var headingTF:TextFormat = new TextFormat();
 			headingTF.color = 0xffffffff;
-			headingTF.bold = true;
 			headingTF.font = &quot;Arial&quot;;
 			headingTF.size = 12;
 			
@@ -70,36 +69,40 @@
 				var ts:TextSprite = new TextSprite(ns.data.name,nodeTF);	
 				ns.addChild(ts);	
 				ns.width = ts.width;
-
-				//var rs:RectSprite = new RectSprite( -9,-9,18,18,5,5);
-				var rs:Sprite = new Sprite();
- 
+				
+				var rs:Sprite = new Sprite;
+				
 				if (ns.data.node_class == &quot;person&quot;) {
-					rs.graphics.lineStyle(3, 0xffFF9933);
-					rs.graphics.beginFill(0xffFF9933, 0.5);
+					if (ns.data.sex == &quot;Female&quot;) {
+						rs.addChild(new female);
+					} else {
+						rs.addChild(new male);
+					}
 				} else if (ns.data.node_class == &quot;organisation&quot;) {
-					rs.graphics.lineStyle(3, 0xff00CC99);
-					rs.graphics.beginFill(0xff00CC99, 0.5);
+					rs.addChild(new organisation);
 				} else if (ns.data.node_class == &quot;location&quot;) {
-					rs.graphics.lineStyle(3, 0xff9999CC);
-					rs.graphics.beginFill(0xff9999CC, 0.5);
+					rs.addChild(new location);
 				} else if (ns.data.node_class == &quot;reference&quot;) {
-					rs.graphics.lineStyle(3, 0xff3399CC);
-					rs.graphics.beginFill(0xff3399CC, 0.5);
+					switch(ns.data.reference_type) {
+						case &quot;email&quot;:
+							rs.addChild(new email);
+							break;
+						default:
+							rs.addChild(new reference);
+					}
 				} else if (ns.data.node_class == &quot;event&quot;) {
-					rs.graphics.lineStyle(3, 0xffFFFF99);
-					rs.graphics.beginFill(0xffFFFF99, 0.5);
+					rs.addChild(new event);
 				} else { // shouldn't happen
-					rs.graphics.lineStyle(1, 0x000000);
-					rs.graphics.beginFill(0xffffff, 0.3);
+					rs.addChild(new reference);
 				}
 				
-				rs.graphics.drawCircle(0, 0, 7);
-	 
-				// center below circle
-				ts.x = rs.x - ts.width / 2 + 2;
-				ts.y = rs.y + 10;
+				rs.x = -20;
+				rs.y = -20;
 				
+				// center below circle
+				ts.x = rs.x - ts.width / 2 + 15;
+				ts.y = rs.y + 40;
+
 				ns.addChildAt(rs, 0); // at position 0 so that the text label is drawn above the rectangular box
 				ns.size = 0;
 				ns.mouseChildren = false; </diff>
      <filename>Visualisation Control/src/Main.as</filename>
    </modified>
    <modified>
      <diff>@@ -17,8 +17,8 @@ class ApplicationController &lt; ActionController::Base
 
   def linker(params)
     
-    @origin = Neo4j.load(params[:origin_id]) if params[:origin_id]
-    @target = Neo4j.load(params[:target_id]) if params[:target_id]
+    @origin = Neo4j.load(params[:origin_id])
+    @target = Neo4j.load(params[:target_id])
 
     # construct predicate type
     @rel_string = params[:origin_type] + &quot;_to_&quot; + params[:target_type]
@@ -27,59 +27,57 @@ class ApplicationController &lt; ActionController::Base
       when &quot;person_to_person&quot;
         rel = @origin.person_to_person.new(@target)        
       when &quot;person_to_organisation&quot;
-        rel = @origin.person_to_org.new(@target)        
+        rel = @origin.person_to_organisation.new(@target)
       when &quot;person_to_location&quot;
-        rel = @origin.person_to_loc.new(@target)        
+        rel = @origin.person_to_location.new(@target)
       when &quot;person_to_event&quot;
-        rel = @origin.person_to_event.new(@target)        
+        rel = @origin.person_to_event.new(@target)
       when &quot;person_to_reference&quot;
-        rel = @origin.person_to_ref.new(@target)        
+        rel = @origin.person_to_reference.new(@target)
 
       when &quot;organisation_to_person&quot;
-        rel = @target.person_to_org.new(@origin)   # note that the direction of the relationship necessitates inversion of the creation order
+        rel = @origin.organisation_to_person.new(@target)
       when &quot;organisation_to_organisation&quot;
-        rel = @origin.org_to_org.new(@target)        
+        rel = @origin.organisation_to_organisation.new(@target)
       when &quot;organisation_to_location&quot;
-        rel = @origin.org_to_loc.new(@target)        
+        rel = @origin.organisation_to_location.new(@target)
       when &quot;organisation_to_event&quot;
-        rel = @origin.org_to_event.new(@target)        
+        rel = @origin.organisation_to_event.new(@target)
       when &quot;organisation_to_reference&quot;
-        rel = @origin.org_to_ref.new(@target)        
+        rel = @origin.organisation_to_reference.new(@target)
 
       when &quot;location_to_person&quot;
-        rel = @target.person_to_loc.new(@origin)        
+        rel = @origin.location_to_person.new(@target)
       when &quot;location_to_organisation&quot;
-        rel = @target.org_to_loc.new(@origin)        
+        rel = @origin.location_to_organisation.new(@target)
       when &quot;location_to_location&quot;
-        rel = @origin.loc_to_loc.new(@target)        
+        rel = @origin.location_to_location.new(@target)
       when &quot;location_to_event&quot;
-        rel = @target.org_to_event.new(@origin)        
+        rel = @origin.location_to_event.new(@target)
       when &quot;location_to_reference&quot;
-        rel = @origin.org_to_ref.new(@target)        
+        rel = @origin.location_to_reference.new(@target)
 
       when &quot;event_to_person&quot;
-        rel = @target.person_to_event.new(@origin)        
+        rel = @origin.event_to_person.new(@target)
       when &quot;event_to_organisation&quot;
-        rel = @target.org_to_event.new(@origin)        
+        rel = @origin.event_to_organisation.new(@target)
       when &quot;event_to_location&quot;
-        rel = @origin.event_to_loc.new(@target)        
+        rel = @origin.event_to_location.new(@target)
       when &quot;event_to_event&quot;
-        rel = @origin.event_to_event.new(@target)        
+        rel = @origin.event_to_event.new(@target)
       when &quot;event_to_reference&quot;
-        rel = @origin.event_to_ref.new(@target)        
+        rel = @origin.event_to_reference.new(@target)
 
        when &quot;reference_to_person&quot;
-        rel = @target.person_to_ref.new(@origin)        
+        rel = @origin.reference_to_person.new(@target)
       when &quot;reference_to_organisation&quot;
-        rel = @target.org_to_ref.new(@origin)        
+        rel = @origin.reference_to_organisation.new(@target)
       when &quot;reference_to_location&quot;
-        rel = @target.loc_to_ref.new(@origin)        
+        rel = @origin.reference_to_location.new(@target)
       when &quot;reference_to_event&quot;
-        rel = @target.event_to_ref.new(@origin)        
-
-      
+        rel = @origin.reference_to_event.new(@target)
       when &quot;reference_to_reference&quot;
-        rel = @origin.ref_to_ref.new(@target)        
+        rel = @origin.reference_to_reference.new(@target)        
 
     end
 </diff>
      <filename>app/controllers/application_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -32,11 +32,11 @@ class PeopleController &lt; ApplicationController
   end
   
   def show
-    @references = Reference.all.nodes
-    @organisations = Organisation.all.nodes
-    @people = Person.all.nodes
-    @locations = Location.all.nodes
-    @events = Event.all.nodes
+    @references = Reference.all.nodes.to_a
+    @organisations = Organisation.all.nodes.to_a
+    @people = Person.all.nodes.to_a
+    @locations = Location.all.nodes.to_a
+    @events = Event.all.nodes.to_a
   end
 
   def link</diff>
      <filename>app/controllers/people_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -4,15 +4,15 @@ module ApplicationHelper
   def get_top_menu_style(controller_type)
     case controller_type.to_s
       when &quot;PeopleController&quot;
-        @people_style = &quot;color: #f1c130&quot;
+        @people_style = &quot;color: #f1c130;&quot;
       when &quot;OrganisationsController&quot;
-        @org_style = &quot;color: #f1c130&quot;
+        @org_style = &quot;color: #f1c130;&quot;
       when &quot;EventsController&quot;
-        @event_style = &quot;color: #f1c130&quot;
+        @event_style = &quot;color: #f1c130;&quot;
       when &quot;LocationsController&quot;
-        @location_style = &quot;color: #f1c130&quot;
+        @location_style = &quot;color: #f1c130;&quot;
       when &quot;ReferencesController&quot;
-        @reference_style = &quot;color: #f1c130&quot;
+        @reference_style = &quot;color: #f1c130;&quot;
     end
   end
 
@@ -31,96 +31,54 @@ module ApplicationHelper
   end
 
   def get_relationship_description(edge)
-    case edge.start_node.class.to_s
-      when &quot;Person&quot;
-        if (edge.end_date == &quot;&quot; || edge.end_date &gt; Date.today.to_s) then
-          if (edge.start_node.sex == &quot;Male&quot;) then
-            @link_desc = &quot;link_desc_male&quot;
-          else
-            @link_desc = &quot;link_desc_female&quot;
-          end
-        else # for past relationships
-          if (edge.start_node.sex == &quot;Male&quot;) then
-            @link_desc = &quot;link_desc_male_past&quot;
-          else
-            @link_desc = &quot;link_desc_female_past&quot;
-          end
-        end
-      else
-        if (edge.end_date == &quot;&quot; || edge.end_date &gt; Date.today.to_s) then
-          @link_desc = &quot;link_desc_male&quot;
-        else
-          @link_desc = &quot;link_desc_male_past&quot;
-        end
+    if (edge.end_date == &quot;&quot; || edge.end_date &gt; Date.today.to_s) then
+      @link_desc = &quot;link_desc&quot;
+    else # for past relationships
+      @link_desc = &quot;link_desc_past&quot;
     end
-    @@cache ||= {}
-    unless @@cache[edge.name]
+    @@cache2 ||= {}
+    edge_name = edge.name
+    key = @link_desc + edge_name
+    unless @@cache2[key]
       xml = File.open(&quot;#{RAILS_ROOT}/config/relationships.xml&quot;)
       doc = Document.new(xml)
-      xpath_query = '//relationships/relationship[@name=&quot;' + edge.name + '&quot;]/' + @link_desc
-      @@cache[edge.name] = XPath.first(doc, xpath_query).text
+      xpath_query = '//relationships/relationship[@name=&quot;' + edge_name + '&quot;]/' + @link_desc
+      @@cache2[key] = XPath.first(doc, xpath_query).text
       xml.close
     end
-    @rel_desc = @@cache[edge.name]
-
+    @rel_desc = @@cache2[key]
   end
   
-  def get_type_list(origin_type, target_type)
-    case # this annoying set of nested case statements switch the order for the purposes of matching against the rel types in relationships.xml
-      when (origin_type == &quot;organisation&quot; and target_type == &quot;person&quot;)
-        origin_type = &quot;person&quot; 
-        target_type = &quot;organisation&quot;
-      when origin_type == &quot;event&quot;
-        case target_type
-          when &quot;person&quot;
-            origin_type = &quot;person&quot; 
-            target_type = &quot;event&quot;
-          when &quot;organisation&quot;
-            origin_type = &quot;organisation&quot;
-            target_type = &quot;event&quot;
-        end
-      when origin_type == &quot;location&quot;
-        case target_type
-          when &quot;person&quot;
-            origin_type = &quot;person&quot; 
-            target_type = &quot;location&quot;
-          when &quot;organisation&quot;
-            origin_type = &quot;organisation&quot; 
-            target_type = &quot;location&quot;
-          when &quot;event&quot;
-            origin_type = &quot;event&quot; 
-            target_type = &quot;location&quot;
-        end
-      when origin_type == &quot;reference&quot;
-        case target_type
-          when &quot;person&quot;
-            origin_type = &quot;person&quot; 
-            target_type = &quot;reference&quot;
-          when &quot;organisation&quot;
-            origin_type = &quot;organisation&quot; 
-            target_type = &quot;reference&quot;
-          when &quot;event&quot;
-            origin_type = &quot;event&quot; 
-            target_type = &quot;reference&quot;
-          when &quot;location&quot;
-            origin_type = &quot;location&quot; 
-            target_type = &quot;reference&quot;
-        end
-    end
-
-    @@cache2 ||= {}
-    key = origin_type + target_type
-    unless @@cache2[key]
+  def get_type_list(origin_type, target_type, origin_gender)
+    @@cache ||= {}
+    key = &quot;#{origin_type}:#{target_type}:#{origin_gender}&quot;
+    unless @@cache[key]
       xml = File.open(&quot;#{RAILS_ROOT}/config/relationships.xml&quot;)
       doc = Document.new(xml)
-      drop_list_display = '//relationships/relationship[@subject=&quot;' + origin_type + '&quot; and @object=&quot;' + target_type + '&quot;]/option' # /text() will return just node values
-      @@cache2[key] = XPath.match(doc, drop_list_display)
+      case origin_gender
+        when &quot;Male&quot;
+          @gender_modifier = ' and (@gender_specific=&quot;male&quot; or @gender_specific=&quot;neutral&quot;)'
+        when &quot;Female&quot;
+          @gender_modifier = ' and (@gender_specific=&quot;female&quot; or @gender_specific=&quot;neutral&quot;)'
+        else
+          @gender_modifier = ''
+      end
+      drop_list_display = '//relationships/relationship[@predicate=&quot;' + origin_type + '_to_' + target_type + '&quot;'+ @gender_modifier +']/option' # /text() will return just node values
+      @@cache[key] = XPath.match(doc, drop_list_display)
       xml.close
     end
-    return @@cache2[key]
+    @@cache[key]
   end
-  
- # generic traverser to 2 levels deep for entire link set - can easily replace with filtered search like /views/shared/_filtered_target.html.haml
+
+  def get_gender(object)
+    if object.class.to_s == &quot;Person&quot; then
+      if (object.sex.nil?) then &quot;neutral&quot; else object.sex end
+    else
+      &quot;neutral&quot;
+    end
+  end
+
+ # generic traverser to 2 levels deep for entire link set - can easily replace with filtered traversals using both(:link_type)
 
   def convert_to_graphml(object)
 
@@ -176,6 +134,7 @@ module ApplicationHelper
           &lt;data key=&quot;name&quot;&gt;' + [node.first_name, node.surname].join(&quot; &quot;) + '&lt;/data&gt;
           &lt;data key=&quot;first_name&quot;&gt;' + (if(node.first_name=='') then 'EMPTY' else node.first_name end) + '&lt;/data&gt;
           &lt;data key=&quot;surname&quot;&gt;' + (if(node.surname=='') then 'EMPTY' else node.surname end) + '&lt;/data&gt;
+          &lt;data key=&quot;sex&quot;&gt;' + (if(node.sex=='') then 'EMPTY' else node.sex end) + '&lt;/data&gt;
           &lt;data key=&quot;date_of_birth&quot;&gt;' + (if(node.date_of_birth=='') then 'EMPTY' else node.date_of_birth end) + '&lt;/data&gt;
           &lt;data key=&quot;title&quot;&gt;' + (if(node.title=='') then 'EMPTY' else node.title end) + '&lt;/data&gt;
           &lt;data key=&quot;notes&quot;&gt;' + (if(node.notes=='') then 'EMPTY' else node.notes end) + '&lt;/data&gt; </diff>
      <filename>app/helpers/application_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -4,12 +4,17 @@ class Event
   
   property :title, :description, :event_type, :start_date, :end_date, :notes
   
-  has_n(:person_to_event).to(Person).relationship(Role)
-  has_n(:org_to_event).to(Organisation).relationship(Role)
+  has_n(:event_to_person).to(Person).relationship(Role)
+  has_n(:event_to_organisation).to(Organisation).relationship(Role)
   has_n(:event_to_event).to(Organisation).relationship(Role)
-  has_n(:event_to_loc).to(Location).relationship(Role)
-  has_n(:event_to_ref).to(Reference).relationship(Role)
-  
+  has_n(:event_to_location).to(Location).relationship(Role)
+  has_n(:event_to_reference).to(Reference).relationship(Role)
+
+  has_n(:person_to_event).from(Person).relationship(Role)
+  has_n(:organisation_to_event).from(Organisation).relationship(Role)
+  has_n(:location_to_event).from(Location).relationship(Role)
+  has_n(:reference_to_event).from(Reference).relationship(Role)
+
   index :title, :event_type
 
   Event::EVENT_TYPES = [</diff>
      <filename>app/models/event.rb</filename>
    </modified>
    <modified>
      <diff>@@ -4,12 +4,17 @@ class Location
 
   property :apt_office_floor_number, :street_number, :street_name, :street_type, :suburb, :city, :country, :postcode, :notes
   
-  has_n(:person_to_loc).from(Person).relationship(Role)
-  has_n(:org_to_loc).from(Organisation).relationship(Role)
-  has_n(:event_to_loc).from(Event).relationship(Role)
-  has_n(:loc_to_loc).to(Location).relationship(Role)
-  has_n(:loc_to_ref).to(Reference).relationship(Role)
-  
+  has_n(:location_to_person).to(Person).relationship(Role)
+  has_n(:location_to_organisation).to(Organisation).relationship(Role)
+  has_n(:location_to_event).to(Event).relationship(Role)
+  has_n(:location_to_location).to(Location).relationship(Role)
+  has_n(:location_to_reference).to(Reference).relationship(Role)
+
+  has_n(:person_to_location).from(Person).relationship(Role)
+  has_n(:organisation_to_location).from(Organisation).relationship(Role)
+  has_n(:event_to_location).from(Event).relationship(Role)
+  has_n(:reference_to_location).from(Reference).relationship(Role)
+
   index :street_name, :suburb, :country
 
   Location::LOCATION_TYPES = [</diff>
      <filename>app/models/location.rb</filename>
    </modified>
    <modified>
      <diff>@@ -4,11 +4,16 @@ class Organisation
   
   property :name, :sector, :industry, :notes
   
-  has_n(:person_to_org).from(Person).relationship(Role)
-  has_n(:org_to_org).to(Organisation).relationship(Role)
-  has_n(:org_to_event).to(Event).relationship(Role)
-  has_n(:org_to_loc).to(Location).relationship(Role)
-  has_n(:org_to_ref).to(Reference).relationship(Role)
+  has_n(:organisation_to_person).to(Person).relationship(Role)
+  has_n(:organisation_to_organisation).to(Organisation).relationship(Role)
+  has_n(:organisation_to_event).to(Event).relationship(Role)
+  has_n(:organisation_to_location).to(Location).relationship(Role)
+  has_n(:organisation_to_reference).to(Reference).relationship(Role)
+
+  has_n(:person_to_organisation).from(Person).relationship(Role)
+  has_n(:event_to_organisation).from(Event).relationship(Role)
+  has_n(:location_to_organisation).from(Location).relationship(Role)
+  has_n(:reference_to_organisation).from(Reference).relationship(Role)
 
   index :name
 </diff>
      <filename>app/models/organisation.rb</filename>
    </modified>
    <modified>
      <diff>@@ -5,11 +5,16 @@ class Person
   property :title, :first_name, :middle_names, :surname, :maternal_name, :date_of_birth, :classification, :sex, :notes
   
   has_n(:person_to_person).to(Person).relationship(Role)
-  has_n(:person_to_org).to(Organisation).relationship(Role)
+  has_n(:person_to_organisation).to(Organisation).relationship(Role)
   has_n(:person_to_event).to(Event).relationship(Role)
-  has_n(:person_to_loc).to(Location).relationship(Role)
-  has_n(:person_to_ref).to(Reference).relationship(Role)
-  
+  has_n(:person_to_location).to(Location).relationship(Role)
+  has_n(:person_to_reference).to(Reference).relationship(Role)
+
+  has_n(:organisation_to_person).from(Organisation).relationship(Role)
+  has_n(:event_to_person).from(Event).relationship(Role)
+  has_n(:location_to_person).from(Location).relationship(Role)
+  has_n(:reference_to_person).from(Reference).relationship(Role)
+
   index :surname, :first_name, :classification
 
   Person::TITLE_TYPES = [</diff>
      <filename>app/models/person.rb</filename>
    </modified>
    <modified>
      <diff>@@ -4,12 +4,17 @@ class Reference
   
   property :reference_type, :ref_value, :notes
   
-  has_n(:person_to_ref).from(Person).relationship(Role)
-  has_n(:org_to_ref).from(Organisation).relationship(Role)
-  has_n(:loc_to_ref).from(Location).relationship(Role)
-  has_n(:event_to_ref).from(Event).relationship(Role)
-  has_n(:ref_to_ref).to(Reference).relationship(Role)
-  
+  has_n(:reference_to_person).to(Person).relationship(Role)
+  has_n(:reference_to_organisation).to(Organisation).relationship(Role)
+  has_n(:reference_to_location).to(Location).relationship(Role)
+  has_n(:reference_to_event).to(Event).relationship(Role)
+  has_n(:reference_to_reference).to(Reference).relationship(Role)
+
+  has_n(:person_to_reference).from(Person).relationship(Role)
+  has_n(:organisation_to_reference).from(Organisation).relationship(Role)
+  has_n(:location_to_reference).from(Location).relationship(Role)
+  has_n(:event_to_reference).from(Event).relationship(Role)
+
   index :ref_value, :reference_type
 
   Reference::REFERENCE_TYPES = [</diff>
      <filename>app/models/reference.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,6 +2,7 @@
   Node Finder
 %p
   This panel allows you to search for nodes in the underlying database and link to them from this node.
+  At the moment this panel lists every single node in the database, but soon it will provide a search function which will list matching results ordered by node type.
 %div{:class =&gt; &quot;all_nodes_list&quot;}
   %h2
     people
@@ -10,7 +11,7 @@
   - @people.each do |person|
     - if (person.neo_node_id != object.neo_node_id) then
       %div{:class =&gt; cycle('list_odd', 'list_even'), :id =&gt; person.neo_node_id}
-        = render( :partial =&gt; &quot;shared/relationship_form&quot;, :object =&gt; object, :locals =&gt; {:link_category_table =&gt; get_type_list(object.class.to_s.downcase, &quot;person&quot;), :target =&gt; person, :origin_type =&gt; object.class.to_s.downcase, :target_type =&gt; &quot;person&quot;})
+        = render( :partial =&gt; &quot;shared/relationship_form&quot;, :object =&gt; object, :locals =&gt; {:link_category_table =&gt; get_type_list(object.class.to_s.downcase, &quot;person&quot;,get_gender(object)), :target =&gt; person, :origin_type =&gt; object.class.to_s.downcase, :target_type =&gt; &quot;person&quot;})
 
 %div{:class =&gt; &quot;all_nodes_list&quot;}
   %h2
@@ -20,7 +21,7 @@
   - @organisations.each do |organisation|
     - if (organisation.neo_node_id != object.neo_node_id) then
       %div{:class =&gt; cycle('list_odd', 'list_even'), :id =&gt; organisation.neo_node_id}
-        = render( :partial =&gt; &quot;shared/relationship_form&quot;, :object =&gt; object, :locals =&gt; {:link_category_table =&gt; get_type_list(object.class.to_s.downcase, &quot;organisation&quot;), :target =&gt; organisation, :origin_type =&gt; object.class.to_s.downcase, :target_type =&gt; &quot;organisation&quot;})
+        = render( :partial =&gt; &quot;shared/relationship_form&quot;, :object =&gt; object, :locals =&gt; {:link_category_table =&gt; get_type_list(object.class.to_s.downcase, &quot;organisation&quot;,&quot;neutral&quot;), :target =&gt; organisation, :origin_type =&gt; object.class.to_s.downcase, :target_type =&gt; &quot;organisation&quot;})
 
 %div{:class =&gt; &quot;all_nodes_list&quot;}
   %h2
@@ -30,7 +31,7 @@
   - @locations.each do |location|
     - if (location.neo_node_id != object.neo_node_id) then
       %div{:class =&gt; cycle('list_odd', 'list_even'), :id =&gt; location.neo_node_id}
-        = render( :partial =&gt; &quot;shared/relationship_form&quot;, :object =&gt; object, :locals =&gt; {:link_category_table =&gt; get_type_list(object.class.to_s.downcase, &quot;location&quot;), :target =&gt; location, :origin_type =&gt; object.class.to_s.downcase, :target_type =&gt; &quot;location&quot;})
+        = render( :partial =&gt; &quot;shared/relationship_form&quot;, :object =&gt; object, :locals =&gt; {:link_category_table =&gt; get_type_list(object.class.to_s.downcase, &quot;location&quot;,&quot;neutral&quot;), :target =&gt; location, :origin_type =&gt; object.class.to_s.downcase, :target_type =&gt; &quot;location&quot;})
 %div{:class =&gt; &quot;all_nodes_list&quot;}
   %h2
     events
@@ -39,7 +40,7 @@
   - @events.each do |event|
     - if (event.neo_node_id != object.neo_node_id) then
       %div{:class =&gt; cycle('list_odd', 'list_even'), :id =&gt; event.neo_node_id}
-        = render( :partial =&gt; &quot;shared/relationship_form&quot;, :object =&gt; object, :locals =&gt; {:link_category_table =&gt; get_type_list(object.class.to_s.downcase, &quot;event&quot;), :target =&gt; event, :origin_type =&gt; object.class.to_s.downcase, :target_type =&gt; &quot;event&quot;})
+        = render( :partial =&gt; &quot;shared/relationship_form&quot;, :object =&gt; object, :locals =&gt; {:link_category_table =&gt; get_type_list(object.class.to_s.downcase, &quot;event&quot;,&quot;neutral&quot;), :target =&gt; event, :origin_type =&gt; object.class.to_s.downcase, :target_type =&gt; &quot;event&quot;})
 
 %div{:class =&gt; &quot;all_nodes_list&quot;}
   %h2
@@ -49,4 +50,4 @@
   - @references.each do |reference|
     - if (reference.neo_node_id != object.neo_node_id) then
       %div{:class =&gt; cycle('list_odd', 'list_even'), :id =&gt; reference.neo_node_id}
-        = render( :partial =&gt; &quot;shared/relationship_form&quot;, :object =&gt; object, :locals =&gt; {:link_category_table =&gt; get_type_list(object.class.to_s.downcase, &quot;reference&quot;), :target =&gt; reference, :origin_type =&gt; object.class.to_s.downcase, :target_type =&gt; &quot;reference&quot;})
+        = render( :partial =&gt; &quot;shared/relationship_form&quot;, :object =&gt; object, :locals =&gt; {:link_category_table =&gt; get_type_list(object.class.to_s.downcase, &quot;reference&quot;,&quot;neutral&quot;), :target =&gt; reference, :origin_type =&gt; object.class.to_s.downcase, :target_type =&gt; &quot;reference&quot;})</diff>
      <filename>app/views/shared/_all_nodes.html.haml</filename>
    </modified>
    <modified>
      <diff>@@ -7,6 +7,7 @@
   &lt;!-- Person --&gt;
   &lt;key attr.type=&quot;string&quot; id=&quot;first_name&quot; for=&quot;node&quot; attr.name=&quot;first_name&quot;/&gt;
   &lt;key attr.type=&quot;string&quot; id=&quot;surname&quot; for=&quot;node&quot; attr.name=&quot;surname&quot;/&gt;
+  &lt;key attr.type=&quot;string&quot; id=&quot;sex&quot; for=&quot;node&quot; attr.name=&quot;sex&quot;/&gt;
   &lt;key attr.type=&quot;string&quot; id=&quot;date_of_birth&quot; for=&quot;node&quot; attr.name=&quot;date_of_birth&quot;/&gt;
   &lt;key attr.type=&quot;string&quot; id=&quot;title&quot; for=&quot;node&quot; attr.name=&quot;title&quot;/&gt;
   &lt;!-- Organisation --&gt;</diff>
      <filename>app/views/shared/_graphml.html.haml</filename>
    </modified>
    <modified>
      <diff>@@ -6,6 +6,5 @@
   %h2
     all
   %ul{:class =&gt; &quot;link_desc&quot;, :style =&gt; &quot;border-top: solid 1px #b39da6;&quot;}
-  - # this needs to be fixed!!!! it just traverses outgoing links
   -	@object.relationships.both.each do |relationship|
     = render( :partial =&gt; &quot;shared/relationship_description&quot;, :object =&gt; relationship)
\ No newline at end of file</diff>
      <filename>app/views/shared/_list_rels.html.haml</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,7 @@
 # Be sure to restart your server when you modify this file
 
 # Specifies gem version of Rails to use when vendor/rails is not present
-RAILS_GEM_VERSION = '2.3.3' unless defined? RAILS_GEM_VERSION
+#RAILS_GEM_VERSION = '2.3.3' unless defined? RAILS_GEM_VERSION
 
 # Bootstrap the Rails environment, frameworks, and default configuration
 require File.join(File.dirname(__FILE__), 'boot')</diff>
      <filename>config/environment.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,594 +1,138 @@
 &lt;relationships&gt;
-  &lt;relationship name=&quot;parent_of&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot;&gt;
-    &lt;group&gt;direct_family_of&lt;/group&gt;
-    &lt;option value=&quot;parent_of&quot;&gt;is the parent of&lt;/option&gt;
-    &lt;link_desc_male&gt;is the father of&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was the father of&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is the mother of&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was the mother of&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;adoptive_parent_of&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot;&gt;
-    &lt;group&gt;direct_family_of&lt;/group&gt;
-    &lt;option value=&quot;adoptive_parent_of&quot;&gt;is the adoptive parent of&lt;/option&gt;
-    &lt;link_desc_male&gt;is the adoptive father of&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was the adoptive father of&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is the adoptive mother of&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was the adoptive mother of&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;step_parent_of&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot;&gt;
-    &lt;group&gt;direct_family_of&lt;/group&gt;
-    &lt;option value=&quot;step_parent_of&quot;&gt;is the step parent of&lt;/option&gt;
-    &lt;link_desc_male&gt;is the stepfather of&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was the stepfather of&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is the stepmother of&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was the stepmother of&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;sibling_of&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot;&gt;
-    &lt;group&gt;direct_family_of&lt;/group&gt;
-    &lt;option value=&quot;sibling_of&quot;&gt;is the sibling of&lt;/option&gt;
-    &lt;link_desc_male&gt;is the brother of&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was the brother of&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is the sister of&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was the sister of&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;step_sibling_of&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot;&gt;
-    &lt;group&gt;direct_family_of&lt;/group&gt;
-    &lt;option value=&quot;step_sibling_of&quot;&gt;if the step sibling of&lt;/option&gt;
-    &lt;link_desc_male&gt;is the stepbrother of&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was the stepbrother of&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is the stepsister of&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was the stepsister of&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;adoptive_sibling_of&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot;&gt;
-    &lt;group&gt;direct_family_of&lt;/group&gt;
-    &lt;option value=&quot;adoptive_sibling_of&quot;&gt;is the adoptive sibling of&lt;/option&gt;
-    &lt;link_desc_male&gt;is the adoptive brother of&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was the adoptive brother of&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is the adoptive sister of&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was the adoptive sister of&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;cousin_of&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot;&gt;
-    &lt;group&gt;wider_family_of&lt;/group&gt;
-    &lt;option value=&quot;cousin_of&quot;&gt;if the cousin of&lt;/option&gt;
-    &lt;link_desc_male&gt;is the cousin of&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was the cousin of&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is the cousin of&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was the cousin of&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;friend_of&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot;&gt;
-    &lt;group&gt;friend_of&lt;/group&gt;
-    &lt;option value=&quot;friend_of&quot;&gt;if the friend of&lt;/option&gt;
-    &lt;link_desc_male&gt;is the friend of&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was the friend of&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is the friend of&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was the friend of&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;best_friend_of&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot;&gt;
-    &lt;group&gt;friend_of&lt;/group&gt;
-    &lt;option value=&quot;best_friend_of&quot;&gt;is the best friend of&lt;/option&gt;
-    &lt;link_desc_male&gt;is the best friend of&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was the best friend of&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is the best friend of&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was the best friend of&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;boy_girl_friend_of&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot;&gt;
-    &lt;group&gt;friend_of&lt;/group&gt;
-    &lt;option value=&quot;boy_girl_friend_of&quot;&gt;is the boy/girlfriend of&lt;/option&gt;
-    &lt;link_desc_male&gt;is the boyfriend of&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was the boyfriend of&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is the girlfriend of&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was the girlfriend of&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;acquaintance_of&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot;&gt;
-    &lt;group&gt;friend_of&lt;/group&gt;
-    &lt;option value=&quot;acquaintance_of&quot;&gt;is the acquaintance of&lt;/option&gt;
-    &lt;link_desc_male&gt;is an acquaintance of&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was an acquaintance of&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is an acquaintance of&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was an acquaintance of&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;colleague_of&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot;&gt;
-    &lt;group&gt;colleague_of&lt;/group&gt;
-    &lt;option value=&quot;colleague_of&quot;&gt;is the colleague of&lt;/option&gt;
-    &lt;link_desc_male&gt;is the colleague of&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was the colleague of&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is the colleague of&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was the colleague of&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;manager_of&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot;&gt;
-    &lt;group&gt;colleague_of&lt;/group&gt;
-    &lt;option value=&quot;manager_of&quot;&gt;is the manager of&lt;/option&gt;
-    &lt;link_desc_male&gt;is the manager of&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was the manager of&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is the manager of&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was the manager of&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;partner_of&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot;&gt;
-    &lt;group&gt;colleague_of&lt;/group&gt;
-    &lt;option value=&quot;partner_of&quot;&gt;is the partner of&lt;/option&gt;
-    &lt;link_desc_male&gt;is the partner of&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was the partner of&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is the partner of&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was the partner of&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;associate_of&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot;&gt;
-    &lt;group&gt;colleague_of&lt;/group&gt;
-    &lt;option value=&quot;associate_of&quot;&gt;is the associate of&lt;/option&gt;
-    &lt;link_desc_male&gt;is the associate of&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was the associate of&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is the associate of&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was the associate of&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;spouse_of&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot;&gt;
-    &lt;group&gt;life_partner_of&lt;/group&gt;
-    &lt;option value=&quot;spouse_of&quot;&gt;is the married spouse of&lt;/option&gt;
-    &lt;link_desc_male&gt;is the husband of&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was the husband of&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is the wife of&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was the wife of&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;defacto_of&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot;&gt;
-    &lt;group&gt;life_partner_of&lt;/group&gt;
-    &lt;option value=&quot;defacto_of&quot;&gt;is the defacto of&lt;/option&gt;
-    &lt;link_desc_male&gt;is the defacto spouse of&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was the defacto spouse of&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is the defacto spouse of&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was the defacto spouse of&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;works_for&quot; subject=&quot;person&quot; predicate=&quot;person_to_org&quot; object=&quot;organisation&quot;&gt;
-    &lt;group&gt;works_for&lt;/group&gt;
-    &lt;option value=&quot;works_for&quot;&gt;works for&lt;/option&gt;
-    &lt;link_desc_male&gt;works for&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;worked for&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;works for&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;worked for&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;CEO_of&quot; subject=&quot;person&quot; predicate=&quot;person_to_org&quot; object=&quot;organisation&quot;&gt;
-    &lt;group&gt;works_for&lt;/group&gt;
-    &lt;option value=&quot;CEO_of&quot;&gt;is the CEO of&lt;/option&gt;
-    &lt;link_desc_male&gt;is the CEO of&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was the CEO of&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is the CEO of&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was the CEO of&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;boss_of&quot; subject=&quot;person&quot; predicate=&quot;person_to_org&quot; object=&quot;organisation&quot;&gt;
-    &lt;group&gt;works_for&lt;/group&gt;
-    &lt;option value=&quot;boss_of&quot;&gt;is the boss of&lt;/option&gt;
-    &lt;link_desc_male&gt;is the boss of&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was the boss of&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is the boss of&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was the boss of&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;consultant_for&quot; subject=&quot;person&quot; predicate=&quot;person_to_org&quot; object=&quot;organisation&quot;&gt;
-    &lt;group&gt;works_for&lt;/group&gt;
-    &lt;option value=&quot;consultant_for&quot;&gt;is a consultant for&lt;/option&gt;
-    &lt;link_desc_male&gt;is a consultant for&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was a consultant for&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is a consultant for&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was a consultant for&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;member_of&quot; subject=&quot;person&quot; predicate=&quot;person_to_org&quot; object=&quot;organisation&quot;&gt;
-    &lt;group&gt;member_of&lt;/group&gt;
-    &lt;option value=&quot;member_of&quot;&gt;is a member of&lt;/option&gt;
-    &lt;link_desc_male&gt;is a member of&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was a member of&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is a member of&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was a member of&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;volunteer_for&quot; subject=&quot;person&quot; predicate=&quot;person_to_org&quot; object=&quot;organisation&quot;&gt;
-    &lt;group&gt;volunteer_for&lt;/group&gt;
-    &lt;option value=&quot;volunteer_for&quot;&gt;is a volunteer for&lt;/option&gt;
-    &lt;link_desc_male&gt;is a volunteer for&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was a volunteer for&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is a volunteer for&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was a volunteer for&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;banned_from&quot; subject=&quot;person&quot; predicate=&quot;person_to_org&quot; object=&quot;organisation&quot;&gt;
-    &lt;group&gt;banned_from&lt;/group&gt;
-    &lt;option value=&quot;banned_from&quot;&gt;is banned from&lt;/option&gt;
-    &lt;link_desc_male&gt;is banned from&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was banned from&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is banned from&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was banned from&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;supports&quot; subject=&quot;person&quot; predicate=&quot;person_to_org&quot; object=&quot;organisation&quot;&gt;
-    &lt;group&gt;supports&lt;/group&gt;
-    &lt;option value=&quot;supports&quot;&gt;supports&lt;/option&gt;
-    &lt;link_desc_male&gt;is a supporter of&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was a supporter of&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is a supporter of&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was a supporter of&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;founder_of&quot; subject=&quot;person&quot; predicate=&quot;person_to_org&quot; object=&quot;organisation&quot;&gt;
-    &lt;group&gt;founder_of&lt;/group&gt;
-    &lt;option value=&quot;founder_of&quot;&gt;is the founder of&lt;/option&gt;
-    &lt;link_desc_male&gt;is the founder of&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was the founder of&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is the founder of&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was the founder of&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;attended&quot; subject=&quot;person&quot; predicate=&quot;person_to_event&quot; object=&quot;event&quot;&gt;
-    &lt;group&gt;direct_involvement&lt;/group&gt;
-    &lt;option value=&quot;attended&quot;&gt;attended/is attending&lt;/option&gt;
-    &lt;link_desc_male&gt;is attending&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;attended&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is attending&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;attended&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;organised&quot; subject=&quot;person&quot; predicate=&quot;person_to_event&quot; object=&quot;event&quot;&gt;
-    &lt;group&gt;direct_involvement&lt;/group&gt;
-    &lt;option value=&quot;organised&quot;&gt;organised/is organising&lt;/option&gt;
-    &lt;link_desc_male&gt;is organising&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;organised&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is organising&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;organised&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;caused&quot; subject=&quot;person&quot; predicate=&quot;person_to_event&quot; object=&quot;event&quot;&gt;
-    &lt;group&gt;direct_involvement&lt;/group&gt;
-    &lt;option value=&quot;caused&quot;&gt;caused&lt;/option&gt;
-    &lt;link_desc_male&gt;will cause&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;caused&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;will cause&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;caused&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;participated_in&quot; subject=&quot;person&quot; predicate=&quot;person_to_event&quot; object=&quot;event&quot;&gt;
-    &lt;group&gt;direct_involvement&lt;/group&gt;
-    &lt;option value=&quot;participated_in&quot;&gt;participated in&lt;/option&gt;
-    &lt;link_desc_male&gt;will participate in&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;participated in&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;will participate in&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;participated in&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;supports&quot; subject=&quot;person&quot; predicate=&quot;person_to_event&quot; object=&quot;event&quot;&gt;
-    &lt;group&gt;indirect_involvement&lt;/group&gt;
-    &lt;option value=&quot;supports&quot;&gt;supports&lt;/option&gt;
-    &lt;link_desc_male&gt;is supporting&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;supported&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is supporting&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;supported&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;objects_to&quot; subject=&quot;person&quot; predicate=&quot;person_to_event&quot; object=&quot;event&quot;&gt;
-    &lt;group&gt;indirect_involvement&lt;/group&gt;
-    &lt;option value=&quot;objects_to&quot;&gt;objects to&lt;/option&gt;
-    &lt;link_desc_male&gt;is objecting to&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;objected to&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is objecting to&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;objected to&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;email_for&quot; subject=&quot;person&quot; predicate=&quot;person_to_ref&quot; object=&quot;reference&quot;&gt;
-    &lt;group&gt;email_for&lt;/group&gt;
-    &lt;option value=&quot;email_for&quot;&gt;has the email&lt;/option&gt;
-    &lt;link_desc_male&gt;has the email&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was the email for&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is the email for&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was the email for&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;home_phone_for&quot; subject=&quot;person&quot; predicate=&quot;person_to_ref&quot; object=&quot;reference&quot;&gt;
-    &lt;group&gt;contact_number_for&lt;/group&gt;
-    &lt;option value=&quot;home_phone_for&quot;&gt;has the home phone&lt;/option&gt;
-    &lt;link_desc_male&gt;has the home phone&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was the home phone for&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is the home phone for&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was the home phone for&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;work_phone_for&quot; subject=&quot;person&quot; predicate=&quot;person_to_ref&quot; object=&quot;reference&quot;&gt;
-    &lt;group&gt;contact_number_for&lt;/group&gt;
-    &lt;option value=&quot;work_phone_for&quot;&gt;has the work phone&lt;/option&gt;
-    &lt;link_desc_male&gt;has the work phone&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was the work phone for&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is the work phone for&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was the work phone for&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;mobile_phone_for&quot; subject=&quot;person&quot; predicate=&quot;person_to_ref&quot; object=&quot;reference&quot;&gt;
-    &lt;group&gt;contact_number_for&lt;/group&gt;
-    &lt;option value=&quot;mobile_phone_for&quot;&gt;has the mobile phone&lt;/option&gt;
-    &lt;link_desc_male&gt;has the mobile phone&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was the mobile phone for&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is the mobile phone for&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was the mobile phone for&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;profile_photo_of&quot; subject=&quot;person&quot; predicate=&quot;person_to_ref&quot; object=&quot;reference&quot;&gt;
-    &lt;group&gt;photo_of&lt;/group&gt;
-    &lt;option value=&quot;profile_photo_of&quot;&gt;has the profile photo&lt;/option&gt;
-    &lt;link_desc_male&gt;has the profile photo&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was the profile photo for&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is the profile photo for&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was the profile photo for&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;photo_of&quot; subject=&quot;person&quot; predicate=&quot;person_to_ref&quot; object=&quot;reference&quot;&gt;
-    &lt;group&gt;photo_of&lt;/group&gt;
-    &lt;option value=&quot;photo_of&quot;&gt;is in the photograph&lt;/option&gt;
-    &lt;link_desc_male&gt;is in the photo&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was a photo of&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is a photo of&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was a photo of&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;url_for&quot; subject=&quot;person&quot; predicate=&quot;person_to_ref&quot; object=&quot;reference&quot;&gt;
-    &lt;group&gt;url_for&lt;/group&gt;
-    &lt;option value=&quot;url_for&quot;&gt;has the website&lt;/option&gt;
-    &lt;link_desc_male&gt;has the website&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was a website for&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is a website for&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was a website for&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;url_about&quot; subject=&quot;person&quot; predicate=&quot;person_to_ref&quot; object=&quot;reference&quot;&gt;
-    &lt;group&gt;url_for&lt;/group&gt;
-    &lt;option value=&quot;url_about&quot;&gt;has a related web page at&lt;/option&gt;
-    &lt;link_desc_male&gt;has a related web page at&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was a web page relating to&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is a web page relating to&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was a web page relating to&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;file_about&quot; subject=&quot;person&quot; predicate=&quot;person_to_ref&quot; object=&quot;reference&quot;&gt;
-    &lt;group&gt;file_about&lt;/group&gt;
-    &lt;option value=&quot;file_about&quot;&gt;has a file attachment at&lt;/option&gt;
-    &lt;link_desc_male&gt;has a file attachment at&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was a file attachment relating to&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;is a file attachment relating to&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;was a file attachment relating to&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;home_address_for&quot; subject=&quot;person&quot; predicate=&quot;person_to_loc&quot; object=&quot;location&quot;&gt;
-    &lt;group&gt;address_for&lt;/group&gt;
-    &lt;option value=&quot;home_address_for&quot;&gt;has the home address&lt;/option&gt;
-    &lt;link_desc_male&gt;lives at&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;lived at&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;holiday_address_for&quot; subject=&quot;person&quot; predicate=&quot;person_to_loc&quot; object=&quot;location&quot;&gt;
-    &lt;group&gt;address_for&lt;/group&gt;
-    &lt;option value=&quot;holiday_address_for&quot;&gt;holidays at&lt;/option&gt;
-    &lt;link_desc_male&gt;holidays at&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;used to holiday at&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;seen_at&quot; subject=&quot;person&quot; predicate=&quot;person_to_loc&quot; object=&quot;location&quot;&gt;
-    &lt;group&gt;location_for&lt;/group&gt;
-    &lt;option value=&quot;seen_at&quot;&gt;is seen at&lt;/option&gt;
-    &lt;link_desc_male&gt;is seen at&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was seen at&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;frequents&quot; subject=&quot;person&quot; predicate=&quot;person_to_loc&quot; object=&quot;location&quot;&gt;
-    &lt;group&gt;location_for&lt;/group&gt;
-    &lt;option value=&quot;frequents&quot;&gt;frequents&lt;/option&gt;
-    &lt;link_desc_male&gt;frequents&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;frequented&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;partner_of&quot; subject=&quot;organisation&quot; predicate=&quot;org_to_org&quot; object=&quot;organisation&quot;&gt;
-    &lt;group&gt;related_company_to&lt;/group&gt;
-    &lt;option value=&quot;partner_of&quot;&gt;is the partner of&lt;/option&gt;
-    &lt;link_desc_male&gt;is the partner of&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was the partner of&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;competitor_of&quot; subject=&quot;organisation&quot; predicate=&quot;org_to_org&quot; object=&quot;organisation&quot;&gt;
-    &lt;group&gt;competitor_of&lt;/group&gt;
-    &lt;option value=&quot;competitor_of&quot;&gt;is the competitor of&lt;/option&gt;
-    &lt;link_desc_male&gt;is a competitor of&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was a competitor of&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;parent_of&quot; subject=&quot;organisation&quot; predicate=&quot;org_to_org&quot; object=&quot;organisation&quot;&gt;
-    &lt;group&gt;related_company_to&lt;/group&gt;
-    &lt;option value=&quot;parent_of&quot;&gt;is the parent company of&lt;/option&gt;
-    &lt;link_desc_male&gt;is the parent company of&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was the parent company of&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;subsidiary_of&quot; subject=&quot;organisation&quot; predicate=&quot;org_to_org&quot; object=&quot;organisation&quot;&gt;
-    &lt;group&gt;related_company_to&lt;/group&gt;
-    &lt;option value=&quot;subsidiary_of&quot;&gt;is the subsidiary of&lt;/option&gt;
-    &lt;link_desc_male&gt;is the subsidiary of&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was the subsidiary of&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;organiser_of&quot; subject=&quot;organisation&quot; predicate=&quot;org_to_event&quot; object=&quot;event&quot;&gt;
-    &lt;group&gt;organiser_of&lt;/group&gt;
-    &lt;option value=&quot;organiser_of&quot;&gt;is the organiser of&lt;/option&gt;
-    &lt;link_desc_male&gt;is the organiser of&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was the organwaser of&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;promoter_of&quot; subject=&quot;organisation&quot; predicate=&quot;org_to_event&quot; object=&quot;event&quot;&gt;
-    &lt;group&gt;promoter_of&lt;/group&gt;
-    &lt;option value=&quot;promoter_of&quot;&gt;is the promoter of&lt;/option&gt;
-    &lt;link_desc_male&gt;is the promoter of&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was the promoter of&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;affected_by&quot; subject=&quot;organisation&quot; predicate=&quot;org_to_event&quot; object=&quot;event&quot;&gt;
-    &lt;group&gt;affected_by&lt;/group&gt;
-    &lt;option value=&quot;affected_by&quot;&gt;is affected by&lt;/option&gt;
-    &lt;link_desc_male&gt;is affected by&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was affected by&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;office_address_for&quot; subject=&quot;organisation&quot; predicate=&quot;org_to_loc&quot; object=&quot;location&quot;&gt;
-    &lt;group&gt;address_for&lt;/group&gt;
-    &lt;option value=&quot;office_address_for&quot;&gt;has the office address&lt;/option&gt;
-    &lt;link_desc_male&gt;has the office address&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;had the office address&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;hq_address_for&quot; subject=&quot;organisation&quot; predicate=&quot;org_to_loc&quot; object=&quot;location&quot;&gt;
-    &lt;group&gt;address_for&lt;/group&gt;
-    &lt;option value=&quot;hq_address_for&quot;&gt;has its headquarters at&lt;/option&gt;
-    &lt;link_desc_male&gt;has its headquarters at&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;had its headquarters at&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;warehouse_address_for&quot; subject=&quot;organisation&quot; predicate=&quot;org_to_loc&quot; object=&quot;location&quot;&gt;
-    &lt;group&gt;address_for&lt;/group&gt;
-    &lt;option value=&quot;warehouse_address_for&quot;&gt;has a warehouse at&lt;/option&gt;
-    &lt;link_desc_male&gt;has a warehouse at&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;had a warehouse at&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;mailing_address_for&quot; subject=&quot;organisation&quot; predicate=&quot;org_to_loc&quot; object=&quot;location&quot;&gt;
-    &lt;group&gt;address_for&lt;/group&gt;
-    &lt;option value=&quot;mailing_address_for&quot;&gt;has the mailing address&lt;/option&gt;
-    &lt;link_desc_male&gt;has the mailing address&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;had the mailing address&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;phone_for&quot; subject=&quot;organisation&quot; predicate=&quot;org_to_ref&quot; object=&quot;reference&quot;&gt;
-    &lt;group&gt;number_for&lt;/group&gt;
-    &lt;option value=&quot;phone_for&quot;&gt;has the phone number&lt;/option&gt;
-    &lt;link_desc_male&gt;has the phone number&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;had the phone number&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;fax_for&quot; subject=&quot;organisation&quot; predicate=&quot;org_to_ref&quot; object=&quot;reference&quot;&gt;
-    &lt;group&gt;number_for&lt;/group&gt;
-    &lt;option value=&quot;fax_for&quot;&gt;has the fax number&lt;/option&gt;
-    &lt;link_desc_male&gt;has the fax number&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;had the fax number&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;photo_of&quot; subject=&quot;organisation&quot; predicate=&quot;org_to_ref&quot; object=&quot;reference&quot;&gt;
-    &lt;group&gt;photo_of&lt;/group&gt;
-    &lt;option value=&quot;photo_of&quot;&gt;has the photo&lt;/option&gt;
-    &lt;link_desc_male&gt;has the photo&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;had the photo&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;url_for&quot; subject=&quot;organisation&quot; predicate=&quot;org_to_ref&quot; object=&quot;reference&quot;&gt;
-    &lt;group&gt;url_for&lt;/group&gt;
-    &lt;option value=&quot;url_for&quot;&gt;has a website at&lt;/option&gt;
-    &lt;link_desc_male&gt;has a website at&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;had a website at&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;url_about&quot; subject=&quot;organisation&quot; predicate=&quot;org_to_ref&quot; object=&quot;reference&quot;&gt;
-    &lt;group&gt;url_for&lt;/group&gt;
-    &lt;option value=&quot;url_about&quot;&gt;has a related web page at&lt;/option&gt;
-    &lt;link_desc_male&gt;has a related web page at&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;had a related web page at&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;file_about&quot; subject=&quot;organisation&quot; predicate=&quot;org_to_ref&quot; object=&quot;reference&quot;&gt;
-    &lt;group&gt;file_about&lt;/group&gt;
-    &lt;option value=&quot;file_about&quot;&gt;has a related file attachment at&lt;/option&gt;
-    &lt;link_desc_male&gt;has a related file attachment at&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;had a related file attachment at&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;email_for&quot; subject=&quot;organisation&quot; predicate=&quot;org_to_ref&quot; object=&quot;reference&quot;&gt;
-    &lt;group&gt;email_for&lt;/group&gt;
-    &lt;option value=&quot;email_for&quot;&gt;has the email address&lt;/option&gt;
-    &lt;link_desc_male&gt;has the email address&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;has the email address&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;location_for&quot; subject=&quot;event&quot; predicate=&quot;event_to_loc&quot; object=&quot;location&quot;&gt;
-    &lt;group&gt;location_for&lt;/group&gt;
-    &lt;option value=&quot;location_for&quot;&gt;is at the location&lt;/option&gt;
-    &lt;link_desc_male&gt;is at the location&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was at the location&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;related_to&quot; subject=&quot;event&quot; predicate=&quot;event_to_event&quot; object=&quot;event&quot;&gt;
-    &lt;group&gt;related_to&lt;/group&gt;
-    &lt;option value=&quot;related_to&quot;&gt;is related to&lt;/option&gt;
-    &lt;link_desc_male&gt;is related to&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was related to&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;phone_for&quot; subject=&quot;event&quot; predicate=&quot;event_to_ref&quot; object=&quot;reference&quot;&gt;
-    &lt;group&gt;number_for&lt;/group&gt;
-    &lt;option value=&quot;phone_for&quot;&gt;has the phone number&lt;/option&gt;
-    &lt;link_desc_male&gt;has the phone number&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;had the phone number&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;url_for&quot; subject=&quot;event&quot; predicate=&quot;event_to_ref&quot; object=&quot;reference&quot;&gt;
-    &lt;group&gt;url_for&lt;/group&gt;
-    &lt;option value=&quot;url_for&quot;&gt;has a website at&lt;/option&gt;
-    &lt;link_desc_male&gt;has a website at&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;had a website at&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;url_about&quot; subject=&quot;event&quot; predicate=&quot;event_to_ref&quot; object=&quot;reference&quot;&gt;
-    &lt;group&gt;url_for&lt;/group&gt;
-    &lt;option value=&quot;url_about&quot;&gt;has a related web page at&lt;/option&gt;
-    &lt;link_desc_male&gt;has a related web page at&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;had a related web page at&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;photo_of&quot; subject=&quot;event&quot; predicate=&quot;event_to_ref&quot; object=&quot;reference&quot;&gt;
-    &lt;group&gt;photo_of&lt;/group&gt;
-    &lt;option value=&quot;photo_of&quot;&gt;has the photo&lt;/option&gt;
-    &lt;link_desc_male&gt;has the photo&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;had the photo&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;file_about&quot; subject=&quot;event&quot; predicate=&quot;event_to_ref&quot; object=&quot;reference&quot;&gt;
-    &lt;group&gt;file_about&lt;/group&gt;
-    &lt;option value=&quot;file_about&quot;&gt;has a related file attachment at&lt;/option&gt;
-    &lt;link_desc_male&gt;has a related file attachment at&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;had a related file attachment at&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;photo_of&quot; subject=&quot;location&quot; predicate=&quot;loc_to_ref&quot; object=&quot;reference&quot;&gt;
-    &lt;group&gt;photo_of&lt;/group&gt;
-    &lt;option value=&quot;photo_of&quot;&gt;has the photo&lt;/option&gt;
-    &lt;link_desc_male&gt;has the photo&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;had the photo&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;file_about&quot; subject=&quot;location&quot; predicate=&quot;loc_to_ref&quot; object=&quot;reference&quot;&gt;
-    &lt;group&gt;file_about&lt;/group&gt;
-    &lt;option value=&quot;file_about&quot;&gt;has a related file attachment at&lt;/option&gt;
-    &lt;link_desc_male&gt;has a related file attachment at&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;had a related file attachment at&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;related_loc&quot; subject=&quot;location&quot; predicate=&quot;loc_to_loc&quot; object=&quot;location&quot;&gt;
-    &lt;group&gt;related_loc&lt;/group&gt;
-    &lt;option value=&quot;related_loc&quot;&gt;is related to&lt;/option&gt;
-    &lt;link_desc_male&gt;is related to&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was related to&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-  &lt;relationship name=&quot;ref_to&quot; subject=&quot;reference&quot; predicate=&quot;ref_to_ref&quot; object=&quot;reference&quot;&gt;
-    &lt;group&gt;ref_to&lt;/group&gt;
-    &lt;option value=&quot;ref_to&quot;&gt;is related to&lt;/option&gt;
-    &lt;link_desc_male&gt;is related to&lt;/link_desc_male&gt;
-    &lt;link_desc_male_past&gt;was related to&lt;/link_desc_male_past&gt;
-    &lt;link_desc_female&gt;0&lt;/link_desc_female&gt;
-    &lt;link_desc_female_past&gt;0&lt;/link_desc_female_past&gt;
-  &lt;/relationship&gt;
-&lt;/relationships&gt;
+&lt;relationship name=&quot;person_to_person_father&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot; gender_specific=&quot;male&quot;&gt;&lt;group&gt;direct_family_of&lt;/group&gt;&lt;option value=&quot;person_to_person_father&quot;&gt;is the father of&lt;/option&gt;&lt;link_desc&gt;is the father of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the father of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_person_mother&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot; gender_specific=&quot;female&quot;&gt;&lt;group&gt;direct_family_of&lt;/group&gt;&lt;option value=&quot;person_to_person_mother&quot;&gt;is the mother of&lt;/option&gt;&lt;link_desc&gt;is the mother of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the mother of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_person_adoptive father&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot; gender_specific=&quot;male&quot;&gt;&lt;group&gt;direct_family_of&lt;/group&gt;&lt;option value=&quot;person_to_person_adoptive father&quot;&gt;is the adoptive father of&lt;/option&gt;&lt;link_desc&gt;is the adoptive father of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the adoptive father of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_person_adoptive mother&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot; gender_specific=&quot;female&quot;&gt;&lt;group&gt;direct_family_of&lt;/group&gt;&lt;option value=&quot;person_to_person_adoptive mother&quot;&gt;is the adoptive mother of&lt;/option&gt;&lt;link_desc&gt;is the adoptive mother of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the adoptive mother of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_person_stepfather&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot; gender_specific=&quot;male&quot;&gt;&lt;group&gt;direct_family_of&lt;/group&gt;&lt;option value=&quot;person_to_person_stepfather&quot;&gt;is the stepfather of&lt;/option&gt;&lt;link_desc&gt;is the stepfather of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the stepfather of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_person_stepmother&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot; gender_specific=&quot;female&quot;&gt;&lt;group&gt;direct_family_of&lt;/group&gt;&lt;option value=&quot;person_to_person_stepmother&quot;&gt;is the stepmother of&lt;/option&gt;&lt;link_desc&gt;is the stepmother of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the stepmother of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_person_son&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot; gender_specific=&quot;male&quot;&gt;&lt;group&gt;direct_family_of&lt;/group&gt;&lt;option value=&quot;person_to_person_son&quot;&gt;is the son of&lt;/option&gt;&lt;link_desc&gt;is the son of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the son of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_person_daughter&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot; gender_specific=&quot;female&quot;&gt;&lt;group&gt;direct_family_of&lt;/group&gt;&lt;option value=&quot;person_to_person_daughter&quot;&gt;is the daughter of&lt;/option&gt;&lt;link_desc&gt;is the daughter of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the daughter of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_person_adoptive son&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot; gender_specific=&quot;male&quot;&gt;&lt;group&gt;direct_family_of&lt;/group&gt;&lt;option value=&quot;person_to_person_adoptive son&quot;&gt;is the adoptive son of&lt;/option&gt;&lt;link_desc&gt;is the adoptive son of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the adoptive son of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_person_adoptive daughter&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot; gender_specific=&quot;female&quot;&gt;&lt;group&gt;direct_family_of&lt;/group&gt;&lt;option value=&quot;person_to_person_adoptive daughter&quot;&gt;is the adoptive daughter of&lt;/option&gt;&lt;link_desc&gt;is the adoptive daughter of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the adoptive daughter of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_person_stepson&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot; gender_specific=&quot;male&quot;&gt;&lt;group&gt;direct_family_of&lt;/group&gt;&lt;option value=&quot;person_to_person_stepson&quot;&gt;is the stepson of&lt;/option&gt;&lt;link_desc&gt;is the stepson of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the stepson of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_person_stepdaughter&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot; gender_specific=&quot;female&quot;&gt;&lt;group&gt;direct_family_of&lt;/group&gt;&lt;option value=&quot;person_to_person_stepdaughter&quot;&gt;is the stepdaughter of&lt;/option&gt;&lt;link_desc&gt;is the stepdaughter of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the stepdaughter of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_person_brother&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot; gender_specific=&quot;male&quot;&gt;&lt;group&gt;direct_family_of&lt;/group&gt;&lt;option value=&quot;person_to_person_brother&quot;&gt;is the brother of&lt;/option&gt;&lt;link_desc&gt;is the brother of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the brother of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_person_sister&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot; gender_specific=&quot;female&quot;&gt;&lt;group&gt;direct_family_of&lt;/group&gt;&lt;option value=&quot;person_to_person_sister&quot;&gt;is the sister of&lt;/option&gt;&lt;link_desc&gt;is the sister of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the sister of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_person_stepbrother&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot; gender_specific=&quot;male&quot;&gt;&lt;group&gt;direct_family_of&lt;/group&gt;&lt;option value=&quot;person_to_person_stepbrother&quot;&gt;is the stepbrother of&lt;/option&gt;&lt;link_desc&gt;is the stepbrother of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the stepbrother of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_person_stepsister&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot; gender_specific=&quot;female&quot;&gt;&lt;group&gt;direct_family_of&lt;/group&gt;&lt;option value=&quot;person_to_person_stepsister&quot;&gt;is the stepsister of&lt;/option&gt;&lt;link_desc&gt;is the stepsister of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the stepsister of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_person_adoptive brother&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot; gender_specific=&quot;male&quot;&gt;&lt;group&gt;direct_family_of&lt;/group&gt;&lt;option value=&quot;person_to_person_adoptive brother&quot;&gt;is the adoptive brother of&lt;/option&gt;&lt;link_desc&gt;is the adoptive brother of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the adoptive brother of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_person_adoptive sister&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot; gender_specific=&quot;female&quot;&gt;&lt;group&gt;direct_family_of&lt;/group&gt;&lt;option value=&quot;person_to_person_adoptive sister&quot;&gt;is the adoptive sister of&lt;/option&gt;&lt;link_desc&gt;is the adoptive sister of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the adoptive sister of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_person_cousin&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;wider_family_of&lt;/group&gt;&lt;option value=&quot;person_to_person_cousin&quot;&gt;is the cousin of&lt;/option&gt;&lt;link_desc&gt;is the cousin of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the cousin of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_person_friend&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;friend_of&lt;/group&gt;&lt;option value=&quot;person_to_person_friend&quot;&gt;is the friend of&lt;/option&gt;&lt;link_desc&gt;is the friend of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the friend of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_person_best friend&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;friend_of&lt;/group&gt;&lt;option value=&quot;person_to_person_best friend&quot;&gt;is the best friend of&lt;/option&gt;&lt;link_desc&gt;is the best friend of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the best friend of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_person_boyfriend&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot; gender_specific=&quot;male&quot;&gt;&lt;group&gt;friend_of&lt;/group&gt;&lt;option value=&quot;person_to_person_boyfriend&quot;&gt;is the boyfriend of&lt;/option&gt;&lt;link_desc&gt;is the boyfriend of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the boyfriend of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_person_girlfriend&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot; gender_specific=&quot;female&quot;&gt;&lt;group&gt;friend_of&lt;/group&gt;&lt;option value=&quot;person_to_person_girlfriend&quot;&gt;is the girlfriend of&lt;/option&gt;&lt;link_desc&gt;is the girlfriend of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the girlfriend of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_person_acquaintance&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;friend_of&lt;/group&gt;&lt;option value=&quot;person_to_person_acquaintance&quot;&gt;is the acquaintance of&lt;/option&gt;&lt;link_desc&gt;is the acquaintance of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the acquaintance of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_person_colleague&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;colleague_of&lt;/group&gt;&lt;option value=&quot;person_to_person_colleague&quot;&gt;is the colleague of&lt;/option&gt;&lt;link_desc&gt;is the colleague of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the colleague of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_person_manager&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;colleague_of&lt;/group&gt;&lt;option value=&quot;person_to_person_manager&quot;&gt;is the manager of&lt;/option&gt;&lt;link_desc&gt;is the manager of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the manager of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_person_partner&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;colleague_of&lt;/group&gt;&lt;option value=&quot;person_to_person_partner&quot;&gt;is the partner of&lt;/option&gt;&lt;link_desc&gt;is the partner of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the partner of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_person_associate&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;colleague_of&lt;/group&gt;&lt;option value=&quot;person_to_person_associate&quot;&gt;is the associate of&lt;/option&gt;&lt;link_desc&gt;is the associate of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the associate of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_person_husband&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot; gender_specific=&quot;male&quot;&gt;&lt;group&gt;life_partner_of&lt;/group&gt;&lt;option value=&quot;person_to_person_husband&quot;&gt;is the husband of&lt;/option&gt;&lt;link_desc&gt;is the husband of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the husband of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_person_wife&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot; gender_specific=&quot;female&quot;&gt;&lt;group&gt;life_partner_of&lt;/group&gt;&lt;option value=&quot;person_to_person_wife&quot;&gt;is the wife of&lt;/option&gt;&lt;link_desc&gt;is the wife of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the wife of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_person_defacto&quot; subject=&quot;person&quot; predicate=&quot;person_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;life_partner_of&lt;/group&gt;&lt;option value=&quot;person_to_person_defacto&quot;&gt;is the defacto of&lt;/option&gt;&lt;link_desc&gt;is the defacto of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the defacto of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_organisation_employee&quot; subject=&quot;person&quot; predicate=&quot;person_to_organisation&quot; object=&quot;organisation&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;works_for&lt;/group&gt;&lt;option value=&quot;person_to_organisation_employee&quot;&gt;is an employee of&lt;/option&gt;&lt;link_desc&gt;is an employee of&lt;/link_desc&gt;&lt;link_desc_past&gt;was an employee of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_organisation_CEO&quot; subject=&quot;person&quot; predicate=&quot;person_to_organisation&quot; object=&quot;organisation&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;works_for&lt;/group&gt;&lt;option value=&quot;person_to_organisation_CEO&quot;&gt;is the CEO of&lt;/option&gt;&lt;link_desc&gt;is the CEO of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the CEO of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_organisation_boss&quot; subject=&quot;person&quot; predicate=&quot;person_to_organisation&quot; object=&quot;organisation&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;works_for&lt;/group&gt;&lt;option value=&quot;person_to_organisation_boss&quot;&gt;is the boss of&lt;/option&gt;&lt;link_desc&gt;is the boss of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the boss of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_organisation_consultant&quot; subject=&quot;person&quot; predicate=&quot;person_to_organisation&quot; object=&quot;organisation&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;works_for&lt;/group&gt;&lt;option value=&quot;person_to_organisation_consultant&quot;&gt;is a consultant for&lt;/option&gt;&lt;link_desc&gt;is a consultant for&lt;/link_desc&gt;&lt;link_desc_past&gt;was a consultant for&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_organisation_member&quot; subject=&quot;person&quot; predicate=&quot;person_to_organisation&quot; object=&quot;organisation&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;member_of&lt;/group&gt;&lt;option value=&quot;person_to_organisation_member&quot;&gt;is a member of&lt;/option&gt;&lt;link_desc&gt;is a member of&lt;/link_desc&gt;&lt;link_desc_past&gt;was a member of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_organisation_volunteer&quot; subject=&quot;person&quot; predicate=&quot;person_to_organisation&quot; object=&quot;organisation&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;volunteer_for&lt;/group&gt;&lt;option value=&quot;person_to_organisation_volunteer&quot;&gt;is a volunteer for&lt;/option&gt;&lt;link_desc&gt;is a volunteer for&lt;/link_desc&gt;&lt;link_desc_past&gt;was a volunteer for&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_organisation_banned&quot; subject=&quot;person&quot; predicate=&quot;person_to_organisation&quot; object=&quot;organisation&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;banned_from&lt;/group&gt;&lt;option value=&quot;person_to_organisation_banned&quot;&gt;is banned from&lt;/option&gt;&lt;link_desc&gt;is banned from&lt;/link_desc&gt;&lt;link_desc_past&gt;was banned from&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_organisation_supporter&quot; subject=&quot;person&quot; predicate=&quot;person_to_organisation&quot; object=&quot;organisation&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;supports&lt;/group&gt;&lt;option value=&quot;person_to_organisation_supporter&quot;&gt;is a supporter of&lt;/option&gt;&lt;link_desc&gt;is a supporter of&lt;/link_desc&gt;&lt;link_desc_past&gt;was a supporter of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;person_to_organisation_founder&quot; subject=&quot;person&quot; predicate=&quot;person_to_organisation&quot; object=&quot;organisation&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;founder_of&lt;/group&gt;&lt;option value=&quot;person_to_organisation_founder&quot;&gt;is the founder of&lt;/option&gt;&lt;link_desc&gt;is the founder of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the founder of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;organisation_to_person_employer&quot; subject=&quot;organisation&quot; predicate=&quot;organisation_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;works_for&lt;/group&gt;&lt;option value=&quot;organisation_to_person_employer&quot;&gt;is an employer of&lt;/option&gt;&lt;link_desc&gt;is an employer of&lt;/link_desc&gt;&lt;link_desc_past&gt;was an employer of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;organisation_to_person_CEO&quot; subject=&quot;organisation&quot; predicate=&quot;organisation_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;works_for&lt;/group&gt;&lt;option value=&quot;organisation_to_person_CEO&quot;&gt;has as its CEO&lt;/option&gt;&lt;link_desc&gt;has as its CEO&lt;/link_desc&gt;&lt;link_desc_past&gt;had as its CEO&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;organisation_to_person_boss&quot; subject=&quot;organisation&quot; predicate=&quot;organisation_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;works_for&lt;/group&gt;&lt;option value=&quot;organisation_to_person_boss&quot;&gt;has as its boss&lt;/option&gt;&lt;link_desc&gt;has as its boss&lt;/link_desc&gt;&lt;link_desc_past&gt;had as its boss&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;organisation_to_person_consultant&quot; subject=&quot;organisation&quot; predicate=&quot;organisation_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;works_for&lt;/group&gt;&lt;option value=&quot;organisation_to_person_consultant&quot;&gt;has as a consultant&lt;/option&gt;&lt;link_desc&gt;has as a consultant&lt;/link_desc&gt;&lt;link_desc_past&gt;had as a consultant&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;organisation_to_person_member&quot; subject=&quot;organisation&quot; predicate=&quot;organisation_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;member_of&lt;/group&gt;&lt;option value=&quot;organisation_to_person_member&quot;&gt;has as a member&lt;/option&gt;&lt;link_desc&gt;has as a member&lt;/link_desc&gt;&lt;link_desc_past&gt;had as a member&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;organisation_to_person_volunteer&quot; subject=&quot;organisation&quot; predicate=&quot;organisation_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;volunteer_for&lt;/group&gt;&lt;option value=&quot;organisation_to_person_volunteer&quot;&gt;has as a volunteer&lt;/option&gt;&lt;link_desc&gt;has as a volunteer&lt;/link_desc&gt;&lt;link_desc_past&gt;had as a volunteer&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;organisation_to_person_banned&quot; subject=&quot;organisation&quot; predicate=&quot;organisation_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;banned_from&lt;/group&gt;&lt;option value=&quot;organisation_to_person_banned&quot;&gt;is banned from&lt;/option&gt;&lt;link_desc&gt;is banned from&lt;/link_desc&gt;&lt;link_desc_past&gt;was banned from&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;organisation_to_person_supporter&quot; subject=&quot;organisation&quot; predicate=&quot;organisation_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;supports&lt;/group&gt;&lt;option value=&quot;organisation_to_person_supporter&quot;&gt;is a supporter of&lt;/option&gt;&lt;link_desc&gt;is a supporter of&lt;/link_desc&gt;&lt;link_desc_past&gt;was a supporter of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+&lt;relationship name=&quot;organisation_to_person_founder&quot; subject=&quot;organisation&quot; predicate=&quot;organisation_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;founder_of&lt;/group&gt;&lt;option value=&quot;organisation_to_person_founder&quot;&gt;is a founder of&lt;/option&gt;&lt;link_desc&gt;is a founder of&lt;/link_desc&gt;&lt;link_desc_past&gt;was a founder of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;person_to_event_attendee&quot; subject=&quot;person&quot; predicate=&quot;person_to_event&quot; object=&quot;event&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;direct_involvement&lt;/group&gt;&lt;option value=&quot;person_to_event_attendee&quot;&gt;is an attendee at&lt;/option&gt;&lt;link_desc&gt;is an attendee at&lt;/link_desc&gt;&lt;link_desc_past&gt;was an attendee at&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;person_to_event_organiser&quot; subject=&quot;person&quot; predicate=&quot;person_to_event&quot; object=&quot;event&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;direct_involvement&lt;/group&gt;&lt;option value=&quot;person_to_event_organiser&quot;&gt;is an organiser of&lt;/option&gt;&lt;link_desc&gt;is an organiser of&lt;/link_desc&gt;&lt;link_desc_past&gt;was an organiser of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;person_to_event_participant&quot; subject=&quot;person&quot; predicate=&quot;person_to_event&quot; object=&quot;event&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;direct_involvement&lt;/group&gt;&lt;option value=&quot;person_to_event_participant&quot;&gt;is a participant in&lt;/option&gt;&lt;link_desc&gt;is a participant in&lt;/link_desc&gt;&lt;link_desc_past&gt;was a participant in&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;person_to_event_supporter&quot; subject=&quot;person&quot; predicate=&quot;person_to_event&quot; object=&quot;event&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;indirect_involvement&lt;/group&gt;&lt;option value=&quot;person_to_event_supporter&quot;&gt;is a supporter of&lt;/option&gt;&lt;link_desc&gt;is a supporter of&lt;/link_desc&gt;&lt;link_desc_past&gt;was a supporter of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;person_to_event_objection&quot; subject=&quot;person&quot; predicate=&quot;person_to_event&quot; object=&quot;event&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;indirect_involvement&lt;/group&gt;&lt;option value=&quot;person_to_event_objection&quot;&gt;has an objection to&lt;/option&gt;&lt;link_desc&gt;has an objection to&lt;/link_desc&gt;&lt;link_desc_past&gt;had an objection to&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;event_to_person_attended&quot; subject=&quot;event&quot; predicate=&quot;event_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;direct_involvement&lt;/group&gt;&lt;option value=&quot;event_to_person_attended&quot;&gt;is attended by&lt;/option&gt;&lt;link_desc&gt;is attended by&lt;/link_desc&gt;&lt;link_desc_past&gt;was attended by&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;event_to_person_organised&quot; subject=&quot;event&quot; predicate=&quot;event_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;direct_involvement&lt;/group&gt;&lt;option value=&quot;event_to_person_organised&quot;&gt;is organised by&lt;/option&gt;&lt;link_desc&gt;is organised by&lt;/link_desc&gt;&lt;link_desc_past&gt;was organised by&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;event_to_person_participated in&quot; subject=&quot;event&quot; predicate=&quot;event_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;direct_involvement&lt;/group&gt;&lt;option value=&quot;event_to_person_participated in&quot;&gt;is participated in by&lt;/option&gt;&lt;link_desc&gt;is participated in by&lt;/link_desc&gt;&lt;link_desc_past&gt;was participated in by&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;event_to_person_supported&quot; subject=&quot;event&quot; predicate=&quot;event_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;indirect_involvement&lt;/group&gt;&lt;option value=&quot;event_to_person_supported&quot;&gt;is supported by&lt;/option&gt;&lt;link_desc&gt;is supported by&lt;/link_desc&gt;&lt;link_desc_past&gt;was supported by&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;event_to_person_objected to&quot; subject=&quot;event&quot; predicate=&quot;event_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;indirect_involvement&lt;/group&gt;&lt;option value=&quot;event_to_person_objected to&quot;&gt;is objected to by&lt;/option&gt;&lt;link_desc&gt;is objected to by&lt;/link_desc&gt;&lt;link_desc_past&gt;was objected to by&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;person_to_reference_email address&quot; subject=&quot;person&quot; predicate=&quot;person_to_reference&quot; object=&quot;reference&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;email_for&lt;/group&gt;&lt;option value=&quot;person_to_reference_email address&quot;&gt;has the email address of&lt;/option&gt;&lt;link_desc&gt;has the email address of&lt;/link_desc&gt;&lt;link_desc_past&gt;had the email address of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;person_to_reference_home phone&quot; subject=&quot;person&quot; predicate=&quot;person_to_reference&quot; object=&quot;reference&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;contact_number_for&lt;/group&gt;&lt;option value=&quot;person_to_reference_home phone&quot;&gt;has the home phone of&lt;/option&gt;&lt;link_desc&gt;has the home phone of&lt;/link_desc&gt;&lt;link_desc_past&gt;had the home phone of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;person_to_reference_work phone&quot; subject=&quot;person&quot; predicate=&quot;person_to_reference&quot; object=&quot;reference&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;contact_number_for&lt;/group&gt;&lt;option value=&quot;person_to_reference_work phone&quot;&gt;has the work phone of&lt;/option&gt;&lt;link_desc&gt;has the work phone of&lt;/link_desc&gt;&lt;link_desc_past&gt;had the work phone of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;person_to_reference_mobile phone&quot; subject=&quot;person&quot; predicate=&quot;person_to_reference&quot; object=&quot;reference&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;contact_number_for&lt;/group&gt;&lt;option value=&quot;person_to_reference_mobile phone&quot;&gt;has the mobile phone of&lt;/option&gt;&lt;link_desc&gt;has the mobile phone of&lt;/link_desc&gt;&lt;link_desc_past&gt;had the mobile phone of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;person_to_reference_profile photo&quot; subject=&quot;person&quot; predicate=&quot;person_to_reference&quot; object=&quot;reference&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;photo_of&lt;/group&gt;&lt;option value=&quot;person_to_reference_profile photo&quot;&gt;has a profile photo at&lt;/option&gt;&lt;link_desc&gt;has a profile photo at&lt;/link_desc&gt;&lt;link_desc_past&gt;had a profile photo at&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;person_to_reference_photograph&quot; subject=&quot;person&quot; predicate=&quot;person_to_reference&quot; object=&quot;reference&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;photo_of&lt;/group&gt;&lt;option value=&quot;person_to_reference_photograph&quot;&gt;is in the photograph at&lt;/option&gt;&lt;link_desc&gt;is in the photograph at&lt;/link_desc&gt;&lt;link_desc_past&gt;is in the photograph at&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;person_to_reference_website&quot; subject=&quot;person&quot; predicate=&quot;person_to_reference&quot; object=&quot;reference&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;url_for&lt;/group&gt;&lt;option value=&quot;person_to_reference_website&quot;&gt;has the website at&lt;/option&gt;&lt;link_desc&gt;has the website at&lt;/link_desc&gt;&lt;link_desc_past&gt;had the website at&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;person_to_reference_related web page&quot; subject=&quot;person&quot; predicate=&quot;person_to_reference&quot; object=&quot;reference&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;url_for&lt;/group&gt;&lt;option value=&quot;person_to_reference_related web page&quot;&gt;has a related web page at&lt;/option&gt;&lt;link_desc&gt;has a related web page at&lt;/link_desc&gt;&lt;link_desc_past&gt;had a related web page at&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;person_to_reference_file attachment&quot; subject=&quot;person&quot; predicate=&quot;person_to_reference&quot; object=&quot;reference&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;file_about&lt;/group&gt;&lt;option value=&quot;person_to_reference_file attachment&quot;&gt;has a file attachment at&lt;/option&gt;&lt;link_desc&gt;has a file attachment at&lt;/link_desc&gt;&lt;link_desc_past&gt;had a file attachment at&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;reference_to_person_email address&quot; subject=&quot;reference&quot; predicate=&quot;reference_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;email_for&lt;/group&gt;&lt;option value=&quot;reference_to_person_email address&quot;&gt;is an email address for&lt;/option&gt;&lt;link_desc&gt;is an email address for&lt;/link_desc&gt;&lt;link_desc_past&gt;was an email address for&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;reference_to_person_home phone&quot; subject=&quot;reference&quot; predicate=&quot;reference_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;contact_number_for&lt;/group&gt;&lt;option value=&quot;reference_to_person_home phone&quot;&gt;is the home phone for&lt;/option&gt;&lt;link_desc&gt;is the home phone for&lt;/link_desc&gt;&lt;link_desc_past&gt;was the home phone for&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;reference_to_person_work phone&quot; subject=&quot;reference&quot; predicate=&quot;reference_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;contact_number_for&lt;/group&gt;&lt;option value=&quot;reference_to_person_work phone&quot;&gt;is the work phone for&lt;/option&gt;&lt;link_desc&gt;is the work phone for&lt;/link_desc&gt;&lt;link_desc_past&gt;was the work phone for&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;reference_to_person_mobile phone&quot; subject=&quot;reference&quot; predicate=&quot;reference_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;contact_number_for&lt;/group&gt;&lt;option value=&quot;reference_to_person_mobile phone&quot;&gt;is the mobile phone for&lt;/option&gt;&lt;link_desc&gt;is the mobile phone for&lt;/link_desc&gt;&lt;link_desc_past&gt;was the mobile phone for&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;reference_to_person_profile photo&quot; subject=&quot;reference&quot; predicate=&quot;reference_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;photo_of&lt;/group&gt;&lt;option value=&quot;reference_to_person_profile photo&quot;&gt;is the profile photo of&lt;/option&gt;&lt;link_desc&gt;is the profile photo of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the profile photo of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;reference_to_person_photograph&quot; subject=&quot;reference&quot; predicate=&quot;reference_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;photo_of&lt;/group&gt;&lt;option value=&quot;reference_to_person_photograph&quot;&gt;is a photograph of&lt;/option&gt;&lt;link_desc&gt;is a photograph of&lt;/link_desc&gt;&lt;link_desc_past&gt;was a photograph of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;reference_to_person_website&quot; subject=&quot;reference&quot; predicate=&quot;reference_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;url_for&lt;/group&gt;&lt;option value=&quot;reference_to_person_website&quot;&gt;is a website for&lt;/option&gt;&lt;link_desc&gt;is a website for&lt;/link_desc&gt;&lt;link_desc_past&gt;was a website for&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;reference_to_person_related web page&quot; subject=&quot;reference&quot; predicate=&quot;reference_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;url_for&lt;/group&gt;&lt;option value=&quot;reference_to_person_related web page&quot;&gt;is a related web page for&lt;/option&gt;&lt;link_desc&gt;is a related web page for&lt;/link_desc&gt;&lt;link_desc_past&gt;was a related web page for&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;reference_to_person_file attachment&quot; subject=&quot;reference&quot; predicate=&quot;reference_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;file_about&lt;/group&gt;&lt;option value=&quot;reference_to_person_file attachment&quot;&gt;is a file attachment in relation to&lt;/option&gt;&lt;link_desc&gt;is a file attachment in relation to&lt;/link_desc&gt;&lt;link_desc_past&gt;was a file attachment in relation to&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;person_to_location_home address&quot; subject=&quot;person&quot; predicate=&quot;person_to_location&quot; object=&quot;location&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;address_for&lt;/group&gt;&lt;option value=&quot;person_to_location_home address&quot;&gt;has the home address of&lt;/option&gt;&lt;link_desc&gt;has the home address of&lt;/link_desc&gt;&lt;link_desc_past&gt;had the home address of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;person_to_location_holidays&quot; subject=&quot;person&quot; predicate=&quot;person_to_location&quot; object=&quot;location&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;address_for&lt;/group&gt;&lt;option value=&quot;person_to_location_holidays&quot;&gt;takes holidays at&lt;/option&gt;&lt;link_desc&gt;takes holidays at&lt;/link_desc&gt;&lt;link_desc_past&gt;took holidays at&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;person_to_location_seen&quot; subject=&quot;person&quot; predicate=&quot;person_to_location&quot; object=&quot;location&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;location_for&lt;/group&gt;&lt;option value=&quot;person_to_location_seen&quot;&gt;is seen at&lt;/option&gt;&lt;link_desc&gt;is seen at&lt;/link_desc&gt;&lt;link_desc_past&gt;was seen at&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;person_to_location_frequent&quot; subject=&quot;person&quot; predicate=&quot;person_to_location&quot; object=&quot;location&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;location_for&lt;/group&gt;&lt;option value=&quot;person_to_location_frequent&quot;&gt;is known to frequent the location&lt;/option&gt;&lt;link_desc&gt;is known to frequent the location&lt;/link_desc&gt;&lt;link_desc_past&gt;was known to frequent the location&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;location_to_person_home address&quot; subject=&quot;location&quot; predicate=&quot;location_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;address_for&lt;/group&gt;&lt;option value=&quot;location_to_person_home address&quot;&gt;is the home address for&lt;/option&gt;&lt;link_desc&gt;is the home address for&lt;/link_desc&gt;&lt;link_desc_past&gt;was the home address for&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;location_to_person_holidays at&quot; subject=&quot;location&quot; predicate=&quot;location_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;address_for&lt;/group&gt;&lt;option value=&quot;location_to_person_holidays at&quot;&gt;is a location for holidays at by&lt;/option&gt;&lt;link_desc&gt;is a location for holidays at by&lt;/link_desc&gt;&lt;link_desc_past&gt;was a location for holidays at by&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;location_to_person_see&quot; subject=&quot;location&quot; predicate=&quot;location_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;location_for&lt;/group&gt;&lt;option value=&quot;location_to_person_see&quot;&gt;is a location where you can see the person&lt;/option&gt;&lt;link_desc&gt;is a location where you can see the person&lt;/link_desc&gt;&lt;link_desc_past&gt;was a location where you could see the person&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;location_to_person_frequented&quot; subject=&quot;location&quot; predicate=&quot;location_to_person&quot; object=&quot;person&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;location_for&lt;/group&gt;&lt;option value=&quot;location_to_person_frequented&quot;&gt;is a location known to be frequented by&lt;/option&gt;&lt;link_desc&gt;is a location known to be frequented by&lt;/link_desc&gt;&lt;link_desc_past&gt;was a location which was known to be frequented by&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;organisation_to_organisation_partner&quot; subject=&quot;organisation&quot; predicate=&quot;organisation_to_organisation&quot; object=&quot;organisation&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;related_company_to&lt;/group&gt;&lt;option value=&quot;organisation_to_organisation_partner&quot;&gt;is the partner of&lt;/option&gt;&lt;link_desc&gt;is the partner of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the partner of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;organisation_to_organisation_competitor&quot; subject=&quot;organisation&quot; predicate=&quot;organisation_to_organisation&quot; object=&quot;organisation&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;competitor_of&lt;/group&gt;&lt;option value=&quot;organisation_to_organisation_competitor&quot;&gt;is the competitor of&lt;/option&gt;&lt;link_desc&gt;is the competitor of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the competitor of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;organisation_to_organisation_parent company&quot; subject=&quot;organisation&quot; predicate=&quot;organisation_to_organisation&quot; object=&quot;organisation&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;related_company_to&lt;/group&gt;&lt;option value=&quot;organisation_to_organisation_parent company&quot;&gt;is the parent company of&lt;/option&gt;&lt;link_desc&gt;is the parent company of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the parent company of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;organisation_to_organisation_subsidiary&quot; subject=&quot;organisation&quot; predicate=&quot;organisation_to_organisation&quot; object=&quot;organisation&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;related_company_to&lt;/group&gt;&lt;option value=&quot;organisation_to_organisation_subsidiary&quot;&gt;is the subsidiary of&lt;/option&gt;&lt;link_desc&gt;is the subsidiary of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the subsidiary of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;organisation_to_event_organiser&quot; subject=&quot;organisation&quot; predicate=&quot;organisation_to_event&quot; object=&quot;event&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;organiser_of&lt;/group&gt;&lt;option value=&quot;organisation_to_event_organiser&quot;&gt;is the organiser of&lt;/option&gt;&lt;link_desc&gt;is the organiser of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the organiser of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;organisation_to_event_promoter&quot; subject=&quot;organisation&quot; predicate=&quot;organisation_to_event&quot; object=&quot;event&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;promoter_of&lt;/group&gt;&lt;option value=&quot;organisation_to_event_promoter&quot;&gt;is the promoter of&lt;/option&gt;&lt;link_desc&gt;is the promoter of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the promoter of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;organisation_to_event_affected&quot; subject=&quot;organisation&quot; predicate=&quot;organisation_to_event&quot; object=&quot;event&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;affected_by&lt;/group&gt;&lt;option value=&quot;organisation_to_event_affected&quot;&gt;is affected by&lt;/option&gt;&lt;link_desc&gt;is affected by&lt;/link_desc&gt;&lt;link_desc_past&gt;was affected by&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;event_to_organisation_organised&quot; subject=&quot;event&quot; predicate=&quot;event_to_organisation&quot; object=&quot;organisation&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;organiser_of&lt;/group&gt;&lt;option value=&quot;event_to_organisation_organised&quot;&gt;is being organised by&lt;/option&gt;&lt;link_desc&gt;is being organised by&lt;/link_desc&gt;&lt;link_desc_past&gt;was organised by&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;event_to_organisation_promoted&quot; subject=&quot;event&quot; predicate=&quot;event_to_organisation&quot; object=&quot;organisation&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;promoter_of&lt;/group&gt;&lt;option value=&quot;event_to_organisation_promoted&quot;&gt;is being promoted by&lt;/option&gt;&lt;link_desc&gt;is being promoted by&lt;/link_desc&gt;&lt;link_desc_past&gt;was promoted by&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;event_to_organisation_effect&quot; subject=&quot;event&quot; predicate=&quot;event_to_organisation&quot; object=&quot;organisation&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;affected_by&lt;/group&gt;&lt;option value=&quot;event_to_organisation_effect&quot;&gt;has an effect on&lt;/option&gt;&lt;link_desc&gt;has an effect on&lt;/link_desc&gt;&lt;link_desc_past&gt;had an effect on&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;organisation_to_location_office address&quot; subject=&quot;organisation&quot; predicate=&quot;organisation_to_location&quot; object=&quot;location&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;address_for&lt;/group&gt;&lt;option value=&quot;organisation_to_location_office address&quot;&gt;has the office address at&lt;/option&gt;&lt;link_desc&gt;has the office address at&lt;/link_desc&gt;&lt;link_desc_past&gt;had the office address at&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;organisation_to_location_headquarters&quot; subject=&quot;organisation&quot; predicate=&quot;organisation_to_location&quot; object=&quot;location&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;address_for&lt;/group&gt;&lt;option value=&quot;organisation_to_location_headquarters&quot;&gt;has its headquarters at&lt;/option&gt;&lt;link_desc&gt;has its headquarters at&lt;/link_desc&gt;&lt;link_desc_past&gt;had its headquarters at&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;organisation_to_location_warehouse&quot; subject=&quot;organisation&quot; predicate=&quot;organisation_to_location&quot; object=&quot;location&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;address_for&lt;/group&gt;&lt;option value=&quot;organisation_to_location_warehouse&quot;&gt;has a warehouse at&lt;/option&gt;&lt;link_desc&gt;has a warehouse at&lt;/link_desc&gt;&lt;link_desc_past&gt;had a warehouse at&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;organisation_to_location_mailing address&quot; subject=&quot;organisation&quot; predicate=&quot;organisation_to_location&quot; object=&quot;location&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;address_for&lt;/group&gt;&lt;option value=&quot;organisation_to_location_mailing address&quot;&gt;has the mailing address at&lt;/option&gt;&lt;link_desc&gt;has the mailing address at&lt;/link_desc&gt;&lt;link_desc_past&gt;had the mailing address at&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;location_to_organisation_office address&quot; subject=&quot;location&quot; predicate=&quot;location_to_organisation&quot; object=&quot;organisation&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;address_for&lt;/group&gt;&lt;option value=&quot;location_to_organisation_office address&quot;&gt;is the office address of&lt;/option&gt;&lt;link_desc&gt;is the office address of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the office address of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;location_to_organisation_headquarters&quot; subject=&quot;location&quot; predicate=&quot;location_to_organisation&quot; object=&quot;organisation&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;address_for&lt;/group&gt;&lt;option value=&quot;location_to_organisation_headquarters&quot;&gt;is the headquarters of&lt;/option&gt;&lt;link_desc&gt;is the headquarters of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the headquarters of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;location_to_organisation_warehouse&quot; subject=&quot;location&quot; predicate=&quot;location_to_organisation&quot; object=&quot;organisation&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;address_for&lt;/group&gt;&lt;option value=&quot;location_to_organisation_warehouse&quot;&gt;is the warehouse of&lt;/option&gt;&lt;link_desc&gt;is the warehouse of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the warehouse of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;location_to_organisation_mailing address&quot; subject=&quot;location&quot; predicate=&quot;location_to_organisation&quot; object=&quot;organisation&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;address_for&lt;/group&gt;&lt;option value=&quot;location_to_organisation_mailing address&quot;&gt;is the mailing address of&lt;/option&gt;&lt;link_desc&gt;is the mailing address of&lt;/link_desc&gt;&lt;link_desc_past&gt;was the mailing address of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;organisation_to_reference_phone number&quot; subject=&quot;organisation&quot; predicate=&quot;organisation_to_reference&quot; object=&quot;reference&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;number_for&lt;/group&gt;&lt;option value=&quot;organisation_to_reference_phone number&quot;&gt;has the phone number of&lt;/option&gt;&lt;link_desc&gt;has the phone number of&lt;/link_desc&gt;&lt;link_desc_past&gt;had the phone number of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;organisation_to_reference_fax number&quot; subject=&quot;organisation&quot; predicate=&quot;organisation_to_reference&quot; object=&quot;reference&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;number_for&lt;/group&gt;&lt;option value=&quot;organisation_to_reference_fax number&quot;&gt;has the fax number of&lt;/option&gt;&lt;link_desc&gt;has the fax number of&lt;/link_desc&gt;&lt;link_desc_past&gt;had the fax number of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;organisation_to_reference_photo&quot; subject=&quot;organisation&quot; predicate=&quot;organisation_to_reference&quot; object=&quot;reference&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;photo_of&lt;/group&gt;&lt;option value=&quot;organisation_to_reference_photo&quot;&gt;has the photo at&lt;/option&gt;&lt;link_desc&gt;has the photo at&lt;/link_desc&gt;&lt;link_desc_past&gt;had the photo at&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;organisation_to_reference_website&quot; subject=&quot;organisation&quot; predicate=&quot;organisation_to_reference&quot; object=&quot;reference&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;url_for&lt;/group&gt;&lt;option value=&quot;organisation_to_reference_website&quot;&gt;has a website at&lt;/option&gt;&lt;link_desc&gt;has a website at&lt;/link_desc&gt;&lt;link_desc_past&gt;had a website at&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;organisation_to_reference_related web page&quot; subject=&quot;organisation&quot; predicate=&quot;organisation_to_reference&quot; object=&quot;reference&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;url_for&lt;/group&gt;&lt;option value=&quot;organisation_to_reference_related web page&quot;&gt;has a related web page at&lt;/option&gt;&lt;link_desc&gt;has a related web page at&lt;/link_desc&gt;&lt;link_desc_past&gt;had a related web page at&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;organisation_to_reference_file attachment&quot; subject=&quot;organisation&quot; predicate=&quot;organisation_to_reference&quot; object=&quot;reference&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;file_about&lt;/group&gt;&lt;option value=&quot;organisation_to_reference_file attachment&quot;&gt;has a related file attachment at&lt;/option&gt;&lt;link_desc&gt;has a related file attachment at&lt;/link_desc&gt;&lt;link_desc_past&gt;had a related file attachment at&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;organisation_to_reference_email address&quot; subject=&quot;organisation&quot; predicate=&quot;organisation_to_reference&quot; object=&quot;reference&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;email_for&lt;/group&gt;&lt;option value=&quot;organisation_to_reference_email address&quot;&gt;has the email address of&lt;/option&gt;&lt;link_desc&gt;has the email address of&lt;/link_desc&gt;&lt;link_desc_past&gt;had the email address of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;reference_to_organisation_phone number&quot; subject=&quot;reference&quot; predicate=&quot;reference_to_organisation&quot; object=&quot;organisation&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;number_for&lt;/group&gt;&lt;option value=&quot;reference_to_organisation_phone number&quot;&gt;is a phone number for&lt;/option&gt;&lt;link_desc&gt;is a phone number for&lt;/link_desc&gt;&lt;link_desc_past&gt;was a phone number for&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;reference_to_organisation_fax number&quot; subject=&quot;reference&quot; predicate=&quot;reference_to_organisation&quot; object=&quot;organisation&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;number_for&lt;/group&gt;&lt;option value=&quot;reference_to_organisation_fax number&quot;&gt;is a fax number for&lt;/option&gt;&lt;link_desc&gt;is a fax number for&lt;/link_desc&gt;&lt;link_desc_past&gt;was a fax number for&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;reference_to_organisation_photo&quot; subject=&quot;reference&quot; predicate=&quot;reference_to_organisation&quot; object=&quot;organisation&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;photo_of&lt;/group&gt;&lt;option value=&quot;reference_to_organisation_photo&quot;&gt;is a photo for&lt;/option&gt;&lt;link_desc&gt;is a photo for&lt;/link_desc&gt;&lt;link_desc_past&gt;was a photo for&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;reference_to_organisation_website&quot; subject=&quot;reference&quot; predicate=&quot;reference_to_organisation&quot; object=&quot;organisation&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;url_for&lt;/group&gt;&lt;option value=&quot;reference_to_organisation_website&quot;&gt;is a website for&lt;/option&gt;&lt;link_desc&gt;is a website for&lt;/link_desc&gt;&lt;link_desc_past&gt;was a website for&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;reference_to_organisation_related web page&quot; subject=&quot;reference&quot; predicate=&quot;reference_to_organisation&quot; object=&quot;organisation&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;url_for&lt;/group&gt;&lt;option value=&quot;reference_to_organisation_related web page&quot;&gt;is a related web page to&lt;/option&gt;&lt;link_desc&gt;is a related web page to&lt;/link_desc&gt;&lt;link_desc_past&gt;was a related web page to&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;reference_to_organisation_file attachment&quot; subject=&quot;reference&quot; predicate=&quot;reference_to_organisation&quot; object=&quot;organisation&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;file_about&lt;/group&gt;&lt;option value=&quot;reference_to_organisation_file attachment&quot;&gt;is a file attachment in relation to&lt;/option&gt;&lt;link_desc&gt;is a file attachment in relation to&lt;/link_desc&gt;&lt;link_desc_past&gt;was a file attachment in relation to&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;reference_to_organisation_email address&quot; subject=&quot;reference&quot; predicate=&quot;reference_to_organisation&quot; object=&quot;organisation&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;email_for&lt;/group&gt;&lt;option value=&quot;reference_to_organisation_email address&quot;&gt;is a email address for&lt;/option&gt;&lt;link_desc&gt;is a email address for&lt;/link_desc&gt;&lt;link_desc_past&gt;was a email address for&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;event_to_location_location&quot; subject=&quot;event&quot; predicate=&quot;event_to_location&quot; object=&quot;location&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;location_for&lt;/group&gt;&lt;option value=&quot;event_to_location_location&quot;&gt;is at the location of&lt;/option&gt;&lt;link_desc&gt;is at the location of&lt;/link_desc&gt;&lt;link_desc_past&gt;was at the location of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;location_to_event_location&quot; subject=&quot;location&quot; predicate=&quot;location_to_event&quot; object=&quot;event&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;location_for&lt;/group&gt;&lt;option value=&quot;location_to_event_location&quot;&gt;is the location for&lt;/option&gt;&lt;link_desc&gt;is the location for&lt;/link_desc&gt;&lt;link_desc_past&gt;was the location for&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;event_to_event_related&quot; subject=&quot;event&quot; predicate=&quot;event_to_event&quot; object=&quot;event&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;related_to&lt;/group&gt;&lt;option value=&quot;event_to_event_related&quot;&gt;is related to&lt;/option&gt;&lt;link_desc&gt;is related to&lt;/link_desc&gt;&lt;link_desc_past&gt;was related to&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;event_to_reference_phone number&quot; subject=&quot;event&quot; predicate=&quot;event_to_reference&quot; object=&quot;reference&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;number_for&lt;/group&gt;&lt;option value=&quot;event_to_reference_phone number&quot;&gt;has the phone number of&lt;/option&gt;&lt;link_desc&gt;has the phone number of&lt;/link_desc&gt;&lt;link_desc_past&gt;had the phone number of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;event_to_reference_website&quot; subject=&quot;event&quot; predicate=&quot;event_to_reference&quot; object=&quot;reference&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;url_for&lt;/group&gt;&lt;option value=&quot;event_to_reference_website&quot;&gt;has a website at&lt;/option&gt;&lt;link_desc&gt;has a website at&lt;/link_desc&gt;&lt;link_desc_past&gt;had a website at&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;event_to_reference_related web page&quot; subject=&quot;event&quot; predicate=&quot;event_to_reference&quot; object=&quot;reference&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;url_for&lt;/group&gt;&lt;option value=&quot;event_to_reference_related web page&quot;&gt;has a related web page at&lt;/option&gt;&lt;link_desc&gt;has a related web page at&lt;/link_desc&gt;&lt;link_desc_past&gt;had a related web page at&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;event_to_reference_photo&quot; subject=&quot;event&quot; predicate=&quot;event_to_reference&quot; object=&quot;reference&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;photo_of&lt;/group&gt;&lt;option value=&quot;event_to_reference_photo&quot;&gt;has the photo at&lt;/option&gt;&lt;link_desc&gt;has the photo at&lt;/link_desc&gt;&lt;link_desc_past&gt;had the photo at&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;event_to_reference_file attachment&quot; subject=&quot;event&quot; predicate=&quot;event_to_reference&quot; object=&quot;reference&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;file_about&lt;/group&gt;&lt;option value=&quot;event_to_reference_file attachment&quot;&gt;has a related file attachment at&lt;/option&gt;&lt;link_desc&gt;has a related file attachment at&lt;/link_desc&gt;&lt;link_desc_past&gt;had a related file attachment at&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;reference_to_event_phone number&quot; subject=&quot;reference&quot; predicate=&quot;reference_to_event&quot; object=&quot;event&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;number_for&lt;/group&gt;&lt;option value=&quot;reference_to_event_phone number&quot;&gt;is a phone number for&lt;/option&gt;&lt;link_desc&gt;is a phone number for&lt;/link_desc&gt;&lt;link_desc_past&gt;was a phone number for&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;reference_to_event_website&quot; subject=&quot;reference&quot; predicate=&quot;reference_to_event&quot; object=&quot;event&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;url_for&lt;/group&gt;&lt;option value=&quot;reference_to_event_website&quot;&gt;is a website for&lt;/option&gt;&lt;link_desc&gt;is a website for&lt;/link_desc&gt;&lt;link_desc_past&gt;was a website for&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;reference_to_event_related web page&quot; subject=&quot;reference&quot; predicate=&quot;reference_to_event&quot; object=&quot;event&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;url_for&lt;/group&gt;&lt;option value=&quot;reference_to_event_related web page&quot;&gt;is a related web page for&lt;/option&gt;&lt;link_desc&gt;is a related web page for&lt;/link_desc&gt;&lt;link_desc_past&gt;was a related web page for&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;reference_to_event_photo&quot; subject=&quot;reference&quot; predicate=&quot;reference_to_event&quot; object=&quot;event&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;photo_of&lt;/group&gt;&lt;option value=&quot;reference_to_event_photo&quot;&gt;is a photo of&lt;/option&gt;&lt;link_desc&gt;is a photo of&lt;/link_desc&gt;&lt;link_desc_past&gt;was a photo of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;reference_to_event_file attachment&quot; subject=&quot;reference&quot; predicate=&quot;reference_to_event&quot; object=&quot;event&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;file_about&lt;/group&gt;&lt;option value=&quot;reference_to_event_file attachment&quot;&gt;is a file attachment for&lt;/option&gt;&lt;link_desc&gt;is a file attachment for&lt;/link_desc&gt;&lt;link_desc_past&gt;was a file attachment for&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;location_to_reference_photo&quot; subject=&quot;location&quot; predicate=&quot;location_to_reference&quot; object=&quot;reference&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;photo_of&lt;/group&gt;&lt;option value=&quot;location_to_reference_photo&quot;&gt;has the photo at&lt;/option&gt;&lt;link_desc&gt;has the photo at&lt;/link_desc&gt;&lt;link_desc_past&gt;had the photo at&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;location_to_reference_file attachment&quot; subject=&quot;location&quot; predicate=&quot;location_to_reference&quot; object=&quot;reference&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;file_about&lt;/group&gt;&lt;option value=&quot;location_to_reference_file attachment&quot;&gt;is a file attachment in relation to&lt;/option&gt;&lt;link_desc&gt;is a file attachment in relation to&lt;/link_desc&gt;&lt;link_desc_past&gt;was a file attachment in relation to&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;reference_to_location_photo&quot; subject=&quot;reference&quot; predicate=&quot;reference_to_location&quot; object=&quot;location&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;photo_of&lt;/group&gt;&lt;option value=&quot;reference_to_location_photo&quot;&gt;is a photo of&lt;/option&gt;&lt;link_desc&gt;is a photo of&lt;/link_desc&gt;&lt;link_desc_past&gt;was a photo of&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;reference_to_location_file attachment&quot; subject=&quot;reference&quot; predicate=&quot;reference_to_location&quot; object=&quot;location&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;file_about&lt;/group&gt;&lt;option value=&quot;reference_to_location_file attachment&quot;&gt;is a file attachment in relation to&lt;/option&gt;&lt;link_desc&gt;is a file attachment in relation to&lt;/link_desc&gt;&lt;link_desc_past&gt;was a file attachment in relation to&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;location_to_location_related&quot; subject=&quot;location&quot; predicate=&quot;location_to_location&quot; object=&quot;location&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;related_loc&lt;/group&gt;&lt;option value=&quot;location_to_location_related&quot;&gt;is related to&lt;/option&gt;&lt;link_desc&gt;is related to&lt;/link_desc&gt;&lt;link_desc_past&gt;was related to&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;relationship name=&quot;reference_to_reference_related&quot; subject=&quot;reference&quot; predicate=&quot;reference_to_reference&quot; object=&quot;reference&quot; gender_specific=&quot;neutral&quot;&gt;&lt;group&gt;ref_to&lt;/group&gt;&lt;option value=&quot;reference_to_reference_related&quot;&gt;is related to&lt;/option&gt;&lt;link_desc&gt;is related to&lt;/link_desc&gt;&lt;link_desc_past&gt;was related to&lt;/link_desc_past&gt;&lt;/relationship&gt;
+  &lt;/relationships&gt;																								</diff>
      <filename>config/relationships.xml</filename>
    </modified>
    <modified>
      <diff></diff>
      <filename>public/peoplemap.swf</filename>
    </modified>
    <modified>
      <diff>@@ -1,9 +1,9 @@
   def enter_link_data(id,link_category,start_date,end_date,notes)
-    @selenium.select &quot;//*[@id='&quot; + id + &quot;']/td/form/select[@id='link_category']&quot;, link_category
-    @selenium.type &quot;//*[@id='&quot; + id + &quot;']/td/form/input[@id='start_date']&quot;, start_date
-    @selenium.type &quot;//*[@id='&quot; + id + &quot;']/td/form/input[@id='end_date']&quot;, end_date
-    @selenium.type &quot;//*[@id='&quot; + id + &quot;']/td/form/input[@id='notes']&quot;, notes
-    @selenium.click &quot;//*[@id='&quot; + id + &quot;']/td/form/input[@name='commit']&quot;
+    @selenium.select &quot;//*[@id='&quot; + id + &quot;']/form/select[@id='link_category']&quot;, link_category
+    @selenium.type &quot;//*[@id='&quot; + id + &quot;']/form/input[@id='start_date']&quot;, start_date
+    @selenium.type &quot;//*[@id='&quot; + id + &quot;']/form/input[@id='end_date']&quot;, end_date
+    @selenium.type &quot;//*[@id='&quot; + id + &quot;']/form/input[@id='notes']&quot;, notes
+    @selenium.click &quot;//*[@id='&quot; + id + &quot;']/form/input[@name='commit']&quot;
     wait
   end
 </diff>
      <filename>test/selenium/helpers/helpers.rb</filename>
    </modified>
    <modified>
      <diff>@@ -13,7 +13,7 @@ class NewTest &lt; Test::Unit::TestCase
     if $selenium
       @selenium = $selenium
     else
-      @selenium = Selenium::SeleniumDriver.new(&quot;localhost&quot;, 4444, &quot;*firefox&quot;, &quot;http://localhost:3003&quot;, 10000);
+      @selenium = Selenium::SeleniumDriver.new(&quot;localhost&quot;, 4444, &quot;*firefox&quot;, &quot;http://localhost:3001&quot;, 10000);
       @selenium.start
     end
     @selenium.set_context(&quot;test_new&quot;)
@@ -38,16 +38,19 @@ class NewTest &lt; Test::Unit::TestCase
     @selenium.click &quot;//*[@href='/people/new']&quot;
     wait
     enter_new_person_data(&quot;Mr&quot;,&quot;Burt&quot;,&quot;Reynolds&quot;,&quot;Male&quot;,&quot;These are some notes&quot;)
+    wait
     assert @selenium.is_text_present(&quot;Burt Reynolds&quot;)
 
     @selenium.open &quot;/people/new&quot;
     wait
     enter_new_person_data(&quot;Ms&quot;,&quot;Dolly&quot;,&quot;Parton&quot;,&quot;Female&quot;,&quot;These are some notes&quot;)
+    wait
     assert @selenium.is_text_present(&quot;Dolly Parton&quot;)
 
     @selenium.open &quot;/people/new&quot;
     wait
     enter_new_person_data(&quot;Ms&quot;,&quot;Sheena&quot;,&quot;Easton&quot;,&quot;Female&quot;,&quot;These are some notes&quot;)
+    wait
     assert @selenium.is_text_present(&quot;Sheena Easton&quot;)
 
     # basic link tests
@@ -55,9 +58,8 @@ class NewTest &lt; Test::Unit::TestCase
     wait
     @selenium.click &quot;//*[@href='/people/2']&quot; # burt reynolds
     wait
-    enter_link_data(&quot;3&quot;,&quot;Friend&quot;,&quot;2009-08-02&quot;,&quot;2010-08-02&quot;,&quot;Here are some notes about this relationship&quot;)
-    assert @selenium.is_text_present(&quot;Burt Reynolds is the friend of Dolly Parton&quot;)
-    enter_link_data(&quot;3&quot;,&quot;Boy/Girlfriend&quot;,&quot;2009-08-02&quot;,&quot;2010-08-02&quot;,&quot;Here are some notes about this relationship&quot;)
+    enter_link_data(&quot;3&quot;,&quot;is the boyfriend of&quot;,&quot;2009-08-02&quot;,&quot;2010-08-02&quot;,&quot;Here are some notes about this relationship&quot;)
+    wait
     assert @selenium.is_text_present(&quot;Burt Reynolds is the boyfriend of Dolly Parton&quot;)
     
     # now check that link is picked up from end node
@@ -72,9 +74,9 @@ class NewTest &lt; Test::Unit::TestCase
     wait
     @selenium.click &quot;//*[@href='/people/4']&quot; # Sheena Easton
     wait
-    enter_link_data(&quot;2&quot;,&quot;Boy/Girlfriend&quot;,&quot;2009-08-02&quot;,&quot;2010-08-02&quot;,&quot;Here are some notes about this relationship&quot;)
+    enter_link_data(&quot;2&quot;,&quot;is the girlfriend of&quot;,&quot;2009-08-02&quot;,&quot;2010-08-02&quot;,&quot;Here are some notes about this relationship&quot;)
+    wait
     assert @selenium.is_text_present(&quot;Sheena Easton is the girlfriend of Burt Reynolds&quot;)
-    assert @selenium.is_text_present(&quot;Burt Reynolds is the boyfriend of Dolly Parton&quot;)
   end
   
   def test_2_organisations 
@@ -85,11 +87,13 @@ class NewTest &lt; Test::Unit::TestCase
     @selenium.click &quot;//*[@href='/organisations/new']&quot;
     wait
     enter_new_organisation_data(&quot;Records R Us&quot;,&quot;Private Sector&quot;,&quot;Terrorism&quot;,&quot;These are some notes&quot;) #5
+    wait
     assert @selenium.is_text_present(&quot;Records R Us&quot;)
 
     @selenium.open &quot;/organisations/new&quot;
     wait
     enter_new_organisation_data(&quot;Big Brother&quot;,&quot;Government&quot;,&quot;Acrobatics&quot;,&quot;These are some notes&quot;) #6
+    wait
     assert @selenium.is_text_present(&quot;Big Brother&quot;)
 
     # basic link tests
@@ -97,17 +101,16 @@ class NewTest &lt; Test::Unit::TestCase
     wait
     @selenium.click &quot;//*[@href='/organisations/5']&quot; # Records R Us
     wait
-    enter_link_data(&quot;6&quot;,&quot;Competitor&quot;,&quot;2009-08-02&quot;,&quot;2010-08-02&quot;,&quot;Here are some notes about this relationship&quot;)
-    assert @selenium.is_text_present(&quot;Records R Us is a competitor of Big Brother&quot;)
-    enter_link_data(&quot;6&quot;,&quot;Subsidiary&quot;,&quot;2009-08-02&quot;,&quot;2010-08-02&quot;,&quot;Here are some notes about this relationship&quot;)
-    assert @selenium.is_text_present(&quot;Records R Us is the subsidiary of Big Brother&quot;)
+    enter_link_data(&quot;6&quot;,&quot;is the competitor of&quot;,&quot;2009-08-02&quot;,&quot;2010-08-02&quot;,&quot;Here are some notes about this relationship&quot;)
+    wait
+    assert @selenium.is_text_present(&quot;Records R Us is the competitor of Big Brother&quot;)
     
     # now check that link is picked up from end node
     @selenium.open &quot;/organisations&quot;
     wait
     @selenium.click &quot;//*[@href='/organisations/6']&quot; # Big Brother
     wait
-    assert @selenium.is_text_present(&quot;Records R Us is the subsidiary of Big Brother&quot;)
+    assert @selenium.is_text_present(&quot;Records R Us is the competitor of Big Brother&quot;)
   end
   
   def test_3_locations 
@@ -119,11 +122,13 @@ class NewTest &lt; Test::Unit::TestCase
     @selenium.click &quot;//*[@href='/locations/new']&quot;
     wait # street_number,street_name,street_type,suburb,city,country,postcode,notes
     enter_new_location_data(&quot;12&quot;,&quot;Sullivan&quot;,&quot;Crescent&quot;,&quot;Wanniassa&quot;,&quot;Canberra&quot;,&quot;Australia&quot;,&quot;2709&quot;,&quot;These are some notes&quot;) #7
+    wait
     assert @selenium.is_text_present(&quot;12 Sullivan Crescent&quot;)
     
     @selenium.open &quot;/locations/new&quot;
     wait
     enter_new_location_data(&quot;15&quot;,&quot;Earle&quot;,&quot;Street&quot;,&quot;Garran&quot;,&quot;Canberra&quot;,&quot;Australia&quot;,&quot;2309&quot;,&quot;These are some notes&quot;) #8
+    wait
     assert @selenium.is_text_present(&quot;15 Earle Street&quot;)
 
     # basic link tests
@@ -131,7 +136,8 @@ class NewTest &lt; Test::Unit::TestCase
     wait
     @selenium.click &quot;//*[@href='/locations/7']&quot; # 12 Sullivan Crescent
     wait
-    enter_link_data(&quot;8&quot;,&quot;Related Location&quot;,&quot;2009-08-02&quot;,&quot;2010-08-02&quot;,&quot;Here are some notes about this relationship&quot;)
+    enter_link_data(&quot;8&quot;,&quot;is related to&quot;,&quot;2009-08-02&quot;,&quot;2010-08-02&quot;,&quot;Here are some notes about this relationship&quot;)
+    wait
     assert @selenium.is_text_present(&quot;12 Sullivan Crescent Wanniassa is related to 15 Earle Street Garran&quot;)
     
     # now check that link is picked up from end node
@@ -151,11 +157,13 @@ class NewTest &lt; Test::Unit::TestCase
     @selenium.click &quot;//*[@href='/events/new']&quot;
     wait # :title, :description, :event_type, :start_date, :end_date, :notes
     enter_new_event_data(&quot;Mega-Conference 2009&quot;,&quot;Super conference&quot;,&quot;Conference&quot;,&quot;2009-08-20&quot;,&quot;2009-08-20&quot;,&quot;These are some notes&quot;) #9
+    wait
     assert @selenium.is_text_present(&quot;Mega-Conference 2009&quot;)
     
     @selenium.open &quot;/events/new&quot;
     wait
     enter_new_event_data(&quot;AFTER PARTY 2009&quot;,&quot;After-conference party for hangers on&quot;,&quot;Party&quot;,&quot;2009-08-20&quot;,&quot;2009-08-20&quot;,&quot;These are some notes&quot;) #10
+    wait
     assert @selenium.is_text_present(&quot;AFTER PARTY 2009&quot;)
 
     # basic link tests
@@ -163,7 +171,8 @@ class NewTest &lt; Test::Unit::TestCase
     wait
     @selenium.click &quot;//*[@href='/events/9']&quot; # Mega-Conference 2009
     wait
-    enter_link_data(&quot;10&quot;,&quot;Related Event&quot;,&quot;2009-08-02&quot;,&quot;2010-08-02&quot;,&quot;The after party for attendees of Mega-Conference 2009&quot;)
+    enter_link_data(&quot;10&quot;,&quot;is related to&quot;,&quot;2009-08-02&quot;,&quot;2010-08-02&quot;,&quot;The after party for attendees of Mega-Conference 2009&quot;)
+    wait
     assert @selenium.is_text_present(&quot;Mega-Conference 2009 is related to AFTER PARTY 2009&quot;)
     
     # now check that link is picked up from end node
@@ -183,11 +192,13 @@ class NewTest &lt; Test::Unit::TestCase
     @selenium.click &quot;//*[@href='/references/new']&quot;
     wait # reference_type,ref_value,notes
     enter_new_reference_data(&quot;Email Address&quot;,&quot;groover@404.com.au&quot;,&quot;These are some notes&quot;) #11
+    wait
     assert @selenium.is_text_present(&quot;groover@404.com.au&quot;)
     
     @selenium.open &quot;/references/new&quot;
     wait
     enter_new_reference_data(&quot;Home Phone Number&quot;,&quot;+612 6200 0200&quot;,&quot;These are some notes&quot;) #12
+    wait
     assert @selenium.is_text_present(&quot;+612 6200 0200&quot;)
 
     # basic link tests
@@ -195,7 +206,8 @@ class NewTest &lt; Test::Unit::TestCase
     wait
     @selenium.click &quot;//*[@href='/references/11']&quot; # 
     wait
-    enter_link_data(&quot;12&quot;,&quot;Related Reference&quot;,&quot;2009-08-02&quot;,&quot;2010-08-02&quot;,&quot;Some relationship or other&quot;)
+    enter_link_data(&quot;12&quot;,&quot;is related to&quot;,&quot;2009-08-02&quot;,&quot;2010-08-02&quot;,&quot;Some relationship or other&quot;)
+    wait
     assert @selenium.is_text_present(&quot;groover@404.com.au is related to +612 6200 0200&quot;)
     
     # now check that link is picked up from end node
@@ -205,5 +217,24 @@ class NewTest &lt; Test::Unit::TestCase
     wait
     assert @selenium.is_text_present(&quot;groover@404.com.au is related to +612 6200 0200&quot;)
   end
+
+  def test_6_cross_linking
+    @selenium.open &quot;/people&quot;
+    wait
+    @selenium.click &quot;//*[@href='/people/2']&quot; # Burt Reynolds
+    wait
+    enter_link_data(&quot;5&quot;,&quot;is the founder of&quot;,&quot;2009-08-02&quot;,&quot;2010-08-02&quot;,&quot;Here are some notes about this relationship&quot;)
+    wait
+    assert @selenium.is_text_present(&quot;Burt Reynolds is the founder of Records R Us&quot;)
+    enter_link_data(&quot;7&quot;,&quot;has the home address of&quot;,&quot;2009-08-02&quot;,&quot;2010-08-02&quot;,&quot;Here are some notes about this relationship&quot;)
+    wait
+    assert @selenium.is_text_present(&quot;Burt Reynolds has the home address of 12 Sullivan Crescent Wanniassa&quot;)
+    enter_link_data(&quot;9&quot;,&quot;is a participant in&quot;,&quot;2009-08-02&quot;,&quot;2010-08-02&quot;,&quot;Here are some notes about this relationship&quot;)
+    wait
+    assert @selenium.is_text_present(&quot;Burt Reynolds is a participant in Mega-Conference 2009&quot;)
+    enter_link_data(&quot;11&quot;,&quot;has the email address of&quot;,&quot;2009-08-02&quot;,&quot;2010-08-02&quot;,&quot;Here are some notes about this relationship&quot;)
+    wait
+    assert @selenium.is_text_present(&quot;Burt Reynolds has the email address of groover@404.com.au&quot;)
+  end
   
 end
\ No newline at end of file</diff>
      <filename>test/selenium/test.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>app/helpers/events_helper.rb</filename>
    </removed>
    <removed>
      <filename>app/helpers/locations_helper.rb</filename>
    </removed>
    <removed>
      <filename>app/helpers/organisations_helper.rb</filename>
    </removed>
    <removed>
      <filename>app/helpers/people_helper.rb</filename>
    </removed>
    <removed>
      <filename>app/helpers/references_helper.rb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>f75d762e19b9b9830b17baa8a761f7b9a8412a89</id>
    </parent>
    <parent>
      <id>421cb6a78f5f5bab7bf82c9e602ba2fb86aa22b7</id>
    </parent>
  </parents>
  <author>
    <name>andreas</name>
    <email>andreas@andreas-xps16.(none)</email>
  </author>
  <url>http://github.com/andreasronge/peoplemap/commit/d3a6a936ce1da31d871ad2ad698bdcc03fdd2a92</url>
  <id>d3a6a936ce1da31d871ad2ad698bdcc03fdd2a92</id>
  <committed-date>2009-10-20T05:17:01-07:00</committed-date>
  <authored-date>2009-10-20T05:17:01-07:00</authored-date>
  <message>merge with sasha/master, added caching</message>
  <tree>dfaf1eb4ea893af8c417bc6266ecbfa379462ae5</tree>
  <committer>
    <name>andreas</name>
    <email>andreas@andreas-xps16.(none)</email>
  </committer>
</commit>
