schema to ads indexing

This commit is contained in:
Enrico Ottonello 2019-09-20 20:11:31 +02:00
parent 75fb3752dc
commit 329a636090
1 changed files with 101 additions and 0 deletions

View File

@ -0,0 +1,101 @@
<RESOURCE_PROFILE>
<HEADER>
<RESOURCE_IDENTIFIER value="179120cf-7288-4e7d-956a-a6ccd0c01de2_TURGb3JtYXREU1Jlc291cmNlcy9NREZvcm1hdERTUmVzb3VyY2VUeXBl"/>
<RESOURCE_TYPE value="MDFormatDSResourceType"/>
<RESOURCE_KIND value="MDFormatDSResources"/>
<RESOURCE_URI value=""/>
<DATE_OF_CREATION value="2017-01-17T11:27:16-03:00"/>
</HEADER>
<BODY>
<CONFIGURATION>
<NAME>CIDOC</NAME>
<DESCRIPTION>CIDOC Metadata Format</DESCRIPTION>
<INTERPRETATION>transformed</INTERPRETATION>
<SCHEMA uri=""/>
</CONFIGURATION>
<STATUS>
<LAYOUTS>
<LAYOUT name="index">
<FIELDS><!-- Header fields -->
<FIELD indexable="true" multivalued="false" name="objidentifier" result="false" stat="false" tokenizable="false" xpath="//dri:objIdentifier"/>
<FIELD indexable="true" multivalued="false" name="datasourcename" result="false" stat="false" xpath="//dri:datasourcename"/>
<FIELD indexable="true" multivalued="false" name="datasourceprefix" result="false" stat="false" xpath="//dri:datasourceprefix"/>
<FIELD header="true" indexable="true" multivalued="false" name="datasourceapi" result="false" stat="false" xpath="//dri:datasourceapi"/>
<FIELD indexable="false" name="entity" result="true" stat="false" tokenizable="true" xpath="//rdf:RDF"/><!-- identification -->
<FIELD header="true" indexable="true" multivalued="false" name="originalid" result="false" stat="false" tokenizable="false" xpath="//dri:recordIdentifier"/>
<FIELD indexable="true" name="url" result="false" stat="false" tokenizable="false" xpath="//rdf:Description/@rdf:about"/>
<FIELD indexable="true" name="title" result="false" stat="false" xpath="//rdf:Description/aocat:has_title"/>
<FIELD indexable="true" name="language" result="false" stat="false" tokenizable="false" xpath="//rdf:Description/aocat:has_language"/>
<FIELD indexable="true" name="period" result="false" stat="false" tokenizable="false" xpath="//rdf:Description[./rdf:type/@rdf:resource='https://www.ariadne-infrastructure.eu/resource/ao/cat/1.0/TemporalRegion']/rdfs:label"/>
<FIELD indexable="true" name="place" result="false" stat="false" tokenizable="false" xpath="//rdf:Description[./rdf:type/@rdf:resource='https://www.ariadne-infrastructure.eu/resource/ao/cat/1.0/SpatialRegion']/aocat:has_place_name"/>
<FIELD indexable="true" name="rightstype" result="false" stat="false" tokenizable="false" xpath="//rdf:Description/aocat:has_access_rights"/>
<FIELD indexable="true" name="subject" result="false" stat="false" tokenizable="false" xpath="//rdf:Description/aocat:has_native_subject"/>
<FIELD browsingAliasFor="datasourcename" indexable="true" name="datasourcenameforbrowsing" result="false" stat="false" tokenizable="false" xpath="//dri:datasourcename"/>
<FIELD browsingAliasFor="datasourceapi" indexable="true" name="datasourceapiforbrowsing" result="false" stat="false" tokenizable="false" xpath="//dri:datasourceapi"/>
</FIELDS>
</LAYOUT>
</LAYOUTS>
</STATUS>
</BODY>
</RESOURCE_PROFILE>
<RESOURCE_TYPE value="MDFormatDSResourceType"/>
<RESOURCE_KIND value="MDFormatDSResources"/>
<RESOURCE_URI value=""/>
<DATE_OF_CREATION value="2017-01-17T11:27:16-03:00"/>
</HEADER>
<BODY>
<CONFIGURATION>
<NAME>CIDOC</NAME>
<DESCRIPTION>CIDOC Metadata Format</DESCRIPTION>
<INTERPRETATION>transformed</INTERPRETATION>
<SCHEMA uri=""/>
</CONFIGURATION>
<STATUS>
<LAYOUTS>
<LAYOUT name="index">
<FIELDS><!-- Header fields -->
<FIELD indexable="true" multivalued="false" name="objidentifier" result="false" stat="false" tokenizable="false" xpath="//dri:objIdentifier"/>
<FIELD indexable="true" multivalued="false" name="datasourcename" result="false" stat="false" xpath="//dri:datasourcename"/>
<FIELD indexable="true" multivalued="false" name="datasourceprefix" result="false" stat="false" xpath="//dri:datasourceprefix"/>
<FIELD header="true" indexable="true" multivalued="false" name="datasourceapi" result="false" stat="false" xpath="//dri:datasourceapi"/>
<FIELD indexable="false" name="entity" result="true" stat="false" tokenizable="true" xpath="//rdf:RDF"/><!-- identification -->
<FIELD header="true" indexable="true" multivalued="false" name="originalid" result="false" stat="false" tokenizable="false" xpath="//dri:recordIdentifier"/>
<FIELD indexable="true" name="url" result="false" stat="false" tokenizable="false" xpath="//rdf:Description/@rdf:about"/>
<FIELD indexable="true" name="type" result="false" stat="false" tokenizable="false" value="tokenize(.,'/')[last()]" xpath="//rdf:RDF/*/rdf:type/@rdf:resource"/><!-- description --><!--<FIELD indexable="true" name="title" result="false" stat="false" xpath="//crm:P102_has_title/crm:E35_Title/rdfs:label"/>-->
<FIELD indexable="true" name="title" result="false" stat="false" xpath="//rdf:Description/aocat:has_title"/>
<FIELD indexable="true" name="language" result="false" stat="false" tokenizable="false" xpath="//rdf:Description/aocat:has_language"/>
<FIELD indexable="true" name="period" result="false" stat="false" tokenizable="false" xpath="//rdf:Description[./rdf:type/@rdf:resource='https://www.ariadne-infrastructure.eu/resource/ao/cat/1.0/TemporalRegion']/rdfs:label"/>
<FIELD indexable="true" name="place" result="false" stat="false" tokenizable="false" xpath="//rdf:Description[./rdf:type/@rdf:resource='https://www.ariadne-infrastructure.eu/resource/ao/cat/1.0/SpatialRegion']/aocat:has_place_name"/>
<FIELD indexable="true" name="rightstype" result="false" stat="false" tokenizable="false" xpath="//rdf:Description/aocat:has_access_rights"/>
<FIELD indexable="true" name="datasettype" result="false" stat="false" tokenizable="false" xpath="//rdf:Description[starts-with(./@rdf:about, 'http://parthenos.d4science.org/handle/Parthenos/REG/Concept/datasettype')]/rdfs:label"/>
<FIELD indexable="true" name="eventtype" result="false" stat="false" tokenizable="false" xpath="//rdf:Description[starts-with(./@rdf:about, 'http://parthenos.d4science.org/handle/Parthenos/REG/Concept/eventtype')]/rdfs:label"/>
<FIELD indexable="true" name="role" result="false" stat="false" tokenizable="false" xpath="//rdf:Description[starts-with(./@rdf:about, 'http://parthenos.d4science.org/handle/Parthenos/REG/Concept/role')]/rdfs:label"/>
<FIELD indexable="true" name="encodingtype" result="false" stat="false" tokenizable="false" xpath="//rdf:Description[starts-with(./@rdf:about, 'http://parthenos.d4science.org/handle/Parthenos/REG/Concept/encodingtype')]/rdfs:label"/>
<FIELD indexable="true" name="identifiertype" result="false" stat="false" tokenizable="false" xpath="//rdf:Description[starts-with(./@rdf:about, 'http://parthenos.d4science.org/handle/Parthenos/REG/Concept/idtype')]/rdfs:label"/>
<FIELD indexable="true" name="subject" result="false" stat="false" tokenizable="false" xpath="//rdf:Description[starts-with(./@rdf:about, 'http://parthenos.d4science.org/handle/Parthenos/REG/Concept/subject')]/rdfs:label"/>
<FIELD indexable="true" name="availabilitytype" result="false" stat="false" tokenizable="false" value="//rdf:Description[starts-with(./@rdf:about, 'http://parthenos.d4science.org/handle/Parthenos/REG/Concept/availabilitytype')]/rdfs:label"/><!-- ERRORS IN CLEANING -->
<FIELD header="true" indexable="false" name="cleaningErrors" result="false" stat="false" stored="true" tokenizable="false" xpath="//dri:invalid"/>
<FIELD indexable="true" name="cleaned" result="false" stat="false" tokenizable="false" type="boolean" value="not(//dri:error)"/>
<FIELD indexable="true" name="err_contactpointtype" result="false" stat="false" tokenizable="false" value="//dri:error[./@vocabularies = 'PARTHENOS:ContactPointTypes']/@term"/>
<FIELD indexable="true" name="err_datasetencoding" result="false" stat="false" tokenizable="false" value="//dri:error[./@vocabularies = 'parthenos:dataset_encodings']/@term"/>
<FIELD indexable="true" name="err_datasetsubjects" result="false" stat="false" tokenizable="false" value="//dri:error[./@vocabularies = 'parthenos:dataset_subjects']/@term"/>
<FIELD indexable="true" name="err_datasettype" result="false" stat="false" tokenizable="false" value="//dri:error[./@vocabularies = 'PARTHENOS:DatasetTypes']/@term"/>
<FIELD indexable="true" name="err_language" result="false" stat="false" tokenizable="false" value="//dri:error[./@vocabularies = 'dnet:languages']/@term"/>
<FIELD indexable="true" name="err_period" result="false" stat="false" tokenizable="false" value="//dri:error[./@vocabularies = 'PARTHENOS:Periods']/@term"/>
<FIELD indexable="true" name="err_placetype" result="false" stat="false" tokenizable="false" value="//dri:error[./@vocabularies = 'PARTHENOS:PlaceTypes']/@term"/>
<FIELD indexable="true" name="err_schema" result="false" stat="false" tokenizable="false" value="//dri:error[./@vocabularies = 'PARTHENOS:Schemas']/@term"/><!--<FIELD indexable="true" name="err_availability" result="false" stat="false" tokenizable="false" value="//dri:error[./@vocabularies = 'parthenos:service_availability']/@term"/>-->
<FIELD indexable="true" name="err_competence" result="false" stat="false" tokenizable="false" value="//dri:error[./@vocabularies = 'parthenos:parthenos:service_competences']/@term"/>
<FIELD indexable="true" name="err_programminglanguage" result="false" stat="false" tokenizable="false" value="//dri:error[./@vocabularies = 'PARTHENOS:ProgrammingLanguages']/@term"/>
<FIELD indexable="true" name="err_place" result="false" stat="false" tokenizable="false" value="//dri:error[./@vocabularies = 'PARTHENOS:Places']/@term"/><!-- Browsing Fields -->
<FIELD browsingAliasFor="datasourcename" indexable="true" name="datasourcenameforbrowsing" result="false" stat="false" tokenizable="false" xpath="//dri:datasourcename"/>
<FIELD browsingAliasFor="datasourceapi" indexable="true" name="datasourceapiforbrowsing" result="false" stat="false" tokenizable="false" xpath="//dri:datasourceapi"/>
</FIELDS>
</LAYOUT>
</LAYOUTS>
</STATUS>
</BODY>
</RESOURCE_PROFILE>