Project

General

Profile

« Previous | Next » 

Revision 55093

test for deduped record subject to claim

View differences:

modules/dnet-mapreduce-jobs/trunk/src/test/java/eu/dnetlib/data/transform/XsltRowTransformerFactoryTest.java
133 133
	}
134 134

  
135 135
	@Test
136
	public void testParseClaimDedup() throws Exception {
137

  
138
		doTest(loadFromTransformationProfile("oaf2hbase.xml"), load("recordClaimedDedup.xml"));
139
	}
140

  
141

  
142
	@Test
136 143
	public void testParseClaimDataset() throws Exception {
137 144

  
138 145
		doTest(loadFromTransformationProfile("odf2hbase.xml"), load("recordClaimDataset.xml"));
modules/dnet-mapreduce-jobs/trunk/src/test/resources/eu/dnetlib/data/transform/recordClaimedDedup.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<oai: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:oai="http://www.openarchives.org/OAI/2.0/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/">
7
	<oai:header>
8
		<dri:objIdentifier>dedup_wf_001::39dbc7425111ec2d389128d7ba155eb1</dri:objIdentifier>
9
		<dri:dateOfCollection>2019-03-26T12:05:53.343Z</dri:dateOfCollection>
10
		<oaf:datasourceprefix>openaire____</oaf:datasourceprefix>
11
		<dr:dateOfTransformation>2019-03-26T12:07:57.698Z</dr:dateOfTransformation>
12
	</oai:header>
13
	<oai:metadata>
14
		<dc:title>Data Journals: A Survey</dc:title>
15
		<dc:subject>Data Journals</dc:subject>
16
		<dc:subject>Data Quality</dc:subject>
17
		<dc:subject>info:eu-repo/classification/acm/H.3.7 Digital Libraries</dc:subject>
18
		<dc:subject>info:eu-repo/classification/acm/GeneralLiterature_REFERENCE(e.g.,dictionaries,encyclopedias,glossaries)</dc:subject>
19
		<dc:subject>Scholarly communication</dc:subject>
20
		<dc:subject>Data Availability</dc:subject>
21
		<dc:subject>Data Documentation</dc:subject>
22
		<dc:subject>Open Access Publishing</dc:subject>
23
		<dc:subject>Data Publishing</dc:subject>
24
		<dc:subject>Data Citation</dc:subject>
25
		<dc:language>und</dc:language>
26
		<dc:description>Data occupy a key role in our information society. However, although the amount of published data continues to grow and terms such as data deluge and big data today characterize numerous (research) initiatives, much work is still needed in the direction of publishing data in order to make them effectively discoverable, available, and reusable by others. Several barriers hinder data publishing, from lack of attribution and rewards, vague citation practices, and quality issues to a rather general lack of a data-sharing culture. Lately, data journals have overcome some of these barriers. In this study of more than 100 currently existing data journals, we describe the approaches they promote for data set description, availability, citation, quality, and open access. We close by identifying ways to expand and strengthen the data journals approach as a means to promote data set access and exploitation.</dc:description>
27
		<dc:source>In: Journal of the Association for Information Science and Technology, vol. 66 (9) pp. 1747 - 1762. Wiley, 2015. [Online First 30 January 2015]</dc:source>
28
		<dc:source>Journal of the Association for Information Science and Technology (2015)</dc:source>
29
		<dc:date>2015-01-30</dc:date>
30
		<dc:format>application/pdf</dc:format>
31
		<dc:publisher>Wiley</dc:publisher>
32
		<dc:contributor/>
33
		<dc:relation>info:eu-repo/semantics/altIdentifier/doi/10.1002/asi.23358</dc:relation>
34
		<dc:source>PUblication MAnagement</dc:source>
35
		<dc:source>ZENODO</dc:source>
36
		<dc:type>Article</dc:type>
37
		<dc:identifier>http://puma.isti.cnr.it/dfdownloadnew.php?ident=cnr.isti/cnr.isti/2015-A0-009</dc:identifier>
38
		<dc:identifier>http://puma.isti.cnr.it/rmydownload.php?filename=cnr.isti/cnr.isti/2015-A0-009/2015-A0-009_0.pdf</dc:identifier>
39
		<dc:type>Article</dc:type>
40
		<dc:identifier>https://zenodo.org/record/18377</dc:identifier>
41
		<dc:creator>Candela, Leonardo</dc:creator>
42
		<dc:creator>Castelli, Donatella</dc:creator>
43
		<dc:creator>Manghi, Paolo</dc:creator>
44
		<dc:creator>Tani, Alice</dc:creator>
45
		<dr:CobjCategory>0001</dr:CobjCategory>
46
		<oaf:dateAccepted>2015-01-30</oaf:dateAccepted>
47
		<oaf:accessrights/>
48
		<oaf:language>und</oaf:language>
49
		<oaf:embargoenddate/>
50
		<oaf:hostedby
51
				id="openaire____::1256f046-bf1f-4afc-8b47-d0b147148b18" name="Unknown Repository"/>
52
		<oaf:collectedfrom id="infrastruct_::openaire" name="OpenAIRE"/>
53
		<oaf:journal eissn="" ep="" iss="" issn="" lissn="" sp="" vol=""/>
54
	</oai:metadata>
55
	<about>
56
		<provenance xmlns="http://www.openarchives.org/OAI/2.0/provenance"
57
		            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/provenance http://www.openarchives.org/OAI/2.0/provenance.xsd">
58
			<originDescription altered="true" harvestDate="2019-03-26T12:05:53.343Z">
59
				<baseURL>file:///srv/claims/records/publication/openaire</baseURL>
60
				<identifier/>
61
				<datestamp/>
62
				<metadataNamespace/>
63
			</originDescription>
64
		</provenance>
65
		<oaf:datainfo>
66
			<oaf:inferred>false</oaf:inferred>
67
			<oaf:deletedbyinference>false</oaf:deletedbyinference>
68
			<oaf:trust>0.9</oaf:trust>
69
			<oaf:inferenceprovenance/>
70
			<oaf:provenanceaction classid="user:claim" classname="user:claim"
71
			                      schemeid="dnet:provenanceActions" schemename="dnet:provenanceActions"/>
72
		</oaf:datainfo>
73
	</about>
74
</oai:record>

Also available in: Unified diff