1
|
<RESOURCE_PROFILE>
|
2
|
<HEADER>
|
3
|
<RESOURCE_IDENTIFIER value="3326c3d8-d330-4570-817a-d935a3563145_TURGb3JtYXREU1Jlc291cmNlcy9NREZvcm1hdERTUmVzb3VyY2VUeXBl"/>
|
4
|
<RESOURCE_TYPE value="MDFormatDSResourceType"/>
|
5
|
<RESOURCE_KIND value="MDFormatDSResources"/>
|
6
|
<RESOURCE_URI value=""/>
|
7
|
<DATE_OF_CREATION value="2017-04-04T11:27:16-03:00"/>
|
8
|
</HEADER>
|
9
|
<BODY>
|
10
|
<CONFIGURATION>
|
11
|
<NAME>CIDOC</NAME>
|
12
|
<DESCRIPTION>CIDOC Metadata Format</DESCRIPTION>
|
13
|
<INTERPRETATION>public</INTERPRETATION>
|
14
|
<SCHEMA uri=""/>
|
15
|
</CONFIGURATION>
|
16
|
<STATUS>
|
17
|
<LAYOUTS>
|
18
|
<LAYOUT name="index">
|
19
|
<!-- UPDATING TO MATCH THE RDF COMING FROM VIRTUOSOREADAPI BY TYPE (via sparql query template) since in the RDF we get we may have multiple rdf:Resource, we must ensure our point of view is the rdf:Resource whose uri is the one in objIdentifier-->
|
20
|
<!-- in objIdentifier we have the resource URI but it is XML escaped, in some cases this may prevent the resource to be indexed. Hopefully it will affect a limited number of records and it may be a signal that a "wrong" URI has been generated -->
|
21
|
<FIELDS>
|
22
|
<!-- common -->
|
23
|
<FIELD indexable="false" name="entity" result="true" stat="false" tokenizable="true" xpath="//rdf:RDF"/>
|
24
|
<FIELD header="true" indexable="true" name="objidentifier" result="false" stat="false" tokenizable="false" xpath="//dri:objIdentifier"/>
|
25
|
<FIELD header="true" indexable="true" name="datasourcename" result="false" stat="false" xpath="//dri:datasourcename"/>
|
26
|
<FIELD header="true" indexable="true" name="datasourceapi" result="false" stat="false" tokenizable="false" xpath="//dri:datasourceapi"/>
|
27
|
<FIELD indexable="true" stored="true" name="url" result="false" stat="false" tokenizable="false" xpath="//dri:objIdentifier"/>
|
28
|
|
29
|
<FIELD indexable="true" name="title" stored="true" result="false" stat="false" xpath="//rdf:RDF/rdf:Description[./@rdf:about = //dri:objIdentifier]/rdfs:label | //rdf:RDF/rdf:Description[./@rdf:about = //dri:objIdentifier]/crm:P102_has_title"/>
|
30
|
<FIELD indexable="true" name="description" result="false" stat="false" xpath="//rdf:RDF/rdf:Description[./@rdf:about = //dri:objIdentifier]/crm:P3_has_note"/>
|
31
|
<FIELD indexable="true" name="type" result="false" stat="false" stored="true" tokenizable="false" value="tokenize(.,'/')[last()]" xpath="distinct-values(//rdf:Description[./@rdf:about = //dri:objIdentifier]/rdf:type/@rdf:resource)"/>
|
32
|
<FIELD indexable="true" name="type_e55type" result="false" stat="false" stored="true" tokenizable="false" xpath="distinct-values(//rdf:Description[./@rdf:about = //dri:objIdentifier]/crm:P2_has_type/text())"/>
|
33
|
|
34
|
<FIELD indexable="true" name="context_provider" result="false" stat="false" tokenizable="false" xpath="distinct-values(//rdf:Description[./@rdf:about = //dri:objIdentifier]/crmpe:PP2_provided_by/@rdf:resource)"/>
|
35
|
<!-- FIXME: No way to distinguish between provider (context_provider above) and RI_Consortium-->
|
36
|
<FIELD indexable="true" name="context_ri_consortium" result="false" stat="false" tokenizable="false" xpath="distinct-values(//rdf:Description[./@rdf:about = //dri:objIdentifier]/crmpe:PP2_provided_by/@rdf:resource)"/>
|
37
|
<FIELD indexable="true" name="context_project" result="false" stat="false" tokenizable="false" xpath="//rdf:Description[./@rdf:about = //dri:objIdentifier]/crmpe:PP1i_is_currently_offered_by/@rdf:about"/>
|
38
|
<FIELD indexable="true" name="context_collection" result="false" stat="false" tokenizable="false" xpath="//rdf:Description[./@rdf:about = //dri:objIdentifier]/crm:P106i_forms_part_of/@rdf:resource"/>
|
39
|
|
40
|
<!-- new field for generic declared time -->
|
41
|
<FIELD indexable="true" name="declaredtime" result="false" stat="false" tokenizable="false" xpath="//rdf:Description[./@rdf:about = //dri:objIdentifier]/crmpe:PP42_has_declarative_time"/>
|
42
|
|
43
|
<FIELD indexable="true" name="actor" result="false" stat="false" tokenizable="false" xpath="//rdf:Description[./rdf:type/@rdf:resource='http://www.cidoc-crm.org/cidoc-crm/E39_Actor']/@rdf:about"/>
|
44
|
<!-- new field -->
|
45
|
<FIELD indexable="true" name="curator" result="false" stat="false" tokenizable="false" xpath="//rdf:Description[./@rdf:about = //dri:objIdentifier]/crmpe:PP32i_is_curated_by/@rdf:resource"/>
|
46
|
|
47
|
<!-- PE35_Project -->
|
48
|
<FIELD indexable="true" name="currently_offers" result="false" stat="false" tokenizable="false" xpath="//rdf:Description[./@rdf:about = //dri:objIdentifier]/crmpe:PP1_currently_offers/@rdf:resource"/>
|
49
|
|
50
|
<FIELD indexable="true" name="language" result="false" stat="false" tokenizable="false" xpath="//rdf:Description[./@rdf:about = //dri:objIdentifier]/crm:P72_has_language"/>
|
51
|
|
52
|
<FIELD indexable="true" name="creationtime" result="false" stat="false" tokenizable="false" xpath="//rdf:Description/creationtime"/>
|
53
|
<FIELD indexable="true" name="curationactivitytime" result="false" stat="false" tokenizable="false" xpath="//rdf:Description/curationtime"/>
|
54
|
<!-- FIXME: how to sparql for this. what's the difference with custodytransfertime? -->
|
55
|
<FIELD indexable="true" name="acquisitiontime" result="false" stat="false" tokenizable="false" xpath="//rdf:Description/custodytime"/>
|
56
|
<!-- FIXME: how to sparql for this. It seems we have no Move Events -->
|
57
|
<FIELD indexable="true" name="movetime" result="false" stat="false" tokenizable="false" xpath="//rdf:Description/movetime"/>
|
58
|
<!-- new field for custodial history -->
|
59
|
<FIELD indexable="true" name="custodialhistory" result="false" stat="false" tokenizable="false" xpath="//rdf:Description/custodialhistorynote"/>
|
60
|
<!-- FIX ME: what's the difference with acquisitiontime -->
|
61
|
<FIELD indexable="true" name="custodytransfertime" result="false" stat="false" tokenizable="false" xpath="//rdf:Description/custodytime"/>
|
62
|
<FIELD indexable="true" name="modificationtime" result="false" stat="false" tokenizable="false" xpath="//rdf:Description/updatetime"/>
|
63
|
|
64
|
<!-- Browsing Fields -->
|
65
|
<FIELD browsingAliasFor="datasourcename" indexable="true" name="datasourcenameforbrowsing" result="false" stat="false" tokenizable="false" xpath="//dri:datasourcename"/>
|
66
|
</FIELDS>
|
67
|
</LAYOUT>
|
68
|
</LAYOUTS>
|
69
|
</STATUS>
|
70
|
</BODY>
|
71
|
</RESOURCE_PROFILE>
|