Closed mafragias closed 3 years ago
added location of Work :
x3ml mapping :
<link>
<path>
<source_relation>
<relation>Locations/Repository/location</relation>
</source_relation>
<target_relation>
<relationship>crm:P55_has_current_location</relationship>
</target_relation>
</path>
<range>
<source_node>Locations/Repository/location</source_node>
<target_node>
<entity>
<type>crm:E53_Place</type>
<instance_generator name="URIwithTypeAndId">
<arg name="type" type="constant">place</arg>
<arg name="id" type="xpath">@id</arg>
</instance_generator>
</entity>
</target_node>
</range>
</link>
Example output :
<https://pharos.artresearch.net/resource/itatti/work/8000743842> <http://www.cidoc-crm.org/cidoc-crm/P55_has_current_location> <https://pharos.artresearch.net/resource/itatti/place/7000457>.
Corresponding place graph :
<https://pharos.artresearch.net/resource/itatti/place/7000457/graph> {
<https://pharos.artresearch.net/resource/itatti/place/7000457>
a <http://www.cidoc-crm.org/cidoc-crm/E53_Place> ;
<http://www.w3.org/2000/01/rdf-schema#label>
"Florence, Firenze, Tuscany, Italy" ;
<http://www.cidoc-crm.org/cidoc-crm/P67i_is_referred_to_by>
<https://pharos.artresearch.net/resource/itatti/place/7000457/graph> ;
<https://pharos.artresearch.net/custom/has_provider>
<https://pharos.artresearch.net/resource/itatti/source/ITatti> , <https://pharos.artresearch.net/resource/itatti/source/SharedShelf> .
}
fcrs output :
<fc:work rdf:about="https://pharos.artresearch.net/resource/itatti/work/8000743842">
<fr:Work_from_Place>
<fc:place rdf:about="https://pharos.artresearch.net/resource/itatti/place/7000457">
<fr:Place_of_Work rdf:resource="https://pharos.artresearch.net/resource/itatti/work/8000743842"/>
</fc:place>
</fr:Work_from_Place>
</fc:work>
Location of the works need to be taken from Sharedshelf