1
|
-- REMEMBER TO TO REGISTER THE FOLLOWING VOCABULARY (the TOAS):
|
2
|
-- f9b99dfb-ddd3-4fe1-8ee5-5c7acc5fc901_Vm9jYWJ1bGFyeURTUmVzb3VyY2VzL1ZvY2FidWxhcnlEU1Jlc291cmNlVHlwZQ==
|
3
|
-- and then launch the consistency workflow to update class/scheme into the database
|
4
|
|
5
|
INSERT INTO datasources (
|
6
|
id,
|
7
|
officialname,
|
8
|
englishname,
|
9
|
websiteurl,
|
10
|
logourl,
|
11
|
contactemail,
|
12
|
namespaceprefix,
|
13
|
collectedfrom,
|
14
|
datasourceclass,
|
15
|
_dnet_resource_identifier_
|
16
|
) VALUES (
|
17
|
'openaire____::corda_h2020',
|
18
|
'CORDA - COmmon Research DAta Warehouse - Horizon 2020',
|
19
|
'CORDA - COmmon Research DAta Warehouse - Horizon 2020',
|
20
|
'http://ec.europa.eu/programmes/horizon2020/',
|
21
|
'http://ec.europa.eu/programmes/horizon2020/sites/horizon2020/themes/h2020/images/bannerEmptyH2020.jpg',
|
22
|
'ec-fp7-it-helpdesk@ec.europa.eu',
|
23
|
'corda__h2020',
|
24
|
'infrastruct_::openaire',
|
25
|
'entityregistry',
|
26
|
'openaire____::corda_h2020'
|
27
|
);
|
28
|
|
29
|
INSERT INTO api (
|
30
|
id,
|
31
|
protocolclass,
|
32
|
datasource,
|
33
|
_dnet_resource_identifier_,
|
34
|
typologyclass,
|
35
|
compatibilityclass
|
36
|
) VALUES (
|
37
|
'openaire____::corda_h2020::0',
|
38
|
'filesystem',
|
39
|
'openaire____::corda_h2020',
|
40
|
'openaire____::corda_h2020::0',
|
41
|
'entityregistry',
|
42
|
'native'
|
43
|
);
|
44
|
|
45
|
INSERT INTO apicollections (
|
46
|
param,
|
47
|
original,
|
48
|
api,
|
49
|
_dnet_resource_identifier_
|
50
|
) VALUES (
|
51
|
'extensions',
|
52
|
'xml',
|
53
|
'openaire____::corda_h2020::0',
|
54
|
'openaire____::corda_h2020::0@@extensions'
|
55
|
);
|
56
|
|
57
|
INSERT INTO apicollections (
|
58
|
param,
|
59
|
original,
|
60
|
api,
|
61
|
_dnet_resource_identifier_
|
62
|
) VALUES (
|
63
|
'baseUrl',
|
64
|
'file:///var/lib/dnet/corda_h2020',
|
65
|
'openaire____::corda_h2020::0',
|
66
|
'openaire____::corda_h2020::0@@baseUrl'
|
67
|
);
|
68
|
|
69
|
INSERT INTO apicollections (
|
70
|
param,
|
71
|
original,
|
72
|
api,
|
73
|
_dnet_resource_identifier_,
|
74
|
accessparam
|
75
|
) VALUES (
|
76
|
'metadata_identifier_path',
|
77
|
'//project/@id',
|
78
|
'openaire____::corda_h2020::0',
|
79
|
'openaire____::corda_h2020::0@@metadata_identifier_path',
|
80
|
false
|
81
|
);
|
82
|
|
83
|
--
|
84
|
INSERT INTO datasources (
|
85
|
id,
|
86
|
officialname,
|
87
|
englishname,
|
88
|
websiteurl,
|
89
|
logourl,
|
90
|
contactemail,
|
91
|
namespaceprefix,
|
92
|
collectedfrom,
|
93
|
datasourceclass,
|
94
|
_dnet_resource_identifier_
|
95
|
) VALUES (
|
96
|
'openaire____::corda_h2020_fundings',
|
97
|
'CORDA - COmmon Research DAta Warehouse - Horizon 2020 - Fundings',
|
98
|
'CORDA - COmmon Research DAta Warehouse - Horizon 2020 - Fundings',
|
99
|
'http://ec.europa.eu/programmes/horizon2020/',
|
100
|
'http://ec.europa.eu/programmes/horizon2020/sites/horizon2020/themes/h2020/images/bannerEmptyH2020.jpg',
|
101
|
'ec-fp7-it-helpdesk@ec.europa.eu',
|
102
|
'ec_h2020fund',
|
103
|
'infrastruct_::openaire',
|
104
|
'entityregistry',
|
105
|
'openaire____::corda_h2020'
|
106
|
);
|
107
|
|
108
|
INSERT INTO api (
|
109
|
id,
|
110
|
protocolclass,
|
111
|
datasource,
|
112
|
_dnet_resource_identifier_,
|
113
|
typologyclass,
|
114
|
compatibilityclass
|
115
|
) VALUES (
|
116
|
'openaire____::corda_h2020_fundings::0',
|
117
|
'filesystem',
|
118
|
'openaire____::corda_h2020_fundings',
|
119
|
'openaire____::corda_h2020_fundings::0',
|
120
|
'entityregistry',
|
121
|
'native'
|
122
|
);
|
123
|
|
124
|
INSERT INTO apicollections (
|
125
|
param,
|
126
|
original,
|
127
|
api,
|
128
|
_dnet_resource_identifier_
|
129
|
) VALUES (
|
130
|
'extensions',
|
131
|
'xml',
|
132
|
'openaire____::corda_h2020_fundings::0',
|
133
|
'openaire____::corda_h2020_fundings::0@@extensions'
|
134
|
);
|
135
|
|
136
|
INSERT INTO apicollections (
|
137
|
param,
|
138
|
original,
|
139
|
api,
|
140
|
_dnet_resource_identifier_
|
141
|
) VALUES (
|
142
|
'baseUrl',
|
143
|
'file:///var/lib/dnet/corda_h2020_fundings',
|
144
|
'openaire____::corda_h2020_fundings::0',
|
145
|
'openaire____::corda_h2020_fundings::0@@baseUrl'
|
146
|
);
|