Revision 50927
Added by Alessia Bardi over 6 years ago
modules/dnet-parthenos/trunk/src/main/resources/eu/dnetlib/bootstrap/profiles/MDFormatDSResourceType/public-CIDOC.xml | ||
---|---|---|
22 | 22 |
<FIELD header="true" indexable="true" name="datasourcename" result="false" stat="false" xpath="//dri:datasourcename"/> |
23 | 23 |
<FIELD header="true" indexable="true" name="datasourceapi" result="false" stat="false" tokenizable="false" xpath="//dri:datasourceapi"/> |
24 | 24 |
<FIELD indexable="true" name="url" result="false" stat="false" tokenizable="false" xpath="//dri:objIdentifier"/> |
25 |
<!-- FIXME: no values: wrong xpath? --> |
|
25 | 26 |
<FIELD indexable="true" name="language" result="false" stat="false" tokenizable="false" xpath="//crm:P72_has_language"/> |
27 |
<!-- FIXME: no values: wrong xpath? --> |
|
26 | 28 |
<FIELD indexable="true" name="title" result="false" stat="false" xpath="//crm:P102_has_title/crm:E35_Title/rdfs:label"/> |
27 | 29 |
<FIELD indexable="true" name="description" result="false" stat="false" xpath="//crm:P3_has_note"/> |
28 | 30 |
<FIELD indexable="true" name="type" result="false" stat="false" stored="true" tokenizable="false" value="tokenize(.,'/')[last()]" xpath="distinct-values(//rdf:Description/rdf:type/@rdf:resource)"/> |
... | ... | |
30 | 32 |
<FIELD indexable="true" name="context_collection" result="false" stat="false" tokenizable="false" xpath="//rdf:Description/crmpe:PP23i_is_dataset_part_of/@rdf:resource | //rdf:Description/crmpe:PP20i_is_persistent_dataset_part_of/@rdf:resource"/> |
31 | 33 |
<FIELD indexable="true" name="context_provider" result="false" stat="false" tokenizable="false" xpath="distinct-values(//rdf:Description/crmpe:PP2_provided_by/@rdf:resource)"/> |
32 | 34 |
<FIELD indexable="true" name="context_project" result="false" stat="false" tokenizable="false" xpath="distinct-values(//rdf:Description[./rdf:type/@rdf:resource='http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE26_RI_Project']/@rdf:about | //rdf:Description[./rdf:type/@rdf:resource='http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE35_Project']/@rdf:about)"/> |
35 |
<!-- FIXME: no values: wrong xpath? --> |
|
33 | 36 |
<FIELD indexable="true" name="context_ri_consortium" result="false" stat="false" tokenizable="false" xpath="//rdf:Description[./rdf:type/@rdf:resource='http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE25_RI_Consortium' and ./@rdf:about =//rdf:Description/crmpe:PP2_provided_by/@rdf:resource]/@rdf:about"/> |
34 | 37 |
<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 | //rdf:Description[./rdf:type/@rdf:resource='http://www.cidoc-crm.org/cidoc-crm/E40_Legal_Body']/@rdf:about | //rdf:Description[./rdf:type/@rdf:resource='http://www.cidoc-crm.org/cidoc-crm/E21_Person']/@rdf:about | //rdf:Description[./rdf:type/@rdf:resource='http://www.cidoc-crm.org/cidoc-crm/E74_Group']/@rdf:about | //rdf:Description[./rdf:type/@rdf:resource='http://www.cidoc-crm.org/cidoc-crm/E34_Team']/@rdf:about | //rdf:Description[./rdf:type/@rdf:resource='http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE25_RI_Consortium']/@rdf:about"/> |
38 |
<!-- FIXME: no values: wrong xpath? --> |
|
35 | 39 |
<FIELD indexable="true" name="acquisitiontime" result="false" stat="false" tokenizable="false" xpath="//rdf:Description[./rdf:type/@rdf:resource='http://www.cidoc-crm.org/cidoc-crm/E52_Time-Span' and ./@rdf:about =//rdf:Description[./rdf:type/@rdf:resource='http://www.cidoc-crm.org/cidoc-crm/E8_Acquisition']/crm:P4_has_time-span/@rdf:resource]/crm:P82_at_some_time_within"/> |
40 |
<!-- FIXME: no values: wrong xpath? --> |
|
36 | 41 |
<FIELD indexable="true" name="movetime" result="false" stat="false" tokenizable="false" xpath="//rdf:Description[./rdf:type/@rdf:resource='http://www.cidoc-crm.org/cidoc-crm/E52_Time-Span' and ./@rdf:about =//rdf:Description[./rdf:type/@rdf:resource='http://www.cidoc-crm.org/cidoc-crm/E9_Move']/crm:P4_has_time-span/@rdf:resource]/crm:P82_at_some_time_within"/> |
42 |
<!-- FIXME: no values: wrong xpath? --> |
|
37 | 43 |
<FIELD indexable="true" name="custodytransfertime" result="false" stat="false" tokenizable="false" xpath="//rdf:Description[./rdf:type/@rdf:resource='http://www.cidoc-crm.org/cidoc-crm/E52_Time-Span' and ./@rdf:about =//rdf:Description[./rdf:type/@rdf:resource='http://www.cidoc-crm.org/cidoc-crm/E10_Transfer_of_Custody']/crm:P4_has_time-span/@rdf:resource]/crm:P82_at_some_time_within"/> |
44 |
<!-- FIXME: no values: wrong xpath? --> |
|
38 | 45 |
<FIELD indexable="true" name="modificationtime" result="false" stat="false" tokenizable="false" xpath="//rdf:Description[./rdf:type/@rdf:resource='http://www.cidoc-crm.org/cidoc-crm/E52_Time-Span' and ./@rdf:about =//rdf:Description[./rdf:type/@rdf:resource='http://www.cidoc-crm.org/cidoc-crm/E11_Modification']/crm:P4_has_time-span/@rdf:resource]/crm:P82_at_some_time_within"/> |
46 |
<!-- FIXME: no values: wrong xpath? --> |
|
39 | 47 |
<FIELD indexable="true" name="creationtime" result="false" stat="false" tokenizable="false" xpath="//rdf:Description[./rdf:type/@rdf:resource='http://www.cidoc-crm.org/cidoc-crm/E52_Time-Span' and ./@rdf:about =//rdf:Description[./rdf:type/@rdf:resource='http://www.cidoc-crm.org/cidoc-crm/E65_Creation']/crm:P4_has_time-span/@rdf:resource]/crm:P82_at_some_time_within"/> |
48 |
<!-- FIXME: no values: wrong xpath? --> |
|
40 | 49 |
<FIELD indexable="true" name="curationactivitytime" result="false" stat="false" tokenizable="false" xpath="//rdf:Description[./rdf:type/@rdf:resource='http://www.cidoc-crm.org/cidoc-crm/E52_Time-Span' and ./@rdf:about =//rdf:Description[./rdf:type/@rdf:resource='http://www.cidoc-crm.org/cidoc-crm/E87_Curation_Activity']/crm:P4_has_time-span/@rdf:resource]/crm:P82_at_some_time_within"/><!-- Browsing Fields --> |
41 | 50 |
<FIELD browsingAliasFor="datasourcename" indexable="true" name="datasourcenameforbrowsing" result="false" stat="false" tokenizable="false" xpath="//dri:datasourcename"/> |
42 | 51 |
</FIELDS> |
Also available in: Unified diff
Comment highlighting possible mistakes in index configuration