Revision 42499
Added by Alessia Bardi over 8 years ago
modules/dnet-mapreduce-jobs/trunk/src/test/resources/eu/dnetlib/data/transform/opentrials_datacite1.xml | ||
---|---|---|
2 | 2 |
<oai:record xmlns:oai="http://www.openarchives.org/OAI/2.0/" |
3 | 3 |
xmlns:oaf="http://namespace.openaire.eu/oaf" |
4 | 4 |
xmlns:dri="http://www.driver-repository.eu/namespace/dri" |
5 |
xmlns:dr="http://www.driver-repository.eu/namespace/dr" |
|
6 |
> |
|
5 |
xmlns:dr="http://www.driver-repository.eu/namespace/dr"> |
|
7 | 6 |
<oai:header xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
8 |
xmlns="http://namespace.openaire.eu/" |
|
9 |
> |
|
7 |
xmlns="http://namespace.openaire.eu/"> |
|
10 | 8 |
<dri:objIdentifier>opentrials__::0000193c7088fa28f69ddf07f7415d6a</dri:objIdentifier> |
11 | 9 |
<dri:recordIdentifier>d402d17c-cffb-4bc6-85aa-ca1e5f0c36fa</dri:recordIdentifier> |
12 | 10 |
<dri:dateOfCollection>2016-05-09T17:26:38.15+02:00</dri:dateOfCollection> |
11 |
<dr:dateOfTransformation>2016-05-10T17:26:38.15+02:00</dr:dateOfTransformation> |
|
13 | 12 |
<dri:repositoryId>80954d23-1046-4574-a5da-ca97439443d2_UmVwb3NpdG9yeVNlcnZpY2VSZXNvdXJjZXMvUmVwb3NpdG9yeVNlcnZpY2VSZXNvdXJjZVR5cGU=</dri:repositoryId> |
14 | 13 |
<oaf:datasourceprefix>opentrials__</oaf:datasourceprefix> |
15 | 14 |
</oai:header> |
... | ... | |
34 | 33 |
</title> |
35 | 34 |
</titles> |
36 | 35 |
<publisher>use jsonProv.sourceName or OpenTrials</publisher> |
37 |
<!--<publicationYear>2009-09-02</publicationYear>--> |
|
38 | 36 |
<resourceType resourceTypeGeneral="Trial"/> |
39 | 37 |
<descriptions> |
40 | 38 |
<description descriptionType="Abstract">This is a randomized trial investigating the |
41 | 39 |
use of the IMPELLA RECOVER LP 2.5 compared to Intra-aortic balloon pump (IABP) |
42 | 40 |
in patients with Acute Myocardial Infarction. |
43 | 41 |
</description> |
42 |
<description descriptionType="Abstract">This can be the brief summary</description> |
|
44 | 43 |
</descriptions> |
44 |
<sizes> |
|
45 |
<size>123</size> |
|
46 |
</sizes> |
|
45 | 47 |
<oaf:accessrights>UNKNOWN</oaf:accessrights> |
46 | 48 |
<dr:CobjCategory>0021</dr:CobjCategory> |
47 | 49 |
<oaf:dateAccepted>2009-09-02</oaf:dateAccepted> |
modules/dnet-mapreduce-jobs/trunk/src/test/resources/eu/dnetlib/data/transform/recordDatacite.xml | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 | 2 |
<record xmlns:dr="http://www.driver-repository.eu/namespace/dr" |
3 | 3 |
xmlns:oaf="http://namespace.openaire.eu/oaf" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
4 |
<oai:header xmlns="http://namespace.openaire.eu/" |
|
5 |
xmlns:dc="http://purl.org/dc/elements/1.1/" |
|
6 |
xmlns:dri="http://www.driver-repository.eu/namespace/dri" |
|
7 |
xmlns:oai="http://www.openarchives.org/OAI/2.0/" xmlns:prov="http://www.openarchives.org/OAI/2.0/provenance"> |
|
4 |
<oai:header xmlns:dri="http://www.driver-repository.eu/namespace/dri" |
|
5 |
xmlns:oai="http://www.openarchives.org/OAI/2.0/" |
|
6 |
xmlns="http://namespace.openaire.eu/"> |
|
8 | 7 |
<dri:objIdentifier>r3c903d4c5a8::00a0cdbbc0c27cca1ccfafb33e7a862d</dri:objIdentifier> |
9 | 8 |
<dri:recordIdentifier/> |
10 | 9 |
<dri:dateOfCollection>2014-10-08T13:12:50.337Z</dri:dateOfCollection> |
11 | 10 |
<dri:repositoryId>19365384-4f97-4446-9a81-8c414d2ca27a_UmVwb3NpdG9yeVNlcnZpY2VSZXNvdXJjZXMvUmVwb3NpdG9yeVNlcnZpY2VSZXNvdXJjZVR5cGU=</dri:repositoryId> |
12 | 11 |
<oaf:datasourceprefix>r3c903d4c5a8</oaf:datasourceprefix> |
12 |
<dr:dateOfTransformation>2016-05-10T17:26:38.15+02:00</dr:dateOfTransformation> |
|
13 | 13 |
<identifier xmlns="http://www.openarchives.org/OAI/2.0/">oai:ucd.ie:ucdlib:31727</identifier> |
14 | 14 |
<datestamp xmlns="http://www.openarchives.org/OAI/2.0/">2014-10-07T14:28:12Z</datestamp> |
15 | 15 |
<setSpec xmlns="http://www.openarchives.org/OAI/2.0/">ucd_digital_library</setSpec> |
16 | 16 |
<setSpec xmlns="http://www.openarchives.org/OAI/2.0/">openaire_data</setSpec> |
17 | 17 |
</oai:header> |
18 | 18 |
<metadata> |
19 |
<resource xmlns="http://datacite.org/schema/kernel-3" |
|
20 |
xmlns:dc="http://purl.org/dc/elements/1.1/" |
|
21 |
xmlns:dri="http://www.driver-repository.eu/namespace/dri" |
|
22 |
xmlns:oai="http://www.openarchives.org/OAI/2.0/" |
|
23 |
xmlns:prov="http://www.openarchives.org/OAI/2.0/provenance" xsi:schemaLocation="http://datacite.org/schema/kernel-3 http://schema.datacite.org/meta/kernel-3/metadata.xsd"> |
|
19 |
<resource xmlns:dri="http://www.driver-repository.eu/namespace/dri" |
|
20 |
xmlns:oai="http://www.openarchives.org/OAI/2.0/" |
|
21 |
xmlns="http://datacite.org/schema/kernel-3" |
|
22 |
xsi:schemaLocation="http://datacite.org/schema/kernel-3 http://schema.datacite.org/meta/kernel-3/metadata.xsd"> |
|
24 | 23 |
<identifier identifierType="DOI">10.7925/drs1.ucdlib_31727</identifier> |
25 | 24 |
<creators> |
26 | 25 |
<creator> |
... | ... | |
102 | 101 |
<oaf:hostedBy id="re3data_____::r3d100010742" name="UCD Digital Library"/> |
103 | 102 |
<oaf:collectedFrom id="re3data_____::r3d100010742" name="UCD Digital Library"/> |
104 | 103 |
</metadata> |
105 |
<about xmlns="http://namespace.openaire.eu/" |
|
106 |
xmlns:dc="http://purl.org/dc/elements/1.1/" |
|
107 |
xmlns:dri="http://www.driver-repository.eu/namespace/dri" |
|
108 |
xmlns:oai="http://www.openarchives.org/OAI/2.0/" xmlns:prov="http://www.openarchives.org/OAI/2.0/provenance"> |
|
104 |
<about xmlns:dri="http://www.driver-repository.eu/namespace/dri" |
|
105 |
xmlns:oai="http://www.openarchives.org/OAI/2.0/" |
|
106 |
xmlns="http://namespace.openaire.eu/"> |
|
109 | 107 |
<oaf:datainfo> |
110 | 108 |
<oaf:inferred>false</oaf:inferred> |
111 | 109 |
<oaf:deletedbyinference>false</oaf:deletedbyinference> |
modules/dnet-mapreduce-jobs/trunk/src/test/resources/eu/dnetlib/data/transform/record.xml | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 | 2 |
<record xmlns:dc="http://purl.org/dc/elements/1.1/" |
3 |
xmlns:dr="http://www.driver-repository.eu/namespace/dr" |
|
4 |
xmlns:dri="http://www.driver-repository.eu/namespace/dri" |
|
5 |
xmlns:oaf="http://namespace.openaire.eu/oaf" |
|
6 |
xmlns:prov="http://www.openarchives.org/OAI/2.0/provenance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
3 |
xmlns:dr="http://www.driver-repository.eu/namespace/dr"
|
|
4 |
xmlns:dri="http://www.driver-repository.eu/namespace/dri"
|
|
5 |
xmlns:oaf="http://namespace.openaire.eu/oaf"
|
|
6 |
> |
|
7 | 7 |
<header xmlns="http://namespace.openaire.eu/"> |
8 | 8 |
<dri:objIdentifier>od_______296::74732b873f881d9bff67c2a11b6a66d6</dri:objIdentifier> |
9 | 9 |
<dri:recordIdentifier>ebfb74b7-3087-4da0-aaab-917121e40028_TURTdG9yZURTUmVzb3VyY2VzL01EU3RvcmVEU1Jlc291cmNlVHlwZQ==::oai:www.tdx.cat:10803/32188</dri:recordIdentifier> |
... | ... | |
14 | 14 |
<dr:objectIdentifier/> |
15 | 15 |
<dr:dateOfCollection>2014-07-12T06:03:38Z</dr:dateOfCollection> |
16 | 16 |
<oaf:datasourceprefix>od_______296</oaf:datasourceprefix> |
17 |
<dr:dateOfTransformation>2016-05-10T17:26:38.15+02:00</dr:dateOfTransformation> |
|
17 | 18 |
</header> |
18 | 19 |
<metadata xmlns="http://namespace.openaire.eu/"> |
19 | 20 |
<dc:contributor>Riera Guilera, Carme</dc:contributor> |
Also available in: Unified diff
Added dr:dateOfTransformation to some test XML files.
For publications dr:dateOfCollection must be set.
For datasets dri:dateOfCollections must be set.