Project

General

Profile

« Previous | Next » 

Revision 52918

Resources for the test of the bulk tagger

View differences:

modules/dnet-mapreduce-jobs/trunk/src/test/resources/eu/dnetlib/data/mapreduce/hbase/bulktag/oaf_existingcontext3.json
1
{
2
  "kind": 1,
3
  "dataInfo": {
4
    "deletedbyinference": false,
5
    "provenanceaction": {
6
      "classid": "sysimport:crosswalk:repository",
7
      "classname": "sysimport:crosswalk:repository",
8
      "schemename": "dnet:provenanceActions",
9
      "schemeid": "dnet:provenanceActions"
10
    },
11
    "inferred": false,
12
    "inferenceprovenance": "",
13
    "invisible": false,
14
    "trust": "0.9"
15
  },
16
  "entity": {
17
    "dateoftransformation": "2018-07-13T18:10:16.645+02:00",
18
    "pid": [{
19
      "qualifier": {
20
        "classid": "landingpage",
21
        "classname": "landingpage",
22
        "schemename": "dnet:pid_types",
23
        "schemeid": "dnet:pid_types"
24
      },
25
      "value": "https://neurovault.org/collections/1970/"
26
    }],
27
    "originalId": ["1970"],
28
    "oaiprovenance": {"originDescription": {
29
      "metadataNamespace": "",
30
      "altered": true,
31
      "baseURL": "https://neurovault.org/api/collections/",
32
      "datestamp": "",
33
      "harvestDate": "2018-06-07T16:28:46.665+02:00",
34
      "identifier": ""
35
    }},
36
    "result": {
37
      "instance": [{
38
        "hostedby": {
39
          "value": "NeuroVault",
40
          "key": "10|rest________::fb1a3d4523c95e63496e3bc7ba36244b"
41
        },
42
        "license": {"value": "https://creativecommons.org/publicdomain/zero/1.0/"},
43
        "url": ["https://neurovault.org/api/collections/1970/"],
44
        "dateofacceptance": {"value": "2016-12-05"},
45
        "collectedfrom": {
46
          "value": "NeuroVault",
47
          "key": "10|rest________::fb1a3d4523c95e63496e3bc7ba36244b"
48
        },
49
        "accessright": {
50
          "classid": "OPEN",
51
          "classname": "Open Access",
52
          "schemename": "dnet:access_modes",
53
          "schemeid": "dnet:access_modes"
54
        },
55
        "instancetype": {
56
          "classid": "0025",
57
          "classname": "Image",
58
          "schemename": "dnet:publication_resource",
59
          "schemeid": "dnet:publication_resource"
60
        }
61
      }],
62
      "metadata": {
63
        "fulltext": [{"value": "https://neurovault.org/collections/1970/download"}],
64
        "description": [{"value": ""}],
65
        "title": [{
66
          "qualifier": {
67
            "classid": "main title",
68
            "classname": "main title",
69
            "schemename": "dnet:dataCite_title",
70
            "schemeid": "dnet:dataCite_title"
71
          },
72
          "value": "Fractionating the anterior temporal lobe: MVPA reveals differential responses to input and conceptual modality"
73
        }],
74
        "author": [
75
          {
76
            "fullname": "\n         ",
77
            "rank": 1
78
          },
79
          {
80
            "fullname": "\n         ",
81
            "rank": 2
82
          },
83
          {
84
            "fullname": "\n         ",
85
            "rank": 3
86
          },
87
          {
88
            "fullname": "\n         ",
89
            "rank": 4
90
          },
91
          {
92
            "fullname": "\n         ",
93
            "rank": 5
94
          }
95
        ],
96
        "resulttype": {
97
          "classid": "other",
98
          "classname": "other",
99
          "schemename": "dnet:result_typologies",
100
          "schemeid": "dnet:result_typologies"
101
        },
102
        "context":
103
        {"id": "ni",
104
          "dataInfo": {
105
            "provenanceaction": {
106
              "classid": "fake::fake",
107
              "classname": "fake",
108
              "schemename": "dnet:provenanceActions",
109
              "schemeid": "dnet:provenanceActions"
110
            },
111
            "trust": "0.85",
112
            "inferred": true,
113
            "inferenceprovenance": "fake::fake"
114
          }}
115
      ,
116
        "dateofacceptance": {"value": "2016-12-05"},
117
        "subject": [{
118
          "qualifier": {
119
            "classid": "lcsh",
120
            "classname": "lcsh",
121
            "schemename": "dnet:result_subject",
122
            "schemeid": "dnet:result_subject"
123
          },
124
          "value": "Brain"
125
        }]
126
      }
127
    },
128
    "collectedfrom": [{
129
      "value": "NeuroVault",
130
      "key": "10|rest________::fb1a3d4523c95e63496e3bc7ba36244b"
131
    }],
132
    "dateofcollection": "2018-06-07T16:28:46.665+02:00",
133
    "type": 50,
134
    "id": "50|NeuroVault__::0004d0b59e19461ff126e3a08a814c33"
135
  }
136
}
modules/dnet-mapreduce-jobs/trunk/src/test/resources/eu/dnetlib/data/mapreduce/hbase/bulktag/oaf_datasource.json
1
{
2
  "kind": 1,
3
  "dataInfo": {
4
    "deletedbyinference": false,
5
    "provenanceaction": {
6
      "classid": "sysimport:crosswalk:repository",
7
      "classname": "sysimport:crosswalk:repository",
8
      "schemename": "dnet:provenanceActions",
9
      "schemeid": "dnet:provenanceActions"
10
    },
11
    "inferred": false,
12
    "inferenceprovenance": "",
13
    "invisible": false,
14
    "trust": "0.9"
15
  },
16
  "entity": {
17
    "dateoftransformation": "2018-07-13T18:10:16.645+02:00",
18
    "pid": [{
19
      "qualifier": {
20
        "classid": "landingpage",
21
        "classname": "landingpage",
22
        "schemename": "dnet:pid_types",
23
        "schemeid": "dnet:pid_types"
24
      },
25
      "value": "https://neurovault.org/collections/1970/"
26
    }],
27
    "originalId": ["1970"],
28
    "oaiprovenance": {"originDescription": {
29
      "metadataNamespace": "",
30
      "altered": true,
31
      "baseURL": "https://neurovault.org/api/collections/",
32
      "datestamp": "",
33
      "harvestDate": "2018-06-07T16:28:46.665+02:00",
34
      "identifier": ""
35
    }},
36
    "result": {
37
      "instance": [{
38
        "hostedby": {
39
          "value": "NeuroVault",
40
          "key": "10|opendoar____::0266e33d3f546cb5436a10798e657d97"
41
        },
42
        "license": {"value": "https://creativecommons.org/publicdomain/zero/1.0/"},
43
        "url": ["https://neurovault.org/api/collections/1970/"],
44
        "dateofacceptance": {"value": "2016-12-05"},
45
        "collectedfrom": {
46
          "value": "NeuroVault",
47
          "key": "10|rest________::fb1a3d4523c95e63496e3bc7ba36244b"
48
        },
49
        "accessright": {
50
          "classid": "OPEN",
51
          "classname": "Open Access",
52
          "schemename": "dnet:access_modes",
53
          "schemeid": "dnet:access_modes"
54
        },
55
        "instancetype": {
56
          "classid": "0025",
57
          "classname": "Image",
58
          "schemename": "dnet:publication_resource",
59
          "schemeid": "dnet:publication_resource"
60
        }
61
      }],
62
      "metadata": {
63
        "fulltext": [{"value": "https://neurovault.org/collections/1970/download"}],
64
        "description": [{"value": ""}],
65
        "title": [{
66
          "qualifier": {
67
            "classid": "main title",
68
            "classname": "main title",
69
            "schemename": "dnet:dataCite_title",
70
            "schemeid": "dnet:dataCite_title"
71
          },
72
          "value": "Fractionating the anterior temporal lobe: MVPA reveals differential responses to input and conceptual modality"
73
        }],
74
        "author": [
75
          {
76
            "fullname": "\n         ",
77
            "rank": 1
78
          },
79
          {
80
            "fullname": "\n         ",
81
            "rank": 2
82
          },
83
          {
84
            "fullname": "\n         ",
85
            "rank": 3
86
          },
87
          {
88
            "fullname": "\n         ",
89
            "rank": 4
90
          },
91
          {
92
            "fullname": "\n         ",
93
            "rank": 5
94
          }
95
        ],
96
        "resulttype": {
97
          "classid": "other",
98
          "classname": "other",
99
          "schemename": "dnet:result_typologies",
100
          "schemeid": "dnet:result_typologies"
101
        },
102
        "dateofacceptance": {"value": "2016-12-05"},
103
        "subject": [{
104
          "qualifier": {
105
            "classid": "lcsh",
106
            "classname": "lcsh",
107
            "schemename": "dnet:result_subject",
108
            "schemeid": "dnet:result_subject"
109
          },
110
          "value": "Brain"
111
        }]
112
      }
113
    },
114
    "collectedfrom": [{
115
      "value": "NeuroVault",
116
      "key": "10|rest________::fb1a3d4523c95e63496e3bc7ba36244b"
117
    }],
118
    "dateofcollection": "2018-06-07T16:28:46.665+02:00",
119
    "type": 50,
120
    "id": "50|NeuroVault__::0004d0b59e19461ff126e3a08a814c33"
121
  }
122
}
modules/dnet-mapreduce-jobs/trunk/src/test/resources/eu/dnetlib/data/mapreduce/hbase/bulktag/oaf_existingcontext_withprovenance.json
1
{
2
  "kind": 1,
3
  "dataInfo": {
4
    "deletedbyinference": false,
5
    "provenanceaction": {
6
      "classid": "sysimport:crosswalk:repository",
7
      "classname": "sysimport:crosswalk:repository",
8
      "schemename": "dnet:provenanceActions",
9
      "schemeid": "dnet:provenanceActions"
10
    },
11
    "inferred": false,
12
    "inferenceprovenance": "",
13
    "invisible": false,
14
    "trust": "0.9"
15
  },
16
  "entity": {
17
    "dateoftransformation": "2018-07-13T18:10:16.645+02:00",
18
    "pid": [{
19
      "qualifier": {
20
        "classid": "landingpage",
21
        "classname": "landingpage",
22
        "schemename": "dnet:pid_types",
23
        "schemeid": "dnet:pid_types"
24
      },
25
      "value": "https://neurovault.org/collections/1970/"
26
    }],
27
    "originalId": ["1970"],
28
    "oaiprovenance": {"originDescription": {
29
      "metadataNamespace": "",
30
      "altered": true,
31
      "baseURL": "https://neurovault.org/api/collections/",
32
      "datestamp": "",
33
      "harvestDate": "2018-06-07T16:28:46.665+02:00",
34
      "identifier": ""
35
    }},
36
    "result": {
37
      "instance": [{
38
        "hostedby": {
39
          "value": "NeuroVault",
40
          "key": "10|rest________::fb1a3d4523c95e63496e3bc7ba36244b"
41
        },
42
        "license": {"value": "https://creativecommons.org/publicdomain/zero/1.0/"},
43
        "url": ["https://neurovault.org/api/collections/1970/"],
44
        "dateofacceptance": {"value": "2016-12-05"},
45
        "collectedfrom": {
46
          "value": "NeuroVault",
47
          "key": "10|rest________::fb1a3d4523c95e63496e3bc7ba36244b"
48
        },
49
        "accessright": {
50
          "classid": "OPEN",
51
          "classname": "Open Access",
52
          "schemename": "dnet:access_modes",
53
          "schemeid": "dnet:access_modes"
54
        },
55
        "instancetype": {
56
          "classid": "0025",
57
          "classname": "Image",
58
          "schemename": "dnet:publication_resource",
59
          "schemeid": "dnet:publication_resource"
60
        }
61
      }],
62
      "metadata": {
63
        "fulltext": [{"value": "https://neurovault.org/collections/1970/download"}],
64
        "description": [{"value": ""}],
65
        "title": [{
66
          "qualifier": {
67
            "classid": "main title",
68
            "classname": "main title",
69
            "schemename": "dnet:dataCite_title",
70
            "schemeid": "dnet:dataCite_title"
71
          },
72
          "value": "Fractionating the anterior temporal lobe: MVPA reveals differential responses to input and conceptual modality"
73
        }],
74
        "author": [
75
          {
76
            "fullname": "\n         ",
77
            "rank": 1
78
          },
79
          {
80
            "fullname": "\n         ",
81
            "rank": 2
82
          },
83
          {
84
            "fullname": "\n         ",
85
            "rank": 3
86
          },
87
          {
88
            "fullname": "\n         ",
89
            "rank": 4
90
          },
91
          {
92
            "fullname": "\n         ",
93
            "rank": 5
94
          }
95
        ],
96
        "resulttype": {
97
          "classid": "other",
98
          "classname": "other",
99
          "schemename": "dnet:result_typologies",
100
          "schemeid": "dnet:result_typologies"
101
        },
102
        "context":
103
        {"id": "ni",
104
            "dataInfo": {
105
              "provenanceaction": {
106
                "classid": "bulktagging::community",
107
                "classname": "Bulk Tagging for Communities",
108
                "schemename": "dnet:provenanceActions",
109
                "schemeid": "dnet:provenanceActions"
110
              },
111
              "trust": "0.85",
112
              "inferred": true,
113
              "inferenceprovenance": "bulktagging::community"
114
            }}
115
      ,
116
        "dateofacceptance": {"value": "2016-12-05"},
117
        "subject": [{
118
          "qualifier": {
119
            "classid": "lcsh",
120
            "classname": "lcsh",
121
            "schemename": "dnet:result_subject",
122
            "schemeid": "dnet:result_subject"
123
          },
124
          "value": "Brain"
125
        }]
126
      }
127
    },
128
    "collectedfrom": [{
129
      "value": "NeuroVault",
130
      "key": "10|rest________::fb1a3d4523c95e63496e3bc7ba36244b"
131
    }],
132
    "dateofcollection": "2018-06-07T16:28:46.665+02:00",
133
    "type": 50,
134
    "id": "50|NeuroVault__::0004d0b59e19461ff126e3a08a814c33"
135
  }
136
}
modules/dnet-mapreduce-jobs/trunk/src/test/resources/eu/dnetlib/data/mapreduce/hbase/bulktag/oaf_datasource2.json
1
{
2
  "kind": 1,
3
  "dataInfo": {
4
    "deletedbyinference": false,
5
    "provenanceaction": {
6
      "classid": "sysimport:crosswalk:repository",
7
      "classname": "sysimport:crosswalk:repository",
8
      "schemename": "dnet:provenanceActions",
9
      "schemeid": "dnet:provenanceActions"
10
    },
11
    "inferred": false,
12
    "inferenceprovenance": "",
13
    "invisible": false,
14
    "trust": "0.9"
15
  },
16
  "entity": {
17
    "dateoftransformation": "2018-07-13T18:10:16.645+02:00",
18
    "pid": [{
19
      "qualifier": {
20
        "classid": "landingpage",
21
        "classname": "landingpage",
22
        "schemename": "dnet:pid_types",
23
        "schemeid": "dnet:pid_types"
24
      },
25
      "value": "https://neurovault.org/collections/1970/"
26
    }],
27
    "originalId": ["1970"],
28
    "oaiprovenance": {"originDescription": {
29
      "metadataNamespace": "",
30
      "altered": true,
31
      "baseURL": "https://neurovault.org/api/collections/",
32
      "datestamp": "",
33
      "harvestDate": "2018-06-07T16:28:46.665+02:00",
34
      "identifier": ""
35
    }},
36
    "result": {
37
      "instance": [{
38
        "hostedby": {
39
          "value": "NeuroVault",
40
          "key": "10|opendoar____::0266e33d3f546cb5436a10798e657d97"
41
        },
42
        "license": {"value": "https://creativecommons.org/publicdomain/zero/1.0/"},
43
        "url": ["https://neurovault.org/api/collections/1970/"],
44
        "dateofacceptance": {"value": "2016-12-05"},
45
        "collectedfrom": {
46
          "value": "NeuroVault",
47
          "key": "10|re3data_____::9633d1e8c4309c833c2c442abeb0cfeb"
48
        },
49
        "accessright": {
50
          "classid": "OPEN",
51
          "classname": "Open Access",
52
          "schemename": "dnet:access_modes",
53
          "schemeid": "dnet:access_modes"
54
        },
55
        "instancetype": {
56
          "classid": "0025",
57
          "classname": "Image",
58
          "schemename": "dnet:publication_resource",
59
          "schemeid": "dnet:publication_resource"
60
        }
61
      }],
62
      "metadata": {
63
        "fulltext": [{"value": "https://neurovault.org/collections/1970/download"}],
64
        "description": [{"value": ""}],
65
        "title": [{
66
          "qualifier": {
67
            "classid": "main title",
68
            "classname": "main title",
69
            "schemename": "dnet:dataCite_title",
70
            "schemeid": "dnet:dataCite_title"
71
          },
72
          "value": "Fractionating the anterior temporal lobe: MVPA reveals differential responses to input and conceptual modality"
73
        }],
74
        "author": [
75
          {
76
            "fullname": "\n         ",
77
            "rank": 1
78
          },
79
          {
80
            "fullname": "\n         ",
81
            "rank": 2
82
          },
83
          {
84
            "fullname": "\n         ",
85
            "rank": 3
86
          },
87
          {
88
            "fullname": "\n         ",
89
            "rank": 4
90
          },
91
          {
92
            "fullname": "\n         ",
93
            "rank": 5
94
          }
95
        ],
96
        "resulttype": {
97
          "classid": "other",
98
          "classname": "other",
99
          "schemename": "dnet:result_typologies",
100
          "schemeid": "dnet:result_typologies"
101
        },
102
        "dateofacceptance": {"value": "2016-12-05"},
103
        "subject": [{
104
          "qualifier": {
105
            "classid": "lcsh",
106
            "classname": "lcsh",
107
            "schemename": "dnet:result_subject",
108
            "schemeid": "dnet:result_subject"
109
          },
110
          "value": "Brain"
111
        }]
112
      }
113
    },
114
    "collectedfrom": [{
115
      "value": "NeuroVault",
116
      "key": "10|rest________::fb1a3d4523c95e63496e3bc7ba36244b"
117
    }],
118
    "dateofcollection": "2018-06-07T16:28:46.665+02:00",
119
    "type": 50,
120
    "id": "50|NeuroVault__::0004d0b59e19461ff126e3a08a814c33"
121
  }
122
}
modules/dnet-mapreduce-jobs/trunk/src/test/resources/eu/dnetlib/data/mapreduce/hbase/bulktag/community_configuration.xml
1
<communities>
2
    <community id="fet-fp7">
3
        <subjects/>
4
        <datasources/>
5
        <zenodocommunities/>
6
    </community>
7
    <community id="fet-h2020">
8
        <subjects/>
9
        <datasources/>
10
        <zenodocommunities/>
11
    </community>
12
    <community id="oa-pg">
13
        <subjects/>
14
        <datasources/>
15
        <zenodocommunities/>
16
    </community>
17
    <community id="ee">
18
        <subjects>
19
            <subject>SDG13 - Climate action</subject>
20
            <subject>SDG8 - Decent work and economic growth</subject>
21
            <subject>SDG15 - Life on land</subject>
22
            <subject>SDG2 - Zero hunger</subject>
23
            <subject>SDG17 - Partnerships for the goals</subject>
24
            <subject>SDG10 - Reduced inequalities</subject>
25
            <subject>SDG5 - Gender equality</subject>
26
            <subject>SDG12 - Responsible consumption and production</subject>
27
            <subject>SDG14 - Life below water</subject>
28
            <subject>SDG6 - Clean water and sanitation</subject>
29
            <subject>SDG11 - Sustainable cities and communities</subject>
30
            <subject>SDG1 - No poverty</subject>
31
            <subject>SDG3 - Good health and well being</subject>
32
            <subject>SDG7 - Affordable and clean energy</subject>
33
            <subject>SDG4 - Quality education</subject>
34
            <subject>SDG9 - Industry innovation and infrastructure</subject>
35
            <subject>SDG16 - Peace justice and strong institutions</subject>
36
        </subjects>
37
        <datasources/>
38
        <zenodocommunities>
39
            <zenodocommunity>
40
                <zenodoid>123</zenodoid>
41
                <selcriteria>800A</selcriteria>
42
            </zenodocommunity>
43
        </zenodocommunities>
44
    </community>
45
    <community id="dh-ch">
46
        <subjects/>
47
        <datasources/>
48
        <zenodocommunities/>
49
    </community>
50
    <community id="fam">
51
        <subjects/>
52
        <datasources/>
53
        <zenodocommunities/>
54
    </community>
55
    <community id="ni">
56
        <subjects>
57
            <subject>brain mapping</subject>
58
            <subject>brain imaging</subject>
59
            <subject>electroencephalography</subject>
60
            <subject>arterial spin labelling</subject>
61
            <subject>brain fingerprinting</subject>
62
            <subject>brain</subject>
63
            <subject>neuroimaging</subject>
64
            <subject>Multimodal Brain Image Analysis</subject>
65
            <subject>fMRI</subject>
66
            <subject>neuroinformatics</subject>
67
            <subject>fetal brain</subject>
68
            <subject>brain ultrasonic imaging</subject>
69
            <subject>topographic brain mapping</subject>
70
            <subject>diffusion tensor imaging</subject>
71
            <subject>computerized knowledge assessment</subject>
72
            <subject>connectome mapping</subject>
73
            <subject>brain magnetic resonance imaging</subject>
74
            <subject>brain abnormalities</subject>
75
        </subjects>
76
        <datasources>
77
            <datasource>
78
                <openaireId>re3data_____::5b9bf9171d92df854cf3c520692e9122</openaireId>
79
                <selcriteria/>
80
            </datasource>
81
            <datasource>
82
                <openaireId>doajarticles::c7d3de67dc77af72f6747157441252ec</openaireId>
83
                <selcriteria/>
84
            </datasource>
85
            <datasource>
86
                <openaireId>re3data_____::8515794670370f49c1d176c399c714f5</openaireId>
87
                <selcriteria/>
88
            </datasource>
89
            <datasource>
90
                <openaireId>doajarticles::d640648c84b10d425f96f11c3de468f3</openaireId>
91
                <selcriteria/>
92
            </datasource>
93
            <datasource>
94
                <openaireId>doajarticles::0c0e74daa5d95504eade9c81ebbd5b8a</openaireId>
95
                <selcriteria/>
96
            </datasource>
97
        </datasources>
98
        <zenodocommunities/>
99
    </community>
100
    <community id="mes">
101
        <subjects>
102
            <subject>marine</subject>
103
            <subject>ocean</subject>
104
            <subject>fish</subject>
105
            <subject>aqua</subject>
106
            <subject>sea</subject>
107
        </subjects>
108
        <datasources>
109
            <datasource>
110
                <openaireId>re3data_____::9633d1e8c4309c833c2c442abeb0cfeb</openaireId>
111
                <selcriteria/>
112
            </datasource>
113
        </datasources>
114
        <zenodocommunities/>
115
    </community>
116
    <community id="aginfra">
117
        <subjects>
118
            <subject>animal production and health</subject>
119
            <subject>fisheries and aquaculture</subject>
120
            <subject>food safety and human nutrition</subject>
121
            <subject>information management</subject>
122
            <subject>food technology</subject>
123
            <subject>agri-food education and extension</subject>
124
            <subject>natural resources and environment</subject>
125
            <subject>food system</subject>
126
            <subject>engineering technology and Research</subject>
127
            <subject>agriculture</subject>
128
            <subject>food safety risk assessment</subject>
129
            <subject>food security</subject>
130
            <subject>farming practices and systems</subject>
131
            <subject>plant production and protection</subject>
132
            <subject>agri-food economics and policy</subject>
133
            <subject>food distribution</subject>
134
            <subject>forestry</subject>
135
        </subjects>
136
        <datasources>
137
            <datasource>
138
                <openaireId>opendoar____::1a551829d50f1400b0dab21fdd969c04</openaireId>
139
                <selcriteria/>
140
            </datasource>
141
            <datasource>
142
                <openaireId>opendoar____::49af6c4e558a7569d80eee2e035e2bd7</openaireId>
143
                <selcriteria/>
144
            </datasource>
145
            <datasource>
146
                <openaireId>opendoar____::0266e33d3f546cb5436a10798e657d97</openaireId>
147
                <selcriteria/>
148
            </datasource>
149
            <datasource>
150
                <openaireId>opendoar____::fd4c2dc64ccb8496e6f1f94c85f30d06</openaireId>
151
                <selcriteria/>
152
            </datasource>
153
            <datasource>
154
                <openaireId>opendoar____::41bfd20a38bb1b0bec75acf0845530a7</openaireId>
155
                <selcriteria/>
156
            </datasource>
157
            <datasource>
158
                <openaireId>opendoar____::87ae6fb631f7c8a627e8e28785d9992d</openaireId>
159
                <selcriteria/>
160
            </datasource>
161
        </datasources>
162
        <zenodocommunities/>
163
    </community>
164
</communities>
modules/dnet-mapreduce-jobs/trunk/src/test/resources/eu/dnetlib/data/mapreduce/hbase/bulktag/oaf_existingcontext.json
1
{
2
  "kind": 1,
3
  "dataInfo": {
4
    "deletedbyinference": false,
5
    "provenanceaction": {
6
      "classid": "sysimport:crosswalk:repository",
7
      "classname": "sysimport:crosswalk:repository",
8
      "schemename": "dnet:provenanceActions",
9
      "schemeid": "dnet:provenanceActions"
10
    },
11
    "inferred": false,
12
    "inferenceprovenance": "",
13
    "invisible": false,
14
    "trust": "0.9"
15
  },
16
  "entity": {
17
    "dateoftransformation": "2018-07-13T18:10:16.645+02:00",
18
    "pid": [{
19
      "qualifier": {
20
        "classid": "landingpage",
21
        "classname": "landingpage",
22
        "schemename": "dnet:pid_types",
23
        "schemeid": "dnet:pid_types"
24
      },
25
      "value": "https://neurovault.org/collections/1970/"
26
    }],
27
    "originalId": ["1970"],
28
    "oaiprovenance": {"originDescription": {
29
      "metadataNamespace": "",
30
      "altered": true,
31
      "baseURL": "https://neurovault.org/api/collections/",
32
      "datestamp": "",
33
      "harvestDate": "2018-06-07T16:28:46.665+02:00",
34
      "identifier": ""
35
    }},
36
    "result": {
37
      "instance": [{
38
        "hostedby": {
39
          "value": "NeuroVault",
40
          "key": "10|rest________::fb1a3d4523c95e63496e3bc7ba36244b"
41
        },
42
        "license": {"value": "https://creativecommons.org/publicdomain/zero/1.0/"},
43
        "url": ["https://neurovault.org/api/collections/1970/"],
44
        "dateofacceptance": {"value": "2016-12-05"},
45
        "collectedfrom": {
46
          "value": "NeuroVault",
47
          "key": "10|rest________::fb1a3d4523c95e63496e3bc7ba36244b"
48
        },
49
        "accessright": {
50
          "classid": "OPEN",
51
          "classname": "Open Access",
52
          "schemename": "dnet:access_modes",
53
          "schemeid": "dnet:access_modes"
54
        },
55
        "instancetype": {
56
          "classid": "0025",
57
          "classname": "Image",
58
          "schemename": "dnet:publication_resource",
59
          "schemeid": "dnet:publication_resource"
60
        }
61
      }],
62
      "metadata": {
63
        "fulltext": [{"value": "https://neurovault.org/collections/1970/download"}],
64
        "description": [{"value": ""}],
65
        "title": [{
66
          "qualifier": {
67
            "classid": "main title",
68
            "classname": "main title",
69
            "schemename": "dnet:dataCite_title",
70
            "schemeid": "dnet:dataCite_title"
71
          },
72
          "value": "Fractionating the anterior temporal lobe: MVPA reveals differential responses to input and conceptual modality"
73
        }],
74
        "author": [
75
          {
76
            "fullname": "\n         ",
77
            "rank": 1
78
          },
79
          {
80
            "fullname": "\n         ",
81
            "rank": 2
82
          },
83
          {
84
            "fullname": "\n         ",
85
            "rank": 3
86
          },
87
          {
88
            "fullname": "\n         ",
89
            "rank": 4
90
          },
91
          {
92
            "fullname": "\n         ",
93
            "rank": 5
94
          }
95
        ],
96
        "resulttype": {
97
          "classid": "other",
98
          "classname": "other",
99
          "schemename": "dnet:result_typologies",
100
          "schemeid": "dnet:result_typologies"
101
        },
102
        "context":
103
        {"id": "ni"}
104
      ,
105
        "dateofacceptance": {"value": "2016-12-05"},
106
        "subject": [{
107
          "qualifier": {
108
            "classid": "lcsh",
109
            "classname": "lcsh",
110
            "schemename": "dnet:result_subject",
111
            "schemeid": "dnet:result_subject"
112
          },
113
          "value": "Brain"
114
        }]
115
      }
116
    },
117
    "collectedfrom": [{
118
      "value": "NeuroVault",
119
      "key": "10|rest________::fb1a3d4523c95e63496e3bc7ba36244b"
120
    }],
121
    "dateofcollection": "2018-06-07T16:28:46.665+02:00",
122
    "type": 50,
123
    "id": "50|NeuroVault__::0004d0b59e19461ff126e3a08a814c33"
124
  }
125
}
modules/dnet-mapreduce-jobs/trunk/src/test/resources/eu/dnetlib/data/mapreduce/hbase/bulktag/oaf_subject.json
1
{
2
  "kind": 1,
3
  "dataInfo": {
4
    "deletedbyinference": false,
5
    "provenanceaction": {
6
      "classid": "sysimport:crosswalk:repository",
7
      "classname": "sysimport:crosswalk:repository",
8
      "schemename": "dnet:provenanceActions",
9
      "schemeid": "dnet:provenanceActions"
10
    },
11
    "inferred": false,
12
    "inferenceprovenance": "",
13
    "invisible": false,
14
    "trust": "0.9"
15
  },
16
  "entity": {
17
    "dateoftransformation": "2018-07-13T18:10:16.645+02:00",
18
    "pid": [{
19
      "qualifier": {
20
        "classid": "landingpage",
21
        "classname": "landingpage",
22
        "schemename": "dnet:pid_types",
23
        "schemeid": "dnet:pid_types"
24
      },
25
      "value": "https://neurovault.org/collections/1970/"
26
    }],
27
    "originalId": ["1970"],
28
    "oaiprovenance": {"originDescription": {
29
      "metadataNamespace": "",
30
      "altered": true,
31
      "baseURL": "https://neurovault.org/api/collections/",
32
      "datestamp": "",
33
      "harvestDate": "2018-06-07T16:28:46.665+02:00",
34
      "identifier": ""
35
    }},
36
    "result": {
37
      "instance": [{
38
        "hostedby": {
39
          "value": "NeuroVault",
40
          "key": "10|rest________::fb1a3d4523c95e63496e3bc7ba36244b"
41
        },
42
        "license": {"value": "https://creativecommons.org/publicdomain/zero/1.0/"},
43
        "url": ["https://neurovault.org/api/collections/1970/"],
44
        "dateofacceptance": {"value": "2016-12-05"},
45
        "collectedfrom": {
46
          "value": "NeuroVault",
47
          "key": "10|rest________::fb1a3d4523c95e63496e3bc7ba36244b"
48
        },
49
        "accessright": {
50
          "classid": "OPEN",
51
          "classname": "Open Access",
52
          "schemename": "dnet:access_modes",
53
          "schemeid": "dnet:access_modes"
54
        },
55
        "instancetype": {
56
          "classid": "0025",
57
          "classname": "Image",
58
          "schemename": "dnet:publication_resource",
59
          "schemeid": "dnet:publication_resource"
60
        }
61
      }],
62
      "metadata": {
63
        "fulltext": [{"value": "https://neurovault.org/collections/1970/download"}],
64
        "description": [{"value": ""}],
65
        "title": [{
66
          "qualifier": {
67
            "classid": "main title",
68
            "classname": "main title",
69
            "schemename": "dnet:dataCite_title",
70
            "schemeid": "dnet:dataCite_title"
71
          },
72
          "value": "Fractionating the anterior temporal lobe: MVPA reveals differential responses to input and conceptual modality"
73
        }],
74
        "author": [
75
          {
76
            "fullname": "\n         ",
77
            "rank": 1
78
          },
79
          {
80
            "fullname": "\n         ",
81
            "rank": 2
82
          },
83
          {
84
            "fullname": "\n         ",
85
            "rank": 3
86
          },
87
          {
88
            "fullname": "\n         ",
89
            "rank": 4
90
          },
91
          {
92
            "fullname": "\n         ",
93
            "rank": 5
94
          }
95
        ],
96
        "resulttype": {
97
          "classid": "other",
98
          "classname": "other",
99
          "schemename": "dnet:result_typologies",
100
          "schemeid": "dnet:result_typologies"
101
        },
102
        "dateofacceptance": {"value": "2016-12-05"},
103
        "subject": [{
104
          "qualifier": {
105
            "classid": "lcsh",
106
            "classname": "lcsh",
107
            "schemename": "dnet:result_subject",
108
            "schemeid": "dnet:result_subject"
109
          },
110
          "value": "Brain"
111
        }]
112
      }
113
    },
114
    "collectedfrom": [{
115
      "value": "NeuroVault",
116
      "key": "10|rest________::fb1a3d4523c95e63496e3bc7ba36244b"
117
    }],
118
    "dateofcollection": "2018-06-07T16:28:46.665+02:00",
119
    "type": 50,
120
    "id": "50|NeuroVault__::0004d0b59e19461ff126e3a08a814c33"
121
  }
122
}
modules/dnet-mapreduce-jobs/trunk/src/test/resources/eu/dnetlib/data/mapreduce/hbase/bulktag/oaf_subject_2.jason
1
{
2
  "kind": 1,
3
  "dataInfo": {
4
    "deletedbyinference": false,
5
    "provenanceaction": {
6
      "classid": "sysimport:crosswalk:repository",
7
      "classname": "sysimport:crosswalk:repository",
8
      "schemename": "dnet:provenanceActions",
9
      "schemeid": "dnet:provenanceActions"
10
    },
11
    "inferred": false,
12
    "inferenceprovenance": "",
13
    "invisible": false,
14
    "trust": "0.9"
15
  },
16
  "entity": {
17
    "dateoftransformation": "2018-07-13T18:10:16.645+02:00",
18
    "pid": [{
19
      "qualifier": {
20
        "classid": "landingpage",
21
        "classname": "landingpage",
22
        "schemename": "dnet:pid_types",
23
        "schemeid": "dnet:pid_types"
24
      },
25
      "value": "https://neurovault.org/collections/1970/"
26
    }],
27
    "originalId": ["1970"],
28
    "oaiprovenance": {"originDescription": {
29
      "metadataNamespace": "",
30
      "altered": true,
31
      "baseURL": "https://neurovault.org/api/collections/",
32
      "datestamp": "",
33
      "harvestDate": "2018-06-07T16:28:46.665+02:00",
34
      "identifier": ""
35
    }},
36
    "result": {
37
      "instance": [{
38
        "hostedby": {
39
          "value": "NeuroVault",
40
          "key": "10|rest________::fb1a3d4523c95e63496e3bc7ba36244b"
41
        },
42
        "license": {"value": "https://creativecommons.org/publicdomain/zero/1.0/"},
43
        "url": ["https://neurovault.org/api/collections/1970/"],
44
        "dateofacceptance": {"value": "2016-12-05"},
45
        "collectedfrom": {
46
          "value": "NeuroVault",
47
          "key": "10|rest________::fb1a3d4523c95e63496e3bc7ba36244b"
48
        },
49
        "accessright": {
50
          "classid": "OPEN",
51
          "classname": "Open Access",
52
          "schemename": "dnet:access_modes",
53
          "schemeid": "dnet:access_modes"
54
        },
55
        "instancetype": {
56
          "classid": "0025",
57
          "classname": "Image",
58
          "schemename": "dnet:publication_resource",
59
          "schemeid": "dnet:publication_resource"
60
        }
61
      }],
62
      "metadata": {
63
        "fulltext": [{"value": "https://neurovault.org/collections/1970/download"}],
64
        "description": [{"value": ""}],
65
        "title": [{
66
          "qualifier": {
67
            "classid": "main title",
68
            "classname": "main title",
69
            "schemename": "dnet:dataCite_title",
70
            "schemeid": "dnet:dataCite_title"
71
          },
72
          "value": "Fractionating the anterior temporal lobe: MVPA reveals differential responses to input and conceptual modality"
73
        }],
74
        "author": [
75
          {
76
            "fullname": "\n         ",
77
            "rank": 1
78
          },
79
          {
80
            "fullname": "\n         ",
81
            "rank": 2
82
          },
83
          {
84
            "fullname": "\n         ",
85
            "rank": 3
86
          },
87
          {
88
            "fullname": "\n         ",
89
            "rank": 4
90
          },
91
          {
92
            "fullname": "\n         ",
93
            "rank": 5
94
          }
95
        ],
96
        "resulttype": {
97
          "classid": "other",
98
          "classname": "other",
99
          "schemename": "dnet:result_typologies",
100
          "schemeid": "dnet:result_typologies"
101
        },
102
        "dateofacceptance": {"value": "2016-12-05"},
103
        "subject": [{
104
          "qualifier": {
105
            "classid": "lcsh",
106
            "classname": "lcsh",
107
            "schemename": "dnet:result_subject",
108
            "schemeid": "dnet:result_subject"
109
          },
110
          "value": "Brain"
111
        },
112
        {"value":"ocean"}]
113
      }
114
    },
115
    "collectedfrom": [{
116
      "value": "NeuroVault",
117
      "key": "10|rest________::fb1a3d4523c95e63496e3bc7ba36244b"
118
    }],
119
    "dateofcollection": "2018-06-07T16:28:46.665+02:00",
120
    "type": 50,
121
    "id": "50|NeuroVault__::0004d0b59e19461ff126e3a08a814c33"
122
  }
123
}

Also available in: Unified diff