Revision 52909
Added by Alessia Bardi about 5 years ago
modules/dnet-parthenos/trunk/src/main/resources/eu/dnetlib/bootstrap/profiles/TransformationRuleDSResources/TransformationRuleDSResourceType/metashare_439_mapping.xml | ||
---|---|---|
10 | 10 |
<CONFIGURATION> |
11 | 11 |
<IMPORTED/> |
12 | 12 |
<SCRIPT> |
13 |
<TITLE>METASHARE 439 Mapping 2018-04-08</TITLE>
|
|
13 |
<TITLE>METASHARE 439 Mapping 2018-07-30</TITLE>
|
|
14 | 14 |
<CODE><![CDATA[<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"> |
15 | 15 |
<info> |
16 | 16 |
<title>Metashare -> PE Mapping File Official</title> |
... | ... | |
72 | 72 |
<example_data_from/> |
73 | 73 |
<example_data_contact_person/> |
74 | 74 |
<example_data_source_record xml_link="metashare___17-10-2017121752___12665.xml"/> |
75 |
<generator_policy_info generator_link="PARTHENOS-GeneratorPolicy_v1.3___03-10-2017173214___13642.xml"/>
|
|
75 |
<generator_policy_info generator_link="PARTHENOS-GeneratorPolicy_v1.5___24-07-2018130411___9342.xml"/>
|
|
76 | 76 |
<example_data_target_record rdf_link="Mapping439.ttl"/> |
77 | 77 |
</example_data_info> |
78 | 78 |
</info> |
... | ... | |
443 | 443 |
<target_node> |
444 | 444 |
<entity> |
445 | 445 |
<type>crm:E55_Type</type> |
446 |
<instance_generator name="ConceptURI_2step">
|
|
446 |
<instance_generator name="ConceptURI_3step">
|
|
447 | 447 |
<arg name="term" type="constant">righttype</arg> |
448 |
<arg name="term1" type="xpath">text()</arg> |
|
448 |
<arg name="term1" type="constant">license</arg> |
|
449 |
<arg name="term2" type="xpath">text()</arg> |
|
449 | 450 |
</instance_generator> |
450 | 451 |
<label_generator name="SimpleLabel"> |
451 | 452 |
<arg name="label" type="xpath">text()</arg> |
... | ... | |
1117 | 1118 |
<instance_info> |
1118 | 1119 |
<constant>http://parthenos.d4science.org/handle/Parthenos/REG/Dataset/Metashare%20Dataset</constant> |
1119 | 1120 |
</instance_info> |
1120 |
<instance_generator name="Constant">
|
|
1121 |
<instance_generator name="URIorUUID">
|
|
1121 | 1122 |
<arg name="text" type="constant">http://parthenos.d4science.org/handle/Parthenos/REG/Dataset/Metashare%20Dataset</arg> |
1122 | 1123 |
</instance_generator> |
1123 | 1124 |
</entity> |
... | ... | |
1560 | 1561 |
<relation>ms:communicationInfo/ms:city</relation> |
1561 | 1562 |
</source_relation> |
1562 | 1563 |
<target_relation> |
1564 |
<if> |
|
1565 |
<exists>text()</exists> |
|
1566 |
</if> |
|
1563 | 1567 |
<relationship>crm:P53_has_former_or_current_location</relationship> |
1564 | 1568 |
</target_relation> |
1565 | 1569 |
</path> |
... | ... | |
1574 | 1578 |
<label_generator name="SimpleLabel"> |
1575 | 1579 |
<arg name="label" type="xpath">text()</arg> |
1576 | 1580 |
</label_generator> |
1581 |
<additional> |
|
1582 |
<relationship>crm:P2_has_type</relationship> |
|
1583 |
<entity> |
|
1584 |
<type>crm:E55_Type</type> |
|
1585 |
<instance_info> |
|
1586 |
<constant>City</constant> |
|
1587 |
</instance_info> |
|
1588 |
<instance_generator name="ConceptURI_2step"> |
|
1589 |
<arg name="term" type="constant">placetype</arg> |
|
1590 |
<arg name="term1" type="constant">city</arg> |
|
1591 |
</instance_generator> |
|
1592 |
<label_generator name="SimpleLabel"> |
|
1593 |
<arg name="label" type="constant">City</arg> |
|
1594 |
</label_generator> |
|
1595 |
</entity> |
|
1596 |
</additional> |
|
1577 | 1597 |
</entity> |
1578 | 1598 |
</target_node> |
1579 | 1599 |
</range> |
... | ... | |
1584 | 1604 |
<relation>ms:communicationInfo/ms:region</relation> |
1585 | 1605 |
</source_relation> |
1586 | 1606 |
<target_relation> |
1607 |
<if> |
|
1608 |
<exists>text()</exists> |
|
1609 |
</if> |
|
1587 | 1610 |
<relationship>crm:P53_has_former_or_current_location</relationship> |
1588 | 1611 |
<entity variable="place1"> |
1589 | 1612 |
<type>crm:E53_Place</type> |
1590 |
<instance_generator name="UUID"/> |
|
1613 |
<instance_generator name="PlaceURI"> |
|
1614 |
<arg name="term" type="xpath">../ms:city/text()</arg> |
|
1615 |
</instance_generator> |
|
1591 | 1616 |
</entity> |
1592 | 1617 |
<relationship>crm:P89_falls_within</relationship> |
1593 | 1618 |
</target_relation> |
... | ... | |
1603 | 1628 |
<label_generator name="SimpleLabel"> |
1604 | 1629 |
<arg name="label" type="xpath">text()</arg> |
1605 | 1630 |
</label_generator> |
1631 |
<additional> |
|
1632 |
<relationship>crm:P2_has_type</relationship> |
|
1633 |
<entity> |
|
1634 |
<type>crm:E55_Type</type> |
|
1635 |
<instance_info> |
|
1636 |
<constant>Region</constant> |
|
1637 |
</instance_info> |
|
1638 |
<instance_generator name="ConceptURI_2step"> |
|
1639 |
<arg name="term" type="constant">placetype</arg> |
|
1640 |
<arg name="term1" type="constant">region</arg> |
|
1641 |
</instance_generator> |
|
1642 |
<label_generator name="SimpleLabel"> |
|
1643 |
<arg name="label" type="constant">Region</arg> |
|
1644 |
</label_generator> |
|
1645 |
</entity> |
|
1646 |
</additional> |
|
1606 | 1647 |
</entity> |
1607 | 1648 |
</target_node> |
1608 | 1649 |
</range> |
... | ... | |
1613 | 1654 |
<relation>ms:communicationInfo/ms:country</relation> |
1614 | 1655 |
</source_relation> |
1615 | 1656 |
<target_relation> |
1657 |
<if> |
|
1658 |
<exists>../ms:region/text()</exists> |
|
1659 |
</if> |
|
1616 | 1660 |
<relationship>crm:P53_has_former_or_current_location</relationship> |
1617 | 1661 |
<entity variable="place1"> |
1618 | 1662 |
<type>crm:E53_Place</type> |
1619 |
<instance_generator name="UUID"/> |
|
1663 |
<instance_generator name="PlaceURI"> |
|
1664 |
<arg name="term" type="xpath">../ms:city/text()</arg> |
|
1665 |
</instance_generator> |
|
1620 | 1666 |
</entity> |
1621 | 1667 |
<relationship>crm:P89_falls_within</relationship> |
1622 | 1668 |
<entity variable="place2"> |
1623 | 1669 |
<type>crm:E53_Place</type> |
1624 |
<instance_generator name="UUID"/> |
|
1670 |
<instance_generator name="PlaceURI"> |
|
1671 |
<arg name="term" type="xpath">../ms:region/text()</arg> |
|
1672 |
</instance_generator> |
|
1625 | 1673 |
</entity> |
1626 | 1674 |
<relationship>crm:P89_falls_within</relationship> |
1627 | 1675 |
</target_relation> |
... | ... | |
1637 | 1685 |
<label_generator name="SimpleLabel"> |
1638 | 1686 |
<arg name="label" type="xpath">text()</arg> |
1639 | 1687 |
</label_generator> |
1688 |
<additional> |
|
1689 |
<relationship>crm:P2_has_type</relationship> |
|
1690 |
<entity> |
|
1691 |
<type>crm:E55_Type</type> |
|
1692 |
<instance_info> |
|
1693 |
<constant>Country</constant> |
|
1694 |
</instance_info> |
|
1695 |
<instance_generator name="ConceptURI_2step"> |
|
1696 |
<arg name="term" type="constant">placetype</arg> |
|
1697 |
<arg name="term1" type="constant">country</arg> |
|
1698 |
</instance_generator> |
|
1699 |
<label_generator name="SimpleLabel"> |
|
1700 |
<arg name="label" type="constant">Country</arg> |
|
1701 |
</label_generator> |
|
1702 |
</entity> |
|
1703 |
</additional> |
|
1640 | 1704 |
</entity> |
1641 | 1705 |
</target_node> |
1642 | 1706 |
</range> |
... | ... | |
1644 | 1708 |
<link> |
1645 | 1709 |
<path> |
1646 | 1710 |
<source_relation> |
1711 |
<relation>ms:communicationInfo/ms:country</relation> |
|
1712 |
</source_relation> |
|
1713 |
<target_relation> |
|
1714 |
<if> |
|
1715 |
<not> |
|
1716 |
<if> |
|
1717 |
<exists>../ms:region/text()</exists> |
|
1718 |
</if> |
|
1719 |
</not> |
|
1720 |
</if> |
|
1721 |
<relationship>crm:P53_has_former_or_current_location</relationship> |
|
1722 |
<entity variable="place1"> |
|
1723 |
<type>crm:E53_Place</type> |
|
1724 |
<instance_generator name="PlaceURI"> |
|
1725 |
<arg name="term" type="xpath">../ms:city/text()</arg> |
|
1726 |
</instance_generator> |
|
1727 |
</entity> |
|
1728 |
<relationship>crm:P89_falls_within</relationship> |
|
1729 |
</target_relation> |
|
1730 |
</path> |
|
1731 |
<range> |
|
1732 |
<source_node>ms:communicationInfo/ms:country</source_node> |
|
1733 |
<target_node> |
|
1734 |
<entity> |
|
1735 |
<type>crm:E53_Place</type> |
|
1736 |
<instance_generator name="PlaceURI"> |
|
1737 |
<arg name="term" type="xpath">text()</arg> |
|
1738 |
</instance_generator> |
|
1739 |
<label_generator name="SimpleLabel"> |
|
1740 |
<arg name="label" type="xpath">text()</arg> |
|
1741 |
</label_generator> |
|
1742 |
<additional> |
|
1743 |
<relationship>crm:P2_has_type</relationship> |
|
1744 |
<entity> |
|
1745 |
<type>crm:E55_Type</type> |
|
1746 |
<instance_info> |
|
1747 |
<constant>Country</constant> |
|
1748 |
</instance_info> |
|
1749 |
<instance_generator name="ConceptURI_2step"> |
|
1750 |
<arg name="term" type="constant">placetype</arg> |
|
1751 |
<arg name="term1" type="constant">country</arg> |
|
1752 |
</instance_generator> |
|
1753 |
<label_generator name="SimpleLabel"> |
|
1754 |
<arg name="label" type="constant">Country</arg> |
|
1755 |
</label_generator> |
|
1756 |
</entity> |
|
1757 |
</additional> |
|
1758 |
</entity> |
|
1759 |
</target_node> |
|
1760 |
</range> |
|
1761 |
</link> |
|
1762 |
<link> |
|
1763 |
<path> |
|
1764 |
<source_relation> |
|
1647 | 1765 |
<relation>ms:communicationInfo/ms:telephoneNumber</relation> |
1648 | 1766 |
</source_relation> |
1649 | 1767 |
<target_relation> |
modules/dnet-parthenos/trunk/src/main/resources/eu/dnetlib/bootstrap/profiles/TransformationRuleDSResources/TransformationRuleDSResourceType/dariah-DE_417_mapping.xml | ||
---|---|---|
10 | 10 |
<CONFIGURATION> |
11 | 11 |
<IMPORTED/> |
12 | 12 |
<SCRIPT> |
13 |
<TITLE>DARIAH-DE 417 Mapping 2018-04-14</TITLE>
|
|
13 |
<TITLE>DARIAH-DE 417 Mapping 2018-07-05</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="file:///C:/Users/samarita/Desktop/schema/x3ml.xsd"> |
16 | 16 |
<info> |
... | ... | |
67 | 67 |
<example_data_from>Dariah DE</example_data_from> |
68 | 68 |
<example_data_contact_person/> |
69 | 69 |
<example_data_source_record xml_link="dariahDE___14-07-2017013730___8446.xml"/> |
70 |
<generator_policy_info generator_link="PARTHENOS-GeneratorPolicy___15-03-2017144440___5286.xml"/>
|
|
71 |
<example_data_target_record/> |
|
70 |
<generator_policy_info generator_link="PARTHENOS-GeneratorPolicy_v1.4___17-05-2018010636___9353.xml"/>
|
|
71 |
<example_data_target_record rdf_link="Mapping417.ttl"/>
|
|
72 | 72 |
</example_data_info> |
73 | 73 |
</info> |
74 | 74 |
<namespaces> |
75 | 75 |
<namespace prefix="dc" uri="http://purl.org/dc/elements/1.1/"/> |
76 | 76 |
<namespace prefix="dcterms" uri="http://purl.org/dc/terms/"/> |
77 | 77 |
<namespace prefix="marcrel" uri="http://id.loc.gov/vocabulary/relators/"/> |
78 |
<namespace prefix="academy" uri="http://www.academyofathens.gr/"/> |
|
79 | 78 |
<namespace prefix="crmpe" uri="http://www.ics.forth.gr/isl/CRMext/CRMpe.rdfs/"/> |
80 | 79 |
<namespace prefix="cld" uri="http://purl.org/cld/terms/"/> |
81 | 80 |
<namespace prefix="parthenos" uri="http://pathenos.d4science.org/handle/DariahDE/"/> |
81 |
<namespace prefix="dcddm" uri="http://schema.dariah.eu/colreg/dcddm/"/> |
|
82 |
<namespace prefix="reg" uri="http://parthenos.d4science.org/handle/Parthenos/REG/"/> |
|
82 | 83 |
</namespaces> |
83 | 84 |
<mappings> |
84 | 85 |
<mapping> |
... | ... | |
92 | 93 |
<arg name="term" type="xpath">id/text()</arg> |
93 | 94 |
</instance_generator> |
94 | 95 |
<label_generator name="CompositeLabel"> |
95 |
<arg name="label" type="constant">collection</arg>
|
|
96 |
<arg name="text" type="xpath">id/text()</arg>
|
|
96 |
<arg name="label" type="constant">Collection: </arg>
|
|
97 |
<arg name="text" type="xpath">localizedDescriptions/localizedDescriptions/title/text()</arg>
|
|
97 | 98 |
</label_generator> |
98 | 99 |
</entity> |
99 | 100 |
</target_node> |
... | ... | |
136 | 137 |
<target_node> |
137 | 138 |
<entity> |
138 | 139 |
<type>crm:E56_Language</type> |
139 |
<instance_generator name="ThingURI">
|
|
140 |
<instance_generator name="ConceptURI">
|
|
140 | 141 |
<arg name="term" type="xpath">text()</arg> |
141 | 142 |
</instance_generator> |
142 | 143 |
<label_generator name="SimpleLabel"> |
... | ... | |
160 | 161 |
<target_node> |
161 | 162 |
<entity> |
162 | 163 |
<type>crm:E55_Type</type> |
163 |
<instance_generator name="ThingURI">
|
|
164 |
<instance_generator name="ConceptURI">
|
|
164 | 165 |
<arg name="term" type="xpath">text()</arg> |
165 | 166 |
</instance_generator> |
166 | 167 |
<label_generator name="SimpleLabel"> |
... | ... | |
198 | 199 |
</source_relation> |
199 | 200 |
<target_relation> |
200 | 201 |
<relationship>crm:P108i_was_produced_by</relationship> |
201 |
<entity> |
|
202 |
<entity variable="pro1">
|
|
202 | 203 |
<type>crm:E12_Production</type> |
203 | 204 |
<instance_generator name="UUID"/> |
204 |
<label_generator name="SimpleLabel"> |
|
205 |
<arg name="label" type="xpath">text()</arg> |
|
205 |
<label_generator name="CompositeLabel"> |
|
206 |
<arg name="label" type="constant">Production of Collection</arg> |
|
207 |
<arg name="text" type="xpath">../localizedDescriptions/localizedDescriptions/title/text()</arg> |
|
206 | 208 |
</label_generator> |
207 | 209 |
</entity> |
208 | 210 |
<relationship>crm:P14_carried_out_by</relationship> |
209 |
<entity> |
|
210 |
<type>crm:E39_Actor</type> |
|
211 |
<instance_generator name="ActorURI"> |
|
212 |
<arg name="term" type="xpath">text()</arg> |
|
213 |
</instance_generator> |
|
214 |
</entity> |
|
215 |
<relationship>crm:P1_is_identified_by</relationship> |
|
216 | 211 |
</target_relation> |
217 | 212 |
</path> |
218 | 213 |
<range> |
219 | 214 |
<source_node>entityCreator</source_node> |
220 | 215 |
<target_node> |
221 | 216 |
<entity> |
222 |
<type>crm:E41_Appellation</type>
|
|
223 |
<instance_generator name="ActorAppellationURI">
|
|
217 |
<type>crm:E39_Actor</type>
|
|
218 |
<instance_generator name="ActorURI"> |
|
224 | 219 |
<arg name="term" type="xpath">text()</arg> |
225 | 220 |
</instance_generator> |
226 | 221 |
<label_generator name="SimpleLabel"> |
... | ... | |
268 | 263 |
<target_node> |
269 | 264 |
<entity> |
270 | 265 |
<type>crm:E53_Place</type> |
271 |
<instance_generator name="UUID"/> |
|
272 |
<label_generator name="CompositeLabel"> |
|
273 |
<arg name="label" type="constant">Geographical context related to the collection</arg> |
|
274 |
<arg name="text" type="xpath">text()</arg> |
|
266 |
<instance_generator name="PlaceURI"> |
|
267 |
<arg name="term" type="xpath">text()</arg> |
|
268 |
</instance_generator> |
|
269 |
<label_generator name="SimpleLabel"> |
|
270 |
<arg name="label" type="xpath">text()</arg> |
|
275 | 271 |
</label_generator> |
276 | 272 |
</entity> |
277 | 273 |
</target_node> |
... | ... | |
284 | 280 |
</source_relation> |
285 | 281 |
<target_relation> |
286 | 282 |
<relationship>crm:P129_is_about</relationship> |
283 |
<entity> |
|
284 |
<type>crm:E52_Time-Span</type> |
|
285 |
<instance_generator name="UUID"/> |
|
286 |
<label_generator name="CompositeLabel"> |
|
287 |
<arg name="label" type="constant">Time Span of Reference for Collection</arg> |
|
288 |
<arg name="text" type="xpath">../../localizedDescriptions/localizedDescriptions/title/text()</arg> |
|
289 |
</label_generator> |
|
290 |
</entity> |
|
291 |
<relationship>crm:P82_at_some_time_within</relationship> |
|
287 | 292 |
</target_relation> |
288 | 293 |
</path> |
289 | 294 |
<range> |
290 | 295 |
<source_node>temporals/temporals</source_node> |
291 | 296 |
<target_node> |
292 | 297 |
<entity> |
293 |
<type>crm:E52_Time-Span</type> |
|
294 |
<instance_generator name="UUID"/> |
|
295 |
<label_generator name="CompositeLabel"> |
|
296 |
<arg name="label" type="constant">Historical context or period related to the collection</arg> |
|
298 |
<type>http://www.w3.org/2000/01/rdf-schema#Literal</type> |
|
299 |
<instance_generator name="Literal"> |
|
297 | 300 |
<arg name="text" type="xpath">text()</arg> |
298 |
</label_generator>
|
|
301 |
</instance_generator>
|
|
299 | 302 |
</entity> |
300 | 303 |
</target_node> |
301 | 304 |
</range> |
... | ... | |
307 | 310 |
</source_relation> |
308 | 311 |
<target_relation> |
309 | 312 |
<relationship>crm:P108i_was_produced_by</relationship> |
310 |
<entity> |
|
313 |
<entity variable="pro1">
|
|
311 | 314 |
<type>crm:E12_Production</type> |
312 | 315 |
<instance_generator name="UUID"/> |
313 | 316 |
<label_generator name="CompositeLabel"> |
314 |
<arg name="label" type="constant">creation of the collection</arg>
|
|
315 |
<arg name="text" type="xpath">text()</arg> |
|
317 |
<arg name="label" type="constant">Production of Collection</arg>
|
|
318 |
<arg name="text" type="xpath">../localizedDescriptions/localizedDescriptions/title/text()</arg>
|
|
316 | 319 |
</label_generator> |
317 | 320 |
</entity> |
318 | 321 |
<relationship>crm:P4_has_time-span</relationship> |
319 | 322 |
<entity> |
320 | 323 |
<type>crm:E52_Time-Span</type> |
321 | 324 |
<instance_generator name="UUID"/> |
322 |
<label_generator name="SimpleLabel"> |
|
323 |
<arg name="label" type="xpath">text()</arg> |
|
325 |
<label_generator name="CompositeLabel"> |
|
326 |
<arg name="label" type="constant">Time Span of Production of Collection</arg> |
|
327 |
<arg name="text" type="xpath">../localizedDescriptions/localizedDescriptions/title/text()</arg> |
|
324 | 328 |
</label_generator> |
325 | 329 |
</entity> |
326 | 330 |
<relationship>crm:P82_at_some_time_within</relationship> |
... | ... | |
341 | 345 |
<link> |
342 | 346 |
<path> |
343 | 347 |
<source_relation> |
344 |
<relation>hosting</relation> |
|
345 |
</source_relation> |
|
346 |
<target_relation> |
|
347 |
<relationship>crmpe:PP4i_is_object_hosted_by</relationship> |
|
348 |
<entity> |
|
349 |
<type>crmpe:PE2_Hosting_Service</type> |
|
350 |
<instance_generator name="ServiceURI"> |
|
351 |
<arg name="term" type="xpath">text()</arg> |
|
352 |
</instance_generator> |
|
353 |
</entity> |
|
354 |
<relationship>crm:P7_took_place_at</relationship> |
|
355 |
</target_relation> |
|
356 |
</path> |
|
357 |
<range> |
|
358 |
<source_node>locations/locations/place</source_node> |
|
359 |
<target_node> |
|
360 |
<entity> |
|
361 |
<type>crm:E53_Place</type> |
|
362 |
<instance_generator name="PlaceURI"> |
|
363 |
<arg name="term" type="xpath">text()</arg> |
|
364 |
</instance_generator> |
|
365 |
</entity> |
|
366 |
</target_node> |
|
367 |
</range> |
|
368 |
</link> |
|
369 |
<link> |
|
370 |
<path> |
|
371 |
<source_relation> |
|
372 | 348 |
<relation>collectionDescriptionRights</relation> |
373 | 349 |
</source_relation> |
374 | 350 |
<target_relation> |
... | ... | |
383 | 359 |
<instance_generator name="ThingURI"> |
384 | 360 |
<arg name="term" type="xpath">text()</arg> |
385 | 361 |
</instance_generator> |
362 |
<label_generator name="SimpleLabel"> |
|
363 |
<arg name="label" type="xpath">text()</arg> |
|
364 |
</label_generator> |
|
386 | 365 |
</entity> |
387 | 366 |
</target_node> |
388 | 367 |
</range> |
389 | 368 |
</link> |
390 |
</mapping> |
|
391 |
<mapping> |
|
392 |
<domain> |
|
393 |
<source_node>/Collection/hosting</source_node> |
|
394 |
<target_node> |
|
395 |
<entity> |
|
396 |
<type>crmpe:PE2_Hosting_Service</type> |
|
397 |
<instance_generator name="ServiceURI"> |
|
398 |
<arg name="term" type="xpath">text()</arg> |
|
399 |
</instance_generator> |
|
400 |
</entity> |
|
401 |
</target_node> |
|
402 |
</domain> |
|
403 | 369 |
<link> |
404 | 370 |
<path> |
405 | 371 |
<source_relation> |
406 |
<relation>/Collection/institute</relation>
|
|
372 |
<relation>institute</relation> |
|
407 | 373 |
</source_relation> |
408 | 374 |
<target_relation> |
375 |
<relationship>crmpe:PP4i_is_object_hosted_by</relationship> |
|
376 |
<entity variable="hostser1"> |
|
377 |
<type>crmpe:PE2_Hosting_Service</type> |
|
378 |
<instance_generator name="UUID"/> |
|
379 |
<label_generator name="CompositeLabel"> |
|
380 |
<arg name="label" type="constant">Hosting of Collection</arg> |
|
381 |
<arg name="text" type="xpath">../localizedDescriptions/localizedDescriptions/title/text()</arg> |
|
382 |
</label_generator> |
|
383 |
</entity> |
|
409 | 384 |
<relationship>crmpe:PP2_provided_by</relationship> |
410 |
<entity> |
|
411 |
<type>crm:E40_Legal_Body</type> |
|
412 |
<instance_generator name="ActorURI"> |
|
413 |
<arg name="term" type="xpath">text()</arg> |
|
414 |
</instance_generator> |
|
415 |
</entity> |
|
416 |
<relationship>crm:P76_has_contact_point</relationship> |
|
417 | 385 |
</target_relation> |
418 | 386 |
</path> |
419 | 387 |
<range> |
420 |
<source_node>/Collection/email</source_node>
|
|
388 |
<source_node>institute</source_node>
|
|
421 | 389 |
<target_node> |
422 |
<entity> |
|
423 |
<type>crm:E51_Contact_Point</type> |
|
424 |
<instance_generator name="TwoLevelCustomURI"> |
|
425 |
<arg name="level1" type="constant">Thing</arg> |
|
426 |
<arg name="level2" type="constant">Appellation</arg> |
|
390 |
<entity variable="host1"> |
|
391 |
<type>crm:E40_Legal_Body</type> |
|
392 |
<instance_generator name="ActorURI"> |
|
427 | 393 |
<arg name="term" type="xpath">text()</arg> |
428 | 394 |
</instance_generator> |
395 |
<label_generator name="SimpleLabel"> |
|
396 |
<arg name="label" type="xpath">text()</arg> |
|
397 |
</label_generator> |
|
429 | 398 |
</entity> |
430 | 399 |
</target_node> |
431 | 400 |
</range> |
... | ... | |
433 | 402 |
<link> |
434 | 403 |
<path> |
435 | 404 |
<source_relation> |
436 |
<relation>/Collection/webPage</relation>
|
|
405 |
<relation>webPage</relation> |
|
437 | 406 |
</source_relation> |
438 | 407 |
<target_relation> |
439 |
<relationship>crmpe:PP2_provided_by</relationship> |
|
440 |
<entity> |
|
441 |
<type>crm:E40_Legal_Body</type> |
|
442 |
<instance_generator name="UUID"/> |
|
443 |
<label_generator name="SimpleLabel"> |
|
444 |
<arg name="label" type="xpath">text()</arg> |
|
445 |
</label_generator> |
|
446 |
</entity> |
|
447 |
<relationship>crm:P76_has_contact_point</relationship> |
|
408 |
<relationship>crm:P1_is_identified_by</relationship> |
|
448 | 409 |
</target_relation> |
449 | 410 |
</path> |
450 | 411 |
<range> |
451 |
<source_node>/Collection/webPage</source_node>
|
|
412 |
<source_node>webPage</source_node> |
|
452 | 413 |
<target_node> |
453 | 414 |
<entity> |
454 | 415 |
<type>crmpe:PE29_Access_Point</type> |
... | ... | |
459 | 420 |
</target_node> |
460 | 421 |
</range> |
461 | 422 |
</link> |
462 |
</mapping> |
|
463 |
<mapping> |
|
464 |
<domain> |
|
465 |
<source_node>/Collection/locations/locations/place</source_node> |
|
466 |
<target_node> |
|
467 |
<entity> |
|
468 |
<type>crm:E53_Place</type> |
|
469 |
<instance_generator name="PlaceURI"> |
|
470 |
<arg name="term" type="xpath">text()</arg> |
|
471 |
</instance_generator> |
|
472 |
</entity> |
|
473 |
</target_node> |
|
474 |
</domain> |
|
475 | 423 |
<link> |
476 | 424 |
<path> |
477 | 425 |
<source_relation> |
478 |
<relation>locations/locations/street</relation>
|
|
426 |
<relation>locations/locations</relation> |
|
479 | 427 |
</source_relation> |
480 | 428 |
<target_relation> |
481 |
<relationship>crm:P1_is_identified_by</relationship> |
|
482 |
</target_relation> |
|
483 |
</path> |
|
484 |
<range> |
|
485 |
<source_node>locations/locations/street</source_node> |
|
486 |
<target_node> |
|
487 |
<entity> |
|
488 |
<type>crm:E45_Address</type> |
|
489 |
<instance_generator name="OneLevelCustomURI"> |
|
490 |
<arg name="level1" type="constant">thingappellation</arg> |
|
491 |
<arg name="term" type="xpath">text()</arg> |
|
492 |
</instance_generator> |
|
429 |
<relationship>crmpe:PP4i_is_object_hosted_by</relationship> |
|
430 |
<entity variable="hostser1"> |
|
431 |
<type>crmpe:PE2_Hosting_Service</type> |
|
432 |
<instance_generator name="UUID"/> |
|
493 | 433 |
</entity> |
494 |
</target_node> |
|
495 |
</range> |
|
496 |
</link> |
|
497 |
<link> |
|
498 |
<path> |
|
499 |
<source_relation> |
|
500 |
<relation>locations/locations/number</relation> |
|
501 |
</source_relation> |
|
502 |
<target_relation> |
|
503 |
<relationship>crm:P1_is_identified_by</relationship> |
|
504 |
</target_relation> |
|
505 |
</path> |
|
506 |
<range> |
|
507 |
<source_node>locations/locations/number</source_node> |
|
508 |
<target_node> |
|
434 |
<relationship>crmpe:PP2_provided_by</relationship> |
|
435 |
<entity variable="host1"> |
|
436 |
<type>crm:E40_Legal_Body</type> |
|
437 |
<instance_generator name="UUID"/> |
|
438 |
</entity> |
|
439 |
<relationship>crm:P74_has_current_or_former_residence</relationship> |
|
509 | 440 |
<entity> |
510 |
<type>crm:E51_Contact_Point</type> |
|
511 |
<instance_generator name="OneLevelCustomURI"> |
|
512 |
<arg name="level1" type="constant">street number</arg> |
|
513 |
<arg name="term" type="xpath">text()</arg> |
|
514 |
</instance_generator> |
|
441 |
<type>crm:E53_Place</type> |
|
442 |
<instance_generator name="UUID"/> |
|
443 |
<label_generator name="CompositeLabel"> |
|
444 |
<arg name="label" type="constant">Site of </arg> |
|
445 |
<arg name="text" type="xpath">../../entityCreator/text()</arg> |
|
446 |
</label_generator> |
|
515 | 447 |
</entity> |
516 |
</target_node> |
|
517 |
</range> |
|
518 |
</link> |
|
519 |
<link> |
|
520 |
<path> |
|
521 |
<source_relation> |
|
522 |
<relation>locations/locations/postalCode</relation> |
|
523 |
</source_relation> |
|
524 |
<target_relation> |
|
525 | 448 |
<relationship>crm:P1_is_identified_by</relationship> |
526 | 449 |
</target_relation> |
527 | 450 |
</path> |
528 | 451 |
<range> |
529 |
<source_node>locations/locations/postalCode</source_node>
|
|
452 |
<source_node>locations/locations</source_node> |
|
530 | 453 |
<target_node> |
531 | 454 |
<entity> |
532 |
<type>crm:E51_Contact_Point</type> |
|
533 |
<instance_generator name="OneLevelCustomURI"> |
|
534 |
<arg name="level1" type="constant">postal box appellation</arg> |
|
535 |
<arg name="term" type="xpath">text()</arg> |
|
536 |
</instance_generator> |
|
455 |
<type>crm:E45_Address</type> |
|
456 |
<instance_generator name="UUID"/> |
|
457 |
<label_generator name="AddressLabel"> |
|
458 |
<arg name="term" type="xpath">street/text()</arg> |
|
459 |
<arg name="term2" type="xpath">postalCode/text()</arg> |
|
460 |
<arg name="term3" type="xpath">place/text()</arg> |
|
461 |
<arg name="term4" type="xpath">country/text()</arg> |
|
462 |
</label_generator> |
|
537 | 463 |
</entity> |
538 | 464 |
</target_node> |
539 | 465 |
</range> |
modules/dnet-parthenos/trunk/src/main/resources/eu/dnetlib/bootstrap/profiles/TransformationRuleDSResources/TransformationRuleDSResourceType/ehri_328_mapping.xml | ||
---|---|---|
10 | 10 |
<CONFIGURATION> |
11 | 11 |
<IMPORTED/> |
12 | 12 |
<SCRIPT> |
13 |
<TITLE>EHRI 328 Mapping 2018-03-28</TITLE> |
|
14 |
<CODE> <![CDATA[ |
|
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"> |
|
13 |
<TITLE>EHRI 328 Mapping 2018-07-31</TITLE> |
|
14 |
<CODE> <![CDATA[<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 | 15 |
<info> |
17 | 16 |
<title>EHRI -> PE Mapping File Official</title> |
18 | 17 |
<general_description>This mapping represents a mapping from the EHRI data registry to the Parthenos Entities format designed for the Parthenos project. The EHRI format is based on EAD. Each record provides metadata about itself qua metadata record and about some collection that it describes.</general_description> |
... | ... | |
67 | 66 |
<example_data_from>EHRI</example_data_from> |
68 | 67 |
<example_data_contact_person>Charles Riondet</example_data_contact_person> |
69 | 68 |
<example_data_source_record xml_link="ehri_new_samp___10-08-2017140053___3568.xml"/> |
70 |
<generator_policy_info generator_link="PARTHENOS-GeneratorPolicy_v1.2___10-08-2017153548___8596.xml"/>
|
|
69 |
<generator_policy_info generator_link="PARTHENOS-GeneratorPolicy_v1.5___24-07-2018151516___515.xml">PARTHENOS-GeneratorPolicy_v1.5</generator_policy_info>
|
|
71 | 70 |
<example_data_target_record rdf_link="Mapping328.ttl"/> |
72 | 71 |
</example_data_info> |
73 | 72 |
</info> |
... | ... | |
1046 | 1045 |
<link> |
1047 | 1046 |
<path> |
1048 | 1047 |
<source_relation> |
1049 |
<relation>address/addressline</relation>
|
|
1048 |
<relation>address</relation> |
|
1050 | 1049 |
</source_relation> |
1051 | 1050 |
<target_relation> |
1052 | 1051 |
<relationship>crm:P74_has_current_or_former_residence</relationship> |
1053 |
<entity variable="p1">
|
|
1052 |
<entity> |
|
1054 | 1053 |
<type>crm:E53_Place</type> |
1055 |
<instance_generator name="UUID"/> |
|
1054 |
<instance_generator name="PlaceURI"> |
|
1055 |
<arg name="term" type="xpath">../publisher/text()</arg> |
|
1056 |
</instance_generator> |
|
1056 | 1057 |
<label_generator name="CompositeLabel"> |
1057 | 1058 |
<arg name="label" type="constant">Location of </arg> |
1058 |
<arg name="text" type="xpath">../../publisher/text()</arg>
|
|
1059 |
<arg name="text" type="xpath">../publisher/text()</arg> |
|
1059 | 1060 |
</label_generator> |
1061 |
<additional> |
|
1062 |
<relationship>crm:P2_has_type</relationship> |
|
1063 |
<entity> |
|
1064 |
<type>crm:E55_Type</type> |
|
1065 |
<instance_info> |
|
1066 |
<constant>Building Location</constant> |
|
1067 |
</instance_info> |
|
1068 |
<instance_generator name="ConceptURI_2step"> |
|
1069 |
<arg name="term" type="constant">placetype</arg> |
|
1070 |
<arg name="term1" type="constant">buildinglocation</arg> |
|
1071 |
</instance_generator> |
|
1072 |
<label_generator name="SimpleLabel"> |
|
1073 |
<arg name="label" type="constant">Building Location</arg> |
|
1074 |
</label_generator> |
|
1075 |
</entity> |
|
1076 |
</additional> |
|
1060 | 1077 |
</entity> |
1061 | 1078 |
<relationship>crm:P1_is_identified_by</relationship> |
1062 |
<entity variable="a1">
|
|
1079 |
<entity> |
|
1063 | 1080 |
<type>crm:E45_Address</type> |
1064 | 1081 |
<instance_generator name="UUID"/> |
1065 | 1082 |
<label_generator name="CompositeLabel"> |
1066 | 1083 |
<arg name="label" type="constant">Address for Location of</arg> |
1067 |
<arg name="text" type="xpath">../../publisher/text()</arg>
|
|
1084 |
<arg name="text" type="xpath">../publisher/text()</arg> |
|
1068 | 1085 |
</label_generator> |
1069 | 1086 |
</entity> |
1070 | 1087 |
<relationship>crm:P3_has_note</relationship> |
... | ... | |
1085 | 1102 |
</comments> |
1086 | 1103 |
</path> |
1087 | 1104 |
<range> |
1088 |
<source_node>address/addressline</source_node>
|
|
1105 |
<source_node>address</source_node> |
|
1089 | 1106 |
<target_node> |
1090 | 1107 |
<entity> |
1091 | 1108 |
<type>http://www.w3.org/2000/01/rdf-schema#Literal</type> |
1092 |
<instance_generator name="Literal"> |
|
1093 |
<arg name="text" type="xpath">text()</arg> |
|
1109 |
<instance_generator name="ConcatMultipleTerms"> |
|
1110 |
<arg name="prefix" type="constant"/> |
|
1111 |
<arg name="sameTermsDelim" type="constant">, </arg> |
|
1112 |
<arg name="text1" type="xpath">addressline/text()</arg> |
|
1094 | 1113 |
</instance_generator> |
1095 | 1114 |
</entity> |
1096 | 1115 |
</target_node> |
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-04-24</TITLE>
|
|
13 |
<TITLE>Ariadne 444 Mapping 2018-07-30</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> |
... | ... | |
72 | 72 |
<example_data_info> |
73 | 73 |
<example_data_from>Oxygen</example_data_from> |
74 | 74 |
<example_data_contact_person>Nicola Aloia</example_data_contact_person> |
75 |
<example_data_source_record xml_link="DANS-23601855___19-12-2017114033___5913.xml"/>
|
|
76 |
<generator_policy_info generator_link="PARTHENOS-GeneratorPolicy_v1.2___10-08-2017153548___8596.xml"/>
|
|
75 |
<example_data_source_record xml_link="DANS-23601855___19-12-2017114033___5913.xml">DANS-23601855</example_data_source_record>
|
|
76 |
<generator_policy_info generator_link="PARTHENOS-GeneratorPolicy_v1.5___24-07-2018151516___515.xml">PARTHENOS-GeneratorPolicy_v1.5</generator_policy_info>
|
|
77 | 77 |
<example_data_target_record rdf_link="Mapping444.ttl"/> |
78 | 78 |
</example_data_info> |
79 | 79 |
</info> |
... | ... | |
1319 | 1319 |
<arg name="level1" type="constant">Period</arg> |
1320 | 1320 |
<arg name="term" type="xpath">acdm:periodName/skos:Concept/skos:prefLabel/text()</arg> |
1321 | 1321 |
</instance_generator> |
1322 |
<label_generator name="SimpleLabel"> |
|
1323 |
<arg name="label" type="xpath">acdm:periodName/skos:Concept/skos:prefLabel/text()</arg> |
|
1324 |
</label_generator> |
|
1322 | 1325 |
</entity> |
1323 | 1326 |
</target_node> |
1324 | 1327 |
</range> |
... | ... | |
1347 | 1350 |
<arg name="level1" type="constant">Period</arg> |
1348 | 1351 |
<arg name="term" type="xpath">acdm:periodName/text()</arg> |
1349 | 1352 |
</instance_generator> |
1353 |
<label_generator name="SimpleLabel"> |
|
1354 |
<arg name="label" type="xpath">acdm:periodName/text()</arg> |
|
1355 |
</label_generator> |
|
1350 | 1356 |
</entity> |
1351 | 1357 |
</target_node> |
1352 | 1358 |
</range> |
Also available in: Unified diff
Updated mappings