Project

General

Profile

Feature #1551

Updated by Bernhard Koschiček-Krombholz over 2 years ago

* relation *type* stayed the same, but the value is now camel case and therefore valid as n3.  
 * Added a new field named *relationDescription* for the descriptions of links (mostly page numbers).  

 ______________ 

 In the relation object, we added type for external reference systems for the match of the relation. If the relation is not a reference system, type has the value null, which is not allowed in json-ld and therefore in rdf. We should rename it to a fitting key name. I don't know know, if Link.type contains other things than reference systems matches, but if not, the name "match" would fit.  
 So name is open for discussion, but we have to change it.  

 <pre> 
 "relations":[ 
    { 
       "label":"Monastery", 
       "relationTo":"http://127.0.0.1:5000/api/0.2/entity/283", 
       "relationType":"crm:P2 has type", 
       "relationSystemClass":"type", 
       "type":null, 
       "when":{ 
          "timespans":[ 
             { 
                "start":{ 
                   "earliest":"None", 
                   "latest":"None" 
                }, 
                "end":{ 
                   "earliest":"None", 
                   "latest":"None" 
                } 
             } 
          ] 
       } 
    }, 
    { 
       "label":"GeoNames", 
       "relationTo":"http://127.0.0.1:5000/api/0.2/entity/123747", 
       "relationType":"crm:P67i is referred to by", 
       "relationSystemClass":"reference_system", 
       "type":"close match", 
       "when":{ 
          "timespans":[ 
             { 
                "start":{ 
                   "earliest":"None", 
                   "latest":"None" 
                }, 
                "end":{ 
                   "earliest":"None", 
                   "latest":"None" 
                } 
             } 
          ] 
       } 
    } 
 ] 
      
 </pre>

Back