Project

General

Profile

1
<RESOURCE_PROFILE>
2
    <HEADER>
3
        <RESOURCE_IDENTIFIER value="2-8b9503d9-8a86-4330-93ef-7e0cd9bc87c2_TURGb3JtYXREU1Jlc291cmNlcy9NREZvcm1hdERTUmVzb3VyY2VUeXBl"/>
4
        <RESOURCE_TYPE value="MDFormatDSResourceType"/>
5
        <RESOURCE_KIND value="MDFormatDSResources"/>
6
        <RESOURCE_URI value=""/>
7
        <DATE_OF_CREATION value="2008-05-22T14:40:04+02:00"/>
8
    </HEADER>
9
    <BODY>
10
        <CONFIGURATION>
11
            <NAME>DMF</NAME>
12
            <DESCRIPTION>Openaire Metadata Format</DESCRIPTION>
13
            <INTERPRETATION>openaire</INTERPRETATION>
14
            <SCHEMA uri=""/>
15
        </CONFIGURATION>
16
        <STATUS>
17
            <LAYOUTS>
18
                <LAYOUT name="index">
19
	                <FIELDS>
20
		                <FIELD name="oafentity" xpath="//*[local-name() = 'entity']" indexable="false" tokenizable="false" result="true" stat="false"/>
21
		                <FIELD name="oaftype" value="local-name(//*[local-name()='entity']/*)" tokenizable="false" result="false" indexable="true"
22
		                       stat="false"/>
23
		                <FIELD name="objIdentifier" indexable="true" tokenizable="false" xpath="//header/dri:objIdentifier" stat="false" result="false"/>
24

    
25
		                <!-- DATASOURCE FIELDS -->
26
		                <FIELD name="datasourceofficialname" xpath="//*[local-name()='entity']/*[local-name()='datasource']/officialname" stat="false"
27
		                       indexable="true" result="false"/>
28
		                <FIELD name="datasourceenglishname" xpath="//*[local-name()='entity']/*[local-name()='datasource']/englishname" stat="false"
29
		                       indexable="true" result="false"/>
30

    
31
		                <FIELD name="datasourceoddescription" xpath="//*[local-name()='entity']/*[local-name()='datasource']/oddescription" stat="false"
32
		                       indexable="true" result="false"/>
33
		                <FIELD name="datasourceodsubjects" xpath="//*[local-name()='entity']/*[local-name()='datasource']/odsubjects" stat="false"
34
		                       tokenizable="false" indexable="true" result="false"/>
35
		                <FIELD name="datasourceodlanguages" xpath="//*[local-name()='entity']/*[local-name()='datasource']/odlanguages" stat="false"
36
		                       tokenizable="false" indexable="true" result="false"/>
37
		                <FIELD name="datasourceodcontenttypes" xpath="//*[local-name()='entity']/*[local-name()='datasource']/odcontenttypes" stat="false"
38
		                       tokenizable="false" indexable="true" result="false"/>
39

    
40
		                <FIELD name="datasourcetypename" xpath="//*[local-name()='entity']/*[local-name()='datasource']/datasourcetype/@classname"
41
		                       tokenizable="false" stat="false" indexable="true" result="false" multivalued="false"/>
42

    
43
		                <FIELD name="datasourcetypeuiid" xpath="//*[local-name()='entity']/*[local-name()='datasource']/datasourcetypeui/@classid"
44
		                       tokenizable="false" stat="false" indexable="true" result="false" multivalued="false"/>
45
		                <FIELD name="datasourcetypeuiname" xpath="//*[local-name()='entity']/*[local-name()='datasource']/datasourcetypeui/@classname"
46
		                       tokenizable="false" stat="false" indexable="true" result="false" multivalued="false"/>
47

    
48
		                <FIELD name="datasourcecompatibilityid"
49
		                       xpath="//*[local-name()='entity']/*[local-name()='datasource']/openairecompatibility/@classid" tokenizable="false" stat="false"
50
		                       indexable="true" result="false" multivalued="false"/>
51
		                <FIELD name="datasourcecompatibilityname"
52
		                       xpath="//*[local-name()='entity']/*[local-name()='datasource']/openairecompatibility/@classname" tokenizable="false" stat="false"
53
		                       indexable="true" result="false" multivalued="false"/>
54

    
55
		                <!-- ORGANIZATION FIELDS -->
56
		                <FIELD name="organizationlegalshortname" xpath="//*[local-name()='entity']/*[local-name()='organization']/legalshortname"
57
		                       type="ngramtext" stat="false" indexable="true" result="false"/>
58
		                <FIELD name="organizationlegalname" xpath="//*[local-name()='entity']/*[local-name()='organization']/legalname" type="ngramtext"
59
		                       stat="false" indexable="true" result="false"/>
60
						<FIELD name="organizationalternativenames" xpath="//*[local-name()='entity']/*[local-name()='organization']/alternativeNames"
61
							   indexable="true" type="ngramtext" stat="false" result="false"/>
62
						<FIELD name="organizationeclegalbody" xpath="//*[local-name()='entity']/*[local-name()='organization']/eclegalbody" stat="false"
63
		                       indexable="true" result="false"/>
64
		                <FIELD name="organizationeclegalperson" xpath="//*[local-name()='entity']/*[local-name()='organization']/eclegalperson" stat="false"
65
		                       indexable="true" result="false"/>
66
		                <FIELD name="organizationecnonprofit" xpath="//*[local-name()='entity']/*[local-name()='organization']/ecnonprofit" stat="false"
67
		                       indexable="true" result="false"/>
68
		                <FIELD name="organizationecresearchorganization"
69
		                       xpath="//*[local-name()='entity']/*[local-name()='organization']/ecresearchorganization" stat="false" indexable="true"
70
		                       result="false"/>
71
		                <FIELD name="organizationecinternationalorganizationeurinterests"
72
		                       xpath="//*[local-name()='entity']/*[local-name()='organization']/ecinternationalorganizationeurinterests" stat="false"
73
		                       indexable="true" result="false"/>
74
		                <FIELD name="organizationecinternationalorganization"
75
		                       xpath="//*[local-name()='entity']/*[local-name()='organization']/ecinternationalorganization" stat="false" indexable="true"
76
		                       result="false"/>
77
		                <FIELD name="organizationecenterprise" xpath="//*[local-name()='entity']/*[local-name()='organization']/ecenterprise" stat="false"
78
		                       indexable="true" result="false"/>
79
		                <FIELD name="organizationecsmevalidated" xpath="//*[local-name()='entity']/*[local-name()='organization']/ecsmevalidated" stat="false"
80
		                       indexable="true" result="false"/>
81
		                <FIELD name="organizationecnutscode" xpath="//*[local-name()='entity']/*[local-name()='organization']/ecnutscode" stat="false"
82
		                       indexable="true" result="false"/>
83

    
84
		                <FIELD name="organizationcountryname" xpath="//*[local-name()='entity']/*[local-name()='organization']/country/@classname"
85
		                       tokenizable="false" stat="false" indexable="true" result="false" multivalued="false"/>
86

    
87
		                <!-- PROJECT FIELDS -->
88
		                <FIELD name="projectcode" xpath="//*[local-name()='entity']/*[local-name()='project']/code" type="ngramtext" stat="false"
89
		                       indexable="true" result="false"/>
90
		                <FIELD name="projectcode_nt" xpath="//*[local-name()='entity']/*[local-name()='project']/code" stat="false" tokenizable="false"
91
		                       indexable="true" result="false"/>
92
		                <FIELD name="projectacronym" xpath="//*[local-name()='entity']/*[local-name()='project']/acronym" type="ngramtext" stat="false"
93
		                       indexable="true" result="false"/>
94
		                <FIELD name="projecttitle" xpath="//*[local-name()='entity']/*[local-name()='project']/title" type="ngramtext" stat="false"
95
		                       indexable="true" result="false"/>
96
		                <FIELD name="projectstartdate" value="//*[local-name()='entity']/*[local-name()='project']/startdate" type="pdate" stat="false"
97
		                       indexable="true" result="false" multivalued="false"/>
98
		                <FIELD name="projectstartyear" value="dnet:extractYear(//*[local-name()='entity']/*[local-name()='project']/startdate)"
99
		                       tokenizable="false" stat="false" indexable="true" result="false" multivalued="false"/>
100
		                <FIELD name="projectenddate" value="//*[local-name()='entity']/*[local-name()='project']/enddate" type="pdate" stat="false"
101
		                       indexable="true" result="false" multivalued="false"/>
102
		                <FIELD name="projectendyear" value="dnet:extractYear(//*[local-name()='entity']/*[local-name()='project']/enddate)" tokenizable="false"
103
		                       stat="false" indexable="true" result="false" multivalued="false"/>
104
		                <FIELD name="projectcallidentifier" xpath="//*[local-name()='entity']/*[local-name()='project']/callidentifier" tokenizable="false"
105
		                       stat="false" indexable="true" result="false" multivalued="false"/>
106
		                <FIELD name="projectkeywords" xpath="//*[local-name()='entity']/*[local-name()='project']/keywords" stat="false" indexable="true"
107
		                       result="false"/>
108
		                <FIELD name="projectduration" xpath="//*[local-name()='entity']/*[local-name()='project']/duration" tokenizable="false" stat="false"
109
		                       indexable="true" result="false" multivalued="false"/>
110
		                <FIELD name="projectecsc39" xpath="//*[local-name()='entity']/*[local-name()='project']/ecsc39" tokenizable="false" stat="false"
111
		                       indexable="true" result="false" multivalued="false"/>
112
		                <FIELD name="projectoamandatepublications" xpath="//*[local-name()='entity']/*[local-name()='project']/oamandatepublications"
113
		                       tokenizable="false" stat="false" indexable="true" result="false" multivalued="false"/>
114
		                <FIELD name="projectecarticle29_3" xpath="//*[local-name()='entity']/*[local-name()='project']/ecarticle29_3" tokenizable="false"
115
		                       stat="false" indexable="true" result="false" multivalued="false"/>
116
		                <FIELD name="projectsubject" xpath="//*[local-name()='entity']/*[local-name()='project']/subjects" stat="false" tokenizable="false"
117
		                       indexable="true" result="false"/>
118

    
119
		                <FIELD name="projectcontracttypename" xpath="//*[local-name()='entity']/*[local-name()='project']/contracttype/@classname"
120
		                       tokenizable="false" stat="false" indexable="true" result="false" multivalued="false"/>
121
		                <FIELD name="fundinglevel0_id" xpath="//*[local-name()='entity']/*[local-name()='project']/fundingtree//funding_level_0/id"
122
		                       tokenizable="false" stat="false" indexable="true" result="false"/>
123
		                <FIELD name="fundinglevel0_name" xpath="//*[local-name()='entity']/*[local-name()='project']/fundingtree//funding_level_0/name"
124
		                       tokenizable="false" stat="false" indexable="true" result="false"/>
125
		                <FIELD name="fundinglevel0_description"
126
		                       xpath="//*[local-name()='entity']/*[local-name()='project']/fundingtree//funding_level_0/description" stat="false"
127
		                       indexable="true" result="false"/>
128
		                <FIELD name="fundinglevel1_id" xpath="//*[local-name()='entity']/*[local-name()='project']/fundingtree//funding_level_1/id"
129
		                       tokenizable="false" stat="false" indexable="true" result="false"/>
130
		                <FIELD name="fundinglevel1_name" xpath="//*[local-name()='entity']/*[local-name()='project']/fundingtree//funding_level_1/name"
131
		                       tokenizable="false" stat="false" indexable="true" result="false"/>
132
		                <FIELD name="fundinglevel1_description"
133
		                       xpath="//*[local-name()='entity']/*[local-name()='project']/fundingtree//funding_level_1/description" stat="false"
134
		                       indexable="true" result="false"/>
135
		                <FIELD name="fundinglevel2_id" xpath="//*[local-name()='entity']/*[local-name()='project']/fundingtree//funding_level_2/id"
136
		                       tokenizable="false" stat="false" indexable="true" result="false"/>
137
		                <FIELD name="fundinglevel2_name" xpath="//*[local-name()='entity']/*[local-name()='project']/fundingtree//funding_level_2/name"
138
		                       tokenizable="false" stat="false" indexable="true" result="false"/>
139
		                <FIELD name="fundinglevel2_description"
140
		                       xpath="//*[local-name()='entity']/*[local-name()='project']/fundingtree//funding_level_2/description" stat="false"
141
		                       indexable="true" result="false"/>
142
		                <!--  PROJECTS' FUNDER FIELDS: indexable only with the new funding path/context handling -->
143

    
144
		                <FIELD name="funder" xpath="//*[local-name()='entity']/*[local-name()='project']/fundingtree/funder"
145
		                       value="dnet:join(./id/text(), '||', dnet:join(./name/text(), '||', ./shortname/text()))"
146
		                       tokenizable="false" indexable="true" result="false" stat="false"/>
147

    
148
		                <FIELD name="fundershortname" xpath="//*[local-name()='entity']/*[local-name()='project']/fundingtree/funder/shortname"
149
		                       tokenizable="false" indexable="true" result="false" stat="false"/>
150
		                <FIELD name="funderid" xpath="//*[local-name()='entity']/*[local-name()='project']/fundingtree/funder/id" tokenizable="false"
151
		                       indexable="true" result="false" stat="false"/>
152
		                <FIELD name="fundername" xpath="//*[local-name()='entity']/*[local-name()='project']/fundingtree/funder/name" tokenizable="false"
153
		                       indexable="true" result="false" stat="false"/>
154
		                <FIELD indexable="true" name="funderoriginalname" result="false" stat="false" tokenizable="false"
155
		                       xpath="//*[local-name()='entity']/*[local-name()='project']/fundingtree/funder/originalname"/>
156
		                <FIELD name="funderjurisdiction" xpath="//*[local-name()='entity']/*[local-name()='project']/fundingtree/funder/jurisdiction"
157
		                       tokenizable="false" indexable="true" result="false" stat="false"/>
158

    
159
		                <!-- RESULT FIELDS -->
160
		                <FIELD name="resulttitle"
161
		                       xpath="//*[local-name() = 'entity']/*[local-name() ='result']/title | //*[local-name()='entity']/*[local-name()='result']/children/result/title"
162
		                       stat="false" result="false" indexable="true"/>
163
		                <FIELD name="resultsubject" xpath="distinct-values(//*[local-name()='entity']/*[local-name()='result']/subject)" tokenizable="false" stat="false"
164
		                       result="false" indexable="true"/>
165
		                <FIELD name="resultsubjectclass" xpath="distinct-values(//*[local-name()='entity']/*[local-name()='result']/subject/@classname)" tokenizable="false"
166
		                       stat="false" result="false" indexable="true"/>
167
		                <FIELD name="resultembargoenddate" value="//*[local-name()='entity']/*[local-name()='result']/embargoenddate" type="pdate" stat="false"
168
		                       result="false" indexable="true" multivalued="false"/>
169
		                <FIELD name="resultembargoendyear" value="dnet:extractYear(//*[local-name()='entity']/*[local-name()='result']/embargoenddate)"
170
		                       tokenizable="false" stat="false" result="false" indexable="true" multivalued="false"/>
171
		                <FIELD name="resulttypeid" xpath="//*[local-name()='entity']/*[local-name()='result']/resulttype/@classid" tokenizable="false"
172
		                       stat="false" result="false" indexable="true" multivalued="false"/>
173
		                <FIELD name="resulttypename" xpath="//*[local-name()='entity']/*[local-name()='result']/resulttype/@classname" tokenizable="false"
174
		                       stat="false" result="false" indexable="true" multivalued="false"/>
175
		                <FIELD name="resultlanguagename" xpath="//*[local-name()='entity']/*[local-name()='result']/language/@classname" tokenizable="false"
176
		                       indexable="true" result="false" stat="false" multivalued="false"/>
177
		                <FIELD name="resultpublisher" xpath="//*[local-name()='entity']/*[local-name()='result']/*[local-name()='publisher']" indexable="true"
178
		                       result="false" stat="false"/>
179
		                <FIELD name="resultdescription" xpath="//*[local-name()='entity']/*[local-name()='result']//*[local-name()='description']"
180
		                       result="false" indexable="true" stat="false"/>
181
		                <FIELD name="resultlicense" xpath="//*[local-name()='entity']/*[local-name()='result']/children/instance/license"
182
		                       tokenizable="false" indexable="true" result="false" stat="false"/>
183
		                <FIELD name="resultaccessright" xpath="//*[local-name()='entity']/*[local-name()='result']/children/instance/accessright/@classname"
184
		                       tokenizable="false" indexable="true" result="false" stat="false"/>
185
		                <FIELD name="resultbestaccessright" xpath="//*[local-name()='entity']/*[local-name()='result']/bestaccessright/@classname" tokenizable="false"
186
		                       indexable="true" result="false" stat="false" multivalued="false"/>
187
		                <FIELD name="resultdateofacceptance" value="//*[local-name()='entity']/*[local-name()='result']/dateofacceptance" type="pdate"
188
		                       stat="false" result="false" indexable="true" multivalued="false"/>
189
		                <FIELD name="resultacceptanceyear" value="dnet:extractYear(//*[local-name()='entity']/*[local-name()='result']/dateofacceptance)"
190
		                       tokenizable="false" stat="false" result="false" indexable="true" multivalued="false"/>
191
		                <FIELD name="resultauthor" xpath="//*[local-name()='entity']/*[local-name()='result']/creator"
192
		                       type="personName" stat="false" result="false" indexable="true" multivalued="true" />
193
		                <FIELD name="resultauthorprefix" xpath="//*[local-name()='entity']/*[local-name()='result']/creator"
194
		                       type="personNamePrefix" stat="false" result="false" indexable="true" multivalued="true" />
195
		                <FIELD name="resulthostingdatasource"
196
		                       xpath="//*[local-name()='entity']/*[local-name()='result']/children/instance/*[local-name()='hostedby']"
197
		                       value="distinct-values(dnet:join(./@id, '||', ./@name))" tokenizable="false" stat="false" result="false" indexable="true"/>
198
		                <FIELD name="resulthostingdatasourceid"
199
		                       xpath="distinct-values(//*[local-name()='entity']/*[local-name()='result']/children/instance/*[local-name()='hostedby']/@id)" tokenizable="false"
200
		                       stat="false" result="false" indexable="true"/>
201
		                <FIELD name="resulthostingdatasourcename"
202
		                       xpath="distinct-values(//*[local-name()='entity']/*[local-name()='result']/children/instance/*[local-name()='hostedby']/@name)"
203
		                       tokenizable="false" stat="false" result="false" indexable="true"/>
204

    
205
		                <FIELD name="instancetypename"
206
		                       xpath="distinct-values(//*[local-name()='entity']/*[local-name()='result']/children/instance/*[local-name()='instancetype']/@classname)"
207
		                       tokenizable="false" stat="false" result="false" indexable="true"/>
208
		                <FIELD name="resultdupid" xpath="//*[local-name()='entity']/*//children/result/@objidentifier" tokenizable="false" stat="false"
209
		                       result="false" indexable="true"/>
210

    
211
		                <FIELD name="externalrefsite" xpath="distinct-values(//*[local-name()='entity']/*//children/externalreference/sitename)" tokenizable="false" stat="false"
212
		                       result="false" indexable="true"/>
213
		                <FIELD name="externalreflabel" xpath="distinct-values(//*[local-name()='entity']/*//children/externalreference/label)" tokenizable="true" stat="false"
214
		                       result="false" indexable="true"/>
215
		                <FIELD name="externalrefclass" xpath="distinct-values(//*[local-name()='entity']/*//children/externalreference/qualifier/@classid)" tokenizable="false"
216
		                       stat="false" result="false" indexable="true"/>
217
		                <FIELD name="externalrefid" xpath="(//*[local-name()='entity']/*//children/externalreference/refidentifier)" tokenizable="false"
218
		                       stat="false" result="false" indexable="true"/>
219

    
220
		                <FIELD indexable="true" name="resultidentifier" result="false" stat="false"
221
		                       xpath="distinct-values(//*[local-name()='entity']/*[local-name()='result']/children/instance/webresource/*[local-name()='url'])"/>
222
		                <FIELD indexable="true" name="resultsource" result="false" stat="false"
223
		                       xpath="distinct-values(//*[local-name()='entity']/*[local-name()='result']/source)"/>
224

    
225
		                <!--  REL FIELDS -->
226
		                <FIELD name="reldatasourcecompatibilityid"
227
		                       xpath="distinct-values(//*[local-name()='entity']/*//rel[./to/@type='datasource']/openairecompatibility/@classid)" tokenizable="false"
228
		                       indexable="true" stat="false" result="false"/>
229

    
230
		                <FIELD name="relproject" xpath="//*[local-name()='entity']/*//rel/to[@type='project']"
231
		                       value="distinct-values(dnet:join(./text(), '||', dnet:pickFirst(../acronym/text(), ../title/text())))"
232
		                       tokenizable="false" stat="false" result="false" indexable="true" />
233

    
234
		                <FIELD name="relprojectid" xpath="distinct-values(//*[local-name()='entity']/*//rel/to[@type='project'])" stat="false" result="false"
235
		                       indexable="true" tokenizable="false"/>
236
		                <FIELD name="relprojectcode" xpath="distinct-values(//*[local-name()='entity']/*//rel[to/@type='project']/code)" stat="false" result="false"
237
		                       indexable="true"/>
238
		                <FIELD name="relprojectname" xpath="distinct-values(//*[local-name()='entity']/*//rel[./to/@type='project']/acronym)" tokenizable="false" stat="false"
239
		                       result="false" indexable="true"/>
240
		                <FIELD name="relprojecttitle" xpath="distinct-values(//*[local-name()='entity']/*//rel[./to/@type='project']/title)" stat="false" result="false"
241
		                       indexable="true"/>
242
		                <FIELD name="relcontracttypeid" xpath="distinct-values(//*[local-name()='entity']/*//rel[./to/@type='project']/contracttype/@classid)"
243
		                       tokenizable="false" indexable="true" stat="false" result="false"/>
244
		                <FIELD name="relcontracttypename" xpath="distinct-values(//*[local-name()='entity']/*//rel[./to/@type='project']/contracttype/@classname)"
245
		                       indexable="true" stat="false" result="false"/>
246
		                <FIELD name="relorganizationcountryid" xpath="distinct-values(//*[local-name()='entity']/*//rel[./to/@type='organization']/country/@classid)"
247
		                       tokenizable="false" indexable="true" stat="false" result="false"/>
248
		                <FIELD name="relorganizationcountryname" xpath="distinct-values(//*[local-name()='entity']/*//rel[./to/@type='organization']/country/@classname)"
249
		                       indexable="true" stat="false" result="false"/>
250
		                <FIELD name="relorganizationid" xpath="distinct-values(//*[local-name()='entity']/*//rel/to[@type='organization'])" tokenizable="false" stat="false"
251
		                       result="false" indexable="true"/>
252
		                <FIELD name="relorganizationname" xpath="distinct-values(//*[local-name()='entity']/*//rel[./to/@type='organization']/legalname)" stat="false"
253
		                       result="false" indexable="true"/>
254
		                <FIELD name="relorganizationshortname" xpath="distinct-values(//*[local-name()='entity']/*//rel[./to/@type='organization']/legalshortname)" stat="false"
255
		                       result="false" indexable="true"/>
256
		                <FIELD name="relresultid" xpath="distinct-values(//*[local-name()='entity']/*//rel/to[@type='result'])" tokenizable="false" stat="false" result="false"
257
		                       indexable="true"/>
258
		                <FIELD name="relfundinglevel0_id" xpath="//*[local-name()='entity']//rel/funding/funding_level_0" tokenizable="false" stat="false"
259
		                       result="false" indexable="true"/>
260
						<FIELD name="relfundinglevel0_name" xpath="//*[local-name()='entity']//rel/funding/funding_level_0/@name/string()" tokenizable="false" stat="false"
261
							   result="false" indexable="true"/>
262
		                <FIELD name="relfundinglevel1_id" xpath="//*[local-name()='entity']//rel/funding/funding_level_1" tokenizable="false" stat="false"
263
		                       result="false" indexable="true"/>
264
						<FIELD name="relfundinglevel1_name" xpath="//*[local-name()='entity']//rel/funding/funding_level_1/@name/string()" tokenizable="false" stat="false"
265
							   result="false" indexable="true"/>
266
		                <FIELD name="relfundinglevel2_id" xpath="//*[local-name()='entity']//rel/funding/funding_level_2" tokenizable="false" stat="false"
267
		                       result="false" indexable="true"/>
268
						<FIELD name="relfundinglevel2_name" xpath="//*[local-name()='entity']//rel/funding/funding_level_2/@name/string()" tokenizable="false" stat="false"
269
							   result="false" indexable="true"/>
270

    
271
		                <FIELD name="relinferred" xpath="distinct-values(//*[local-name()='entity']//rel/@inferred)" tokenizable="false" stat="false" result="false"
272
		                       indexable="true"/>
273
		                <FIELD name="reltrust" xpath="distinct-values(//*[local-name()='entity']//rel/@trust)" tokenizable="false" stat="false" result="false" indexable="true"/>
274
		                <FIELD name="relinferenceprovenance" xpath="distinct-values(//*[local-name()='entity']//rel/@inferenceprovenance)" tokenizable="false" stat="false"
275
		                       result="false" indexable="true"/>
276
		                <FIELD name="relprovenanceactionclassid" xpath="distinct-values(//*[local-name()='entity']//rel/@provenanceaction)" tokenizable="false" stat="false"
277
		                       result="false" indexable="true"/>
278

    
279
		                <!--  PROJECTS' FUNDER FIELDS: indexable only with the new funding path/context handling -->
280

    
281
		                <FIELD name="relfunder" xpath="//*[local-name()='entity']//rel/funding/funder" value="distinct-values(dnet:join(@id, '||', dnet:join(@name, '||', @shortname)))"
282
		                       tokenizable="false" indexable="true" result="false" stat="false"/>
283

    
284
		                <FIELD name="relfunderid" xpath="distinct-values(//*[local-name()='entity']//rel/funding/funder/@id)" tokenizable="false" indexable="true"
285
		                       result="false" stat="false"/>
286
		                <FIELD name="relfundershortname" xpath="distinct-values(//*[local-name()='entity']//rel/funding/funder/@shortname)" tokenizable="false" indexable="true"
287
		                       result="false" stat="false"/>
288
		                <FIELD name="relfundername" xpath="distinct-values(//*[local-name()='entity']//rel/funding/funder/@name)" tokenizable="false" indexable="true"
289
		                       result="false" stat="false"/>
290
		                <FIELD name="relfunderjurisdiction" xpath="distinct-values(//*[local-name()='entity']//rel/funding/funder/@jurisdiction)" tokenizable="false"
291
		                       indexable="true" result="false" stat="false"/>
292

    
293
		                <!-- Collected from of the related entity. Available for result-result relationships -->
294
		                <FIELD name="relcollectedfromid" xpath="distinct-values(//*[local-name()='entity']/*//rel/collectedfrom/@id)" tokenizable="false" stat="false" result="false"
295
		                       indexable="true"/>
296
		                <FIELD name="relcollectedfromname" xpath="distinct-values(//*[local-name()='entity']/*//rel/collectedfrom/@name)" tokenizable="false" stat="false" result="false"
297
		                       indexable="true"/>
298

    
299

    
300
		                <!-- COMMON FIELDS -->
301

    
302
		                <FIELD name="dateofcollection" value="//header/*[local-name()='dateOfCollection']" type="pdate" stat="false" result="false"
303
		                       indexable="true" multivalued="false"/>
304

    
305
		                <FIELD name="collectedfrom" xpath="//*[local-name()='entity']/*/*[local-name()='collectedfrom'] | //*[local-name()='entity']/*//*[local-name() = 'instance']/*[local-name()='collectedfrom']"
306
		                       value="distinct-values(dnet:join(./@id, '||', ./@name))" tokenizable="false" stat="false" result="false" indexable="true" />
307

    
308
		                <FIELD name="collectedfromdatasourceid" xpath="distinct-values(//*[local-name()='entity']/*/*[local-name()='collectedfrom']/@id | //*[local-name()='entity']/*//*[local-name() = 'instance']/*[local-name()='collectedfrom']/@id)"
309
							   tokenizable="false" indexable="true" result="false" stat="false"/>
310
		                <FIELD name="collectedfromname" xpath="distinct-values(//*[local-name()='entity']/*/*[local-name()='collectedfrom']/@name | //*[local-name()='entity']/*//*[local-name() = 'instance']/*[local-name()='collectedfrom']/@name)"
311
							   tokenizable="false" indexable="true" result="false" stat="false"/>
312

    
313
		                <FIELD name="pid" xpath="//*[local-name()='entity']/*[local-name()='result']/pid/text()" type="string_ci" tokenizable="false" stat="false" result="false" indexable="true"/>
314
		                <FIELD name="pidclassid" xpath="distinct-values(//*[local-name()='entity']/*[local-name()='result']/pid/@classid)" tokenizable="false" stat="false" result="false"
315
		                       indexable="true"/>
316
		                <FIELD name="pidclassname" xpath="distinct-values(//*[local-name()='entity']/*[local-name()='result']/pid/@classname)" tokenizable="false" stat="false" result="false"
317
		                       indexable="true"/>
318

    
319
		                <FIELD name="inferred" xpath="//*[local-name()='entity']//datainfo/inferred" tokenizable="false" stat="false" result="false"
320
		                       indexable="true"/>
321
		                <FIELD name="deletedbyinference" xpath="//*[local-name()='entity']//datainfo/deletedbyinference" tokenizable="false" stat="false"
322
		                       result="false" indexable="true"/>
323
		                <FIELD name="trust" xpath="//*[local-name()='entity']//datainfo/trust" tokenizable="false" stat="false" result="false"
324
		                       indexable="true"/>
325
		                <FIELD name="inferenceprovenance" xpath="//*[local-name()='entity']//datainfo/inferenceprovenance" tokenizable="false" stat="false"
326
		                       result="false" indexable="true"/>
327
		                <FIELD name="provenanceactionclassid" xpath="//*[local-name()='entity']//datainfo/provenanceaction/@classid" tokenizable="false"
328
		                       stat="false" result="false" indexable="true"/>
329

    
330
		                <FIELD name="contextid" xpath="//*[local-name()='entity']/*[local-name()='result']/context/@id" tokenizable="false" indexable="true"
331
		                       result="false" stat="false"/>
332
		                <FIELD name="contexttype" xpath="//*[local-name()='entity']/*[local-name()='result']/context/@type" tokenizable="false" indexable="true"
333
		                       result="false" stat="false"/>
334
		                <FIELD name="contextname" xpath="//*[local-name()='entity']/*[local-name()='result']/context/@label" tokenizable="false"
335
		                       indexable="true" result="false" stat="false"/>
336
		                <!-- Need special fields for community (research initiative) context in order to exclude funders from the context browse -->
337
		                <FIELD name="community"
338
		                       xpath="//*[local-name()='entity']/*[local-name()='result']/context[@type='community' or @type='ri']" value="dnet:join(@id, '||', @label)"
339
		                       tokenizable="false" indexable="true" result="false" stat="false" />
340

    
341
		                <FIELD name="communityname" xpath="//*[local-name()='entity']/*[local-name()='result']/context[@type='community' or @type='ri']/@label"
342
		                       tokenizable="false" indexable="true" result="false" stat="false"/>
343

    
344
		                <FIELD name="communityid" xpath="//*[local-name()='entity']/*[local-name()='result']/context[@type='community' or @type='ri']/@id" tokenizable="false"
345
		                       indexable="true" result="false" stat="false"/>
346

    
347
		                <FIELD name="categoryid" xpath="//*[local-name()='entity']/*[local-name()='result']/context/category/@id" tokenizable="false"
348
		                       indexable="true" result="false" stat="false"/>
349
		                <FIELD name="categoryname" xpath="//*[local-name()='entity']/*[local-name()='result']/context/category/@label" tokenizable="false"
350
		                       indexable="true" result="false" stat="false"/>
351
		                <FIELD name="conceptid" xpath="//*[local-name()='entity']/*[local-name()='result']/context/category//concept/@id" tokenizable="false"
352
		                       indexable="true" result="false" stat="false"/>
353
		                <FIELD name="conceptname" xpath="//*[local-name()='entity']/*[local-name()='result']/context/category//concept/@label"
354
		                       tokenizable="false" indexable="true" result="false" stat="false"/>
355
		                <!-- new index field for country info from different xpaths for any type of entity -->
356
		                <FIELD name="country" xpath="//*[local-name()='entity']/*/country/@classid | //*[local-name()='entity']/*//rel[./to/@type='organization']/country/@classid | //*[local-name()='entity']//funder/@jurisdiction"
357
		                       tokenizable="false" indexable="true" stat="false" result="false"/>
358

    
359
		                <!-- COUNTER FIELDS -->
360
		                <FIELD header="true" multivalued="false" indexable="true" name="counter_dedup" result="false" stored="true" type="pint" xpath="/record/result/*[local-name()='header']/*[local-name()='counters']/counter_dedup/@value"/>
361
		                <FIELD header="true" multivalued="false" indexable="true" name="counter_authorship" result="false" stored="true" type="pint" xpath="/record/result/*[local-name()='header']/*[local-name()='counters']/counter_authorship/@value"/>
362
		                <FIELD header="true" multivalued="false" indexable="true" name="counter_participation" result="false" stored="true" type="pint" xpath="/record/result/*[local-name()='header']/*[local-name()='counters']/counter_participation/@value"/>
363
		                <FIELD header="true" multivalued="false" indexable="true" name="counter_similarity" result="false" stored="true" type="pint" xpath="/record/result/*[local-name()='header']/*[local-name()='counters']/counter_similarity/@value"/>
364

    
365
		                <FIELD header="true" multivalued="false" indexable="true" name="counter_publicationdataset" result="false" stored="true" type="pint" xpath="/record/result/*[local-name()='header']/*[local-name()='counters']/counter_publicationDataset/@value"/>
366
		                <FIELD header="true" multivalued="false" indexable="true" name="counter_publicationdataset_claimed" result="false" stored="true" type="pint" xpath="/record/result/*[local-name()='header']/*[local-name()='counters']/counter_publicationDataset_claimed/@value"/>
367
		                <FIELD header="true" multivalued="false" indexable="true" name="counter_publicationdataset_collected" result="false" stored="true" type="pint" xpath="/record/result/*[local-name()='header']/*[local-name()='counters']/counter_publicationDataset_collected/@value"/>
368
		                <FIELD header="true" multivalued="false" indexable="true" name="counter_publicationdataset_inferred" result="false" stored="true" type="pint" xpath="/record/result/*[local-name()='header']/*[local-name()='counters']/counter_publicationDataset_inferred/@value"/>
369

    
370
		                <FIELD header="true" multivalued="false" indexable="true" name="counter_outcome" result="false" stored="true" type="pint" xpath="/record/result/*[local-name()='header']/*[local-name()='counters']/counter_outcome/@value"/>
371
		                <FIELD header="true" multivalued="false" indexable="true" name="counter_outcome_claimed" result="false" stored="true" type="pint" xpath="/record/result/*[local-name()='header']/*[local-name()='counters']/counter_outcome_claimed/@value"/>
372
		                <FIELD header="true" multivalued="false" indexable="true" name="counter_outcome_collected" result="false" stored="true" type="pint" xpath="/record/result/*[local-name()='header']/*[local-name()='counters']/counter_outcome_collected/@value"/>
373
		                <FIELD header="true" multivalued="false" indexable="true" name="counter_outcome_inferred" result="false" stored="true" type="pint" xpath="/record/result/*[local-name()='header']/*[local-name()='counters']/counter_outcome_inferred/@value"/>
374

    
375
		                <FIELD header="true" multivalued="false" indexable="true" name="counter_affiliation" result="false" stored="true" type="pint" xpath="/record/result/*[local-name()='header']/*[local-name()='counters']/counter_affiliation/@value"/>
376

    
377
		                <FIELD header="true" multivalued="false" indexable="true" name="counter_doi" result="false" stored="true" type="pint" xpath="/record/result/*[local-name()='header']/*[local-name()='counters']/counter_doi/@value"/>
378
	                </FIELDS>
379
                </LAYOUT>
380
                <LAYOUT name="store">
381
                    <FIELDS>
382
                        <FIELD xpath="//dc:language" stat="true" indexable="false" name="language" result="false"/>
383
                        <FIELD xpath="//dr:repositoryCountry" name="repositoryCountry" stat="true" result="false" indexable="false"/>
384
                    </FIELDS>
385
                </LAYOUT>
386
            </LAYOUTS>
387
        </STATUS>
388
    </BODY>
389
</RESOURCE_PROFILE>
(1-1/2)