-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathrdf.mapping.node.asu_repository_item.yml
221 lines (221 loc) · 5.56 KB
/
rdf.mapping.node.asu_repository_item.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
uuid: f8adfe5e-cff3-4681-a764-05599dab7312
langcode: en
status: true
dependencies:
config:
- node.type.asu_repository_item
module:
- node
id: node.asu_repository_item
targetEntityType: node
bundle: asu_repository_item
types:
- 'pcdm:Object'
fieldMappings:
field_linked_agent:
properties:
- 'dcterms:contributor'
field_handle:
properties:
- 'dcterms:identifier'
- 'mods:identifier'
- 'identifiers:hdl'
nid:
properties:
- 'dcterms:identifier'
- 'mods:identifier'
field_coordinates:
properties:
- 'dcterms:spatial'
- 'mods:cartographicsCoordinates'
field_date_digitized:
properties:
- 'premis:dateCreatedByApplication'
field_collaborating_institutions:
properties:
- 'dcterms:contributor'
field_pid:
properties:
- 'dcterms:identifier'
- 'mods:identifier'
field_edtf_date_created:
properties:
- 'dcterms:created'
- 'mods:dateCreated'
datatype_callback:
callable: 'Drupal\controlled_access_terms\EDTFConverter::dateIso8601Value'
field_edtf_copyright_date:
properties:
- 'dcterms:dateCopyrighted'
- 'mods:dateOfCopyright'
datatype_callback:
callable: 'Drupal\controlled_access_terms\EDTFConverter::dateIso8601Value'
field_preferred_citation:
properties:
- 'dcterms:bibliographicCitation'
field_issuance:
properties:
- 'rdau:P60051'
- 'mods:issuance'
field_frequency:
properties:
- 'mods:frequency'
- 'rdau:P60538'
field_genre:
properties:
- 'dcterms:type'
- 'mods:genre'
field_resource_type:
properties:
- 'dcterms:type'
- 'mods:genre'
field_statement_responsibility:
properties:
- 'mods:statementOfResponsibility'
field_copyright_statement:
properties:
- 'dcterms:rights'
datatype_callback:
callable: 'Drupal\jsonld\EntityReferenceConverter::linkFieldPassthrough'
arguments:
link_field: field_source
field_reuse_permissions:
properties:
- 'dcterms:license'
datatype_callback:
callable: 'Drupal\jsonld\EntityReferenceConverter::linkFieldPassthrough'
arguments:
link_field: field_source
field_rich_description:
properties:
- 'dcterms:description'
- 'mods:abstract'
field_extent:
properties:
- 'dcterms:extent'
- 'mods:physicalExtent'
field_member_of:
properties:
- 'pcdm:memberOf'
mapping_type: rel
field_additional_memberships:
properties:
- 'pcdm:memberOf'
mapping_type: rel
field_language:
properties:
- 'dcterms:language'
- 'mods:languageOfResource'
field_edition:
properties:
- 'rdau:P60329'
- 'mods:edition'
field_place_published:
properties:
- 'mods:placeOfOrigin'
field_place_of_publication_code:
properties:
- 'mods:placeOfOrigin'
field_table_of_contents:
properties:
- 'dcterms:tableOfContents'
- 'mods:tableOfContents'
field_note_para:
properties:
- 'mods:note'
- 'dcterms:description'
datatype_callback:
callable: 'Drupal\asu_custom_rdf\ParagraphMapping::singlefield'
arguments:
- field_note_text
field_weight:
properties:
- 'co:index'
created:
properties:
- 'bf:creationDate'
- 'schema:dateCreated'
datatype_callback:
callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'
changed:
properties:
- 'bf:changeDate'
- 'schema:dateModified'
datatype_callback:
callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'
uid:
properties:
- 'relators:dtc'
datatype_callback:
callable: 'Drupal\asu_custom_rdf\UidLookup::username'
mapping_type: property
field_open_access:
properties:
- 'dcterms:accessRights'
datatype_callback:
callable: 'Drupal\asu_custom_rdf\ParseBoolean::tostring'
arguments:
1: 'open access'
field_subjects_name:
properties:
- 'dcterms:subject'
- 'mods:subjectName'
field_temporal_subject:
properties:
- 'dcterms:subject'
- 'mods:subjectTemporal'
field_geographic_subject:
properties:
- 'dcterms:subject'
- 'mods:subjectGeograhpic'
field_subject:
properties:
- 'dcterms:subject'
- 'mods:subjectTopic'
field_title_subject:
properties:
- 'dcterms:subject'
- 'mods:subjectTitle'
status:
properties:
- 'asu:visibility'
datatype_callback:
callable: 'Drupal\asu_custom_rdf\ParseBoolean::tostring'
arguments:
- unpublished
- published
field_peer_reviewed:
properties:
- 'mods:genre'
datatype_callback:
callable: 'Drupal\asu_custom_rdf\ParseBoolean::touri'
arguments:
1: 'http://vocab.getty.edu/page/aat/300380321'
field_series:
properties:
- 'mods:relatedSeries'
field_embargo_release_date:
properties:
- 'dcterms:available'
field_title:
properties:
- 'dcterms:title'
- 'mods:title'
datatype_callback:
callable: 'Drupal\asu_custom_rdf\ParagraphMapping::titlepartmerge'
arguments:
nonsort: field_nonsort
main: field_main_title
subtitle: field_subtitle
field_typed_identifier:
properties:
- 'dcterms:identifier'
- 'mods:identifier'
datatype_callback:
callable: 'Drupal\asu_custom_rdf\ParagraphMapping::typedmap'
arguments:
type_field: field_identifier_type
type_taxonomy_field: field_identifier_predicate
value_field: field_identifier_value
predicate: identifiers
mapping_type: par