Project

General

Profile

« Previous | Next » 

Revision 51941

Updated ariadne mapping

View differences:

modules/dnet-parthenos/trunk/src/main/resources/eu/dnetlib/bootstrap/profiles/TransformationRuleDSResources/TransformationRuleDSResourceType/ariadne_dataset_444_mapping.xml
10 10
		<CONFIGURATION>
11 11
			<IMPORTED/>
12 12
			<SCRIPT>
13
				<TITLE>Ariadne 444 Mapping 2018-03-28</TITLE>
13
				<TITLE>Ariadne 444 Mapping 2018-04-24</TITLE>
14 14
				<CODE><![CDATA[
15 15
<x3ml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" editor="3MEditor v3.2" source_type="xpath" version="1.0" xsi:noNamespaceSchemaLocation="x3ml_v1.0.xsd">
16 16
    <info>
......
106 106
                    <entity>
107 107
                        <type>crmpe:PE22_Persistent_Dataset</type>
108 108
                        <type>crm:E33_Linguistic_Object</type>
109
                        <instance_generator name="URIorUUID">
110
                            <arg name="text" type="xpath">//acdm:originalId/text()</arg>
109
                        <instance_generator name="DatasetURI">
110
                            <arg name="term" type="xpath">//acdm:originalId/text()</arg>
111 111
                        </instance_generator>
112 112
                        <label_generator name="Literal">
113 113
                            <arg name="text" type="xpath">//dcterms:title/text()</arg>
......
1221 1221
                        </if>
1222 1222
                        <entity>
1223 1223
                            <type>crmpe:PE22_Persistent_Dataset</type>
1224
                            <instance_generator name="DatasetURI">
1225
                                <arg name="term" type="xpath">acdm:xmlDoc/text()</arg>
1224
                            <instance_generator name="URIorUUID">
1225
                                <arg name="text" type="xpath">acdm:xmlDoc/text()</arg>
1226 1226
                            </instance_generator>
1227 1227
                            <label_generator name="SimpleLabel">
1228 1228
                                <arg name="label" type="xpath">acdm:xmlDoc/text()</arg>
......
2105 2105
                    <entity>
2106 2106
                        <type>crmpe:PE22_Persistent_Dataset</type>
2107 2107
                        <instance_generator name="URIorUUID">
2108
                            <arg name="text" type="xpath">//dcterms:identifier/text()</arg>
2108
                            <arg name="text" type="xpath">(//dcterms:identifier/text())[last()]</arg>
2109 2109
                        </instance_generator>
2110 2110
                        <label_generator name="CompositeLabel">
2111 2111
                            <arg name="label" type="constant">ARIADNE Record for</arg>
2112 2112
                            <arg name="text" type="xpath">//dcterms:title/text()</arg>
2113 2113
                        </label_generator>
2114
                        <additional>
2115
                            <relationship>crmpe:PP23i_is_dataset_part_of</relationship>
2116
                            <entity>
2117
                                <type>crmpe:PE24_Volatile_Dataset</type>
2118
                                <instance_info>
2119
                                    <constant>http://parthenos.d4science.org/handle/Parthenos/REG/Dataset/Ariadne%20Catalogue%20Dataset</constant>
2120
                                </instance_info>
2121
                                <instance_generator name="URIorUUID">
2122
                                    <arg name="text" type="constant">http://parthenos.d4science.org/handle/Parthenos/REG/Dataset/Ariadne%20Catalogue%20Dataset</arg>
2123
                                </instance_generator>
2124
                            </entity>
2125
                        </additional>
2114 2126
                    </entity>
2115 2127
                </target_node>
2116 2128
            </domain>

Also available in: Unified diff