Project

General

Profile

« Previous | Next » 

Revision 49357

DARIAH GR mapping 317 in sync with version updated on 2017-10-09

View differences:

modules/dnet-parthenos/trunk/src/main/resources/eu/dnetlib/bootstrap/profiles/TransformationRuleDSResources/TransformationRuleDSResourceType/dariah-GR_317_mapping.xml
67 67
            <example_data_from>Dariah GR</example_data_from>
68 68
            <example_data_contact_person>Athanasios N. Karasimos</example_data_contact_person>
69 69
            <example_data_source_record xml_link="Dariah_New_Eg___10-08-2017111721___13381___10-08-2017115301___3717.xml"/>
70
            <generator_policy_info generator_link="dariah_gen_aug___10-08-2017120510___8667.xml"/>
70
            <generator_policy_info generator_link="PARTHENOS-GeneratorPolicy_v1.2___10-08-2017153548___8596.xml"/>
71 71
            <example_data_target_record rdf_link="Mapping317.ttl"/>
72 72
        </example_data_info>
73 73
    </info>
......
78 78
        <namespace prefix="academy" uri="http://www.academyofathens.gr/"/>
79 79
        <namespace prefix="crmpe" uri="http://www.ics.forth.gr/isl/CRMext/CRMpe.rdfs/"/>
80 80
        <namespace prefix="cld" uri="http://purl.org/cld/terms/"/>
81
        <namespace prefix="parthenos" uri="http://pathenos.d4science.org/handle/DariahGR/Dyas/"/>
82
        <namespace prefix="reg" uri="http://pathenos.d4science.org/handle/Parthenos/REG/"/>
83
        <namespace prefix="oai" uri="http://www.openarchives.org/OAI/2.0/"/>
81
        <namespace prefix="parthenos" uri="http://parthenos.d4science.org/handle/DariahGR/Dyas/"/>
82
        <namespace prefix="reg" uri="http://parthenos.d4science.org/handle/Parthenos/REG/"/>
84 83
    </namespaces>
85 84
    <mappings>
86 85
        <mapping>
87 86
            <domain>
88
                <source_node>//oai:record</source_node>
87
                <source_node>//record</source_node>
89 88
                <target_node>
90 89
                    <entity>
91 90
                        <type>crmpe:PE22_Persistent_Dataset</type>
92 91
                        <instance_generator name="DatasetURI">
93
                            <arg name="term" type="xpath">oai:header/oai:identifier/text()</arg>
92
                            <arg name="term" type="xpath">header/identifier/text()</arg>
94 93
                        </instance_generator>
95
                        <label_generator name="SimpleLabel">
96
                            <arg name="label" type="xpath">oai:header/oai:identifier/text()</arg>
94
                        <label_generator name="CompositeLabel">
95
                            <arg name="label" type="constant">Metadata Record for </arg>
96
                            <arg name="text" type="xpath">metadata/collection/dc:title/text()</arg>
97 97
                        </label_generator>
98 98
                        <additional>
99 99
                            <relationship>crm:P2_has_type</relationship>
......
118 118
                                <instance_info>
119 119
                                    <constant>http://parthenos.d4science.org/handle/Parthenos/REG/Dataset/Dyas Catalogue Dataset</constant>
120 120
                                </instance_info>
121
                                <instance_generator name="Constant">
122
                                    <arg name="text" type="constant">http://parthenos.d4science.org/handle/Parthenos/REG/Dataset/Dyas Catalogue Dataset</arg>
121
                                <instance_generator name="URIorUUID">
122
                                    <arg name="text" type="constant">http://parthenos.d4science.org/handle/Parthenos/REG/Dataset/Dyas%20Catalogue%20Dataset</arg>
123 123
                                </instance_generator>
124 124
                            </entity>
125 125
                        </additional>
126
                        <additional>
127
                            <relationship>crm:P2_has_type</relationship>
128
                            <entity>
129
                                <type>crm:E55_Type</type>
130
                                <instance_info>
131
                                    <constant>XML</constant>
132
                                </instance_info>
133
                                <instance_generator name="ConceptURI_2step">
134
                                    <arg name="term" type="constant">encodingtype</arg>
135
                                    <arg name="term1" type="constant">xml</arg>
136
                                </instance_generator>
137
                                <label_generator name="SimpleLabel">
138
                                    <arg name="label" type="constant">XML</arg>
139
                                </label_generator>
140
                            </entity>
141
                        </additional>
126 142
                    </entity>
127 143
                </target_node>
128 144
            </domain>
129 145
            <link>
130 146
                <path>
131 147
                    <source_relation>
132
                        <relation>oai:header/oai:identifier</relation>
148
                        <relation>header/identifier</relation>
133 149
                    </source_relation>
134 150
                    <target_relation>
135 151
                        <relationship>crm:P1_is_identified_by</relationship>
136 152
                    </target_relation>
137 153
                </path>
138 154
                <range>
139
                    <source_node>oai:header/oai:identifier</source_node>
155
                    <source_node>header/identifier</source_node>
140 156
                    <target_node>
141 157
                        <entity>
142 158
                            <type>crm:E42_Identifier</type>
......
153 169
            <link>
154 170
                <path>
155 171
                    <source_relation>
156
                        <relation>oai:metadata/collection</relation>
172
                        <relation>metadata/collection</relation>
157 173
                    </source_relation>
158 174
                    <target_relation>
159 175
                        <relationship>crm:P129_is_about</relationship>
160 176
                    </target_relation>
161 177
                </path>
162 178
                <range>
163
                    <source_node>oai:metadata/collection</source_node>
179
                    <source_node>metadata/collection</source_node>
164 180
                    <target_node>
165 181
                        <entity>
166 182
                            <type>crm:E78_Collection</type>
......
177 193
            <link>
178 194
                <path>
179 195
                    <source_relation>
180
                        <relation>oai:header/oai:datestamp</relation>
196
                        <relation>header/datestamp</relation>
181 197
                    </source_relation>
182 198
                    <target_relation>
183 199
                        <relationship>crmdig:L11i_was_output_of</relationship>
......
186 202
                            <instance_generator name="UUID"/>
187 203
                            <label_generator name="CompositeLabel">
188 204
                                <arg name="label" type="constant">Event of Creation of Metadata Record: </arg>
189
                                <arg name="text" type="xpath">../oai:identifier/text()</arg>
205
                                <arg name="text" type="xpath">../identifier/text()</arg>
190 206
                            </label_generator>
191 207
                            <label_generator name=""/>
192 208
                        </entity>
......
196 212
                            <instance_generator name="UUID"/>
197 213
                            <label_generator name="CompositeLabel">
198 214
                                <arg name="label" type="constant">Timespan of Event of Creation of Metadata Record: </arg>
199
                                <arg name="text" type="xpath">../oai:identifier/text()</arg>
215
                                <arg name="text" type="xpath">../identifier/text()</arg>
200 216
                            </label_generator>
201 217
                        </entity>
202 218
                        <relationship>crm:P82_at_some_time_within</relationship>
203 219
                    </target_relation>
204 220
                </path>
205 221
                <range>
206
                    <source_node>oai:header/oai:datestamp</source_node>
222
                    <source_node>header/datestamp</source_node>
207 223
                    <target_node>
208 224
                        <entity>
209 225
                            <type>:http://www.w3.org/2000/01/rdf-schema#Literal</type>
......
217 233
        </mapping>
218 234
        <mapping>
219 235
            <domain>
220
                <source_node>//oai:record/oai:metadata/collection</source_node>
236
                <source_node>//record/metadata/collection</source_node>
221 237
                <target_node>
222 238
                    <entity>
223 239
                        <type>crm:E78_Collection</type>

Also available in: Unified diff