-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathricgraph.ini-sample
More file actions
371 lines (342 loc) · 15.4 KB
/
ricgraph.ini-sample
File metadata and controls
371 lines (342 loc) · 15.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
# ########################################################################
#
# Ricgraph - Research in context graph
#
# ########################################################################
#
# MIT License
#
# Copyright (c) 2023, 2024 Rik D.T. Janssen
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# ########################################################################
#
# This file is the initialization file for Ricgraph.
# Original version Rik D.T. Janssen, December 2022.
# Updated Rik D.T. Janssen, April 2023, April 2024.
#
# ########################################################################
#
# Ricgraph uses the term 'organization abbreviation'.
# This is a string of a few letters that can be passed to some harvest
# scripts to determine for which organisation such a script will harvest
# data. Examples are UU, UMCU, DUT, EUR, etc, see below.
#
# You will see this in keys such as 'organization_name_UU' or
# 'organization_name_UMCU'. The general format is 'key_XXX,' with 'XXX'
# the 'organization abbreviation'.
# XXX may be at most MAX_ORG_ABBREVIATION_LENGTH characters long
# (ricgraph_constants.py).
#
# If your organization abbreviation is not in this file, feel free to add one.
# You can take any (short) string and pass it to a harvest script. You only
# need to insert keys (and values) for the organizations you are planning
# to harvest.
#
# ########################################################################
[Ricgraph]
# ###############################################################
# All nodes have the following standard properties:
# name: name of the node, e.g. ISNI, ORCID, DOI, etc.
# category: category of the node, e.g. person, person-root, book,
# journal article, data set, etc.
# value: value of the node
# _key: key value of the node, not to be modified by the user
# _source: sorted list of sources a record has been harvested from,
# not to be modified by the user
# _history: list of history events of the node, not to be modified by the user
#
# Do not change these two entries. Don't use spaces, quotes or new lines.
ricgraph_properties_standard = name,category,value
ricgraph_properties_hidden = _key,_source,_history
# ###############################################################
# ###############################################################
# Additional properties for nodes, make sure 'history_event' is last.
# Don't use spaces, quotes or new lines in this entry.
ricgraph_properties_additional = comment,year,license,access,url_main,url_other,source_event,history_event
# ###############################################################
# ###############################################################
# Ricgraph has two modes to add nodes.
# Your choice will influence the way nodes are added to Ricgraph.
# For an explanation how this works, see
# file docs/ricgraph_install_configure.md, section RICGRAPH_NODEADD_MODE.
# Possible values: strict, lenient. Choose one of these, don't use quotes.
#ricgraph_nodeadd_mode = lenient
ricgraph_nodeadd_mode = strict
# ###############################################################
[Ricgraph_explorer]
# ###############################################################
# Ricgraph Explorer has two modes to display results.
# This parameter gives the default mode. Possibilities are:
# - person_view: show a person card, limit details (e.g. do not show _history)
# - details_view: show all details.
ricgraph_explorer_display_results_mode = person_view
#ricgraph_explorer_display_results_mode = details_view
# ###############################################################
[Organization]
# ###############################################################
# Information about your organization.
# The organization names used on https://ror.org are considered
# to be authoritative. E.g., at that website, UU uses an English name,
# while VUA uses a Dutch name.
# Add your own 'organization abbreviation' if it is not present.
# Format: organization_name_XXX with 'XXX' the organization abbreviation.
# XXX may be at most MAX_ORG_ABBREVIATION_LENGTH characters long
# (ricgraph_constants.py).
# You only need key and value for the organization(s) you are planning
# to harvest.
# The name of your organization (without quotes):
organization_name_UU = Utrecht University
organization_name_UMCU = University Medical Center Utrecht
organization_name_DUT = Delft University of Technology
organization_name_EUR = Erasmus University Rotterdam
organization_name_EUT = Eindhoven University of Technology
organization_name_UG = University of Groningen
organization_name_VUA = Vrije Universiteit Amsterdam
organization_name_UA = University of Amsterdam
# Do not use AUMCs official ror.org name, use their own preference.
organization_name_AUMC = Amsterdam UMC
#
# ROR is a global open persistent identifier for research organizations.
# Find yours on https://ror.org.
# Add your own 'organization abbreviation' if it is not present. You only
# need key and value for the organization(s) you are planning to harvest.
# The ROR of your organization (without quotes and without 'https://ror.org/'):
organization_ror_UU = 04pp8hn57
organization_ror_UMCU = 0575yy874
organization_ror_DUT = 02e2c7k09
organization_ror_EUR = 057w15z03
organization_ror_EUT = 02c2kyt77
organization_ror_UG = 012p63287
organization_ror_VUA = 008xxew50
organization_ror_UA = 04dkp9463
organization_ror_AUMC = 05grdyy37
# ###############################################################
# ###############################################################
# List of organizations that have an organization hierarchy in Ricgraph.
# This depends on the source systems that have been harvested.
# It allows to remove sub-organizations from e.g. a collaboration
# diagram, so that only its top-level organization remain.
# This will reduce the number of organizations in the diagram.
# Note that this works because all (sub-)organizations of a person
# are connected to the person-root of that person in Ricgraph.
# This means that the connection count of the top level organization
# contains counts for all of its sub-organizations. So the
# sub-organizations can be removed without loosing their counts.
# For more info, read the "Design decision" at function
# org_collaborations_diagram()
# in file ../ricgraph_explorer/ricgraph_explorer_datavis.py.
#
# In the list below, do not change the first row.
# You can add or modify the following rows, according to your harvest.
# Note that the organization abbreviation and the organization name
# should be spelled as above (e.g. 'UU' and
# as the value of 'organization_name_UU').
#
# Example:
# organizations_with_hierarchies = ['org_abbreviation', 'org_name']
# # Add or modify below as your harvest suits.
# ['UU', 'Utrecht University']
# ['DUT', 'Delft University of Technology']
# organizations_with_hierarchies =
# ###############################################################
[Memcached]
# ###############################################################
# You can use Memcached (https://en.wikipedia.org/wiki/Memcached)
# for a global cache. This is only useful for Ricgraph Explorer,
# when accessed using gunicorn, because gunicorn has a number of
# 'workers' (ricgraph_explorer.py) that do not have a common
# memory (cache). It is not useful for harvesting.
# You will also need to install Memcached (e.g. with the Makefile).
# The Memcached host and port to be used (these are default
# values after install of Memcached).
memcached_host = localhost
memcached_port = 11211
# Set ricgraph_explorer_uses_memcached to 'True' to use Memcached.
# Any other value (also 'true') means don't use Memcached.
ricgraph_explorer_uses_memcached = False
# ###############################################################
[GraphDB]
# ###############################################################
# You can use various graph databases as backend. This section
# lists the configuration parameters for each graph database.
# Fill the parameters for the graph database you use, and
# specify the name of that database in this parameter:
graphdb = neo4j
# graphdb = memgraph
# ###############################################################
# ###############################################################
# Neo4j graph database backend, https://neo4j.com.
# ###############################################################
# For both Neo4j Desktop and Neo4j Community Editions, fill these:
graphdb_hostname = localhost
graphdb_databasename = neo4j
graphdb_user = neo4j
# Default password for Neo4j is 'neo4j' (without quotes).
graphdb_password =
# ### These additional parameters are for Neo4j Desktop ###
# Neo4j desktop may tell you which port to use, default is 7687.
#graphdb_scheme = bolt
#graphdb_port = 7687
# ### End of additional parameters for Neo4j Desktop ###
# ### These additional parameters are for Neo4j Community Edition ###
graphdb_scheme = neo4j
graphdb_port = 7687
# ### End of additional parameters for Neo4j Community Edition ###
# ###############################################################
# ###############################################################
# Memgraph graph database backend, https://memgraph.com.
# ###############################################################
# For Memgraph Platform, or the individual Memgraph packages, fill these:
#graphdb_hostname = localhost
#graphdb_databasename = memgraph
#graphdb_user = memgraph
# Default password for Memgraph is 'memgraph' (without quotes).
##graphdb_password =
##graphdb_scheme = bolt
##graphdb_port = 7687
# ###############################################################
[Pure_harvesting]
# ###############################################################
# The URL to Pure portal.
# Add your own 'organization abbreviation' if it is not present.
# Format: pure_url_XXX with 'XXX' the organization abbreviation.
# You only need key and value for the organization(s) you are planning
# to harvest.
# Your URL to Pure portal (without quotes):
pure_url_UU =
pure_url_UMCU =
pure_url_DUT =
pure_url_EUR =
pure_url_EUT =
pure_url_UG =
pure_url_VUA =
pure_url_UA =
pure_url_AUMC =
#
# You can obtain a Pure API key from your local Pure admin.
# Add your own 'organization abbreviation' if it is not present. You only
# need key and value for the organization(s) you are planning to harvest.
# Your Pure API key (without quotes):
pure_api_key_UU =
pure_api_key_UMCU =
pure_api_key_DUT =
pure_api_key_EUR =
pure_api_key_EUT =
pure_api_key_UG =
pure_api_key_VUA =
pure_api_key_UA =
pure_api_key_AUMC =
#
# This key indicates whether or not to use the Pure workflow
# for research results. If it is 'True', empty, or absent,
# only items with workflow status 'approved' or 'validated'
# will be harvested. If it is 'False', items with any
# workflow status except 'entryInProgress' will be
# harvested.
pure_use_workflow_rr_UU =
pure_use_workflow_rr_UMCU =
pure_use_workflow_rr_DUT =
pure_use_workflow_rr_EUR =
pure_use_workflow_rr_EUT =
pure_use_workflow_rr_UG =
pure_use_workflow_rr_VUA =
pure_use_workflow_rr_UA =
pure_use_workflow_rr_AUMC =
# ###############################################################
[Yoda_harvesting]
# ###############################################################
# With the following settings you will harvest data sets
# from Yoda, Utrecht University's data repository.
# They will be harvested from DataCite.
# The URL to Yoda Datacite harvest (without quotes):
yoda_url = https://oai.datacite.org/oai
#
# The set to harvest (without quotes):
yoda_set_UU = delft.uu
yoda_set_UMCU =
yoda_set_DUT =
yoda_set_EUR =
yoda_set_EUT =
yoda_set_UG =
yoda_set_VUA = delft.vudata
yoda_set_UA =
yoda_set_AUMC =
# ###############################################################
[RSD_harvesting]
# ###############################################################
# With the following settings you will harvest software
# from the Research Software Directory.
# The URL to the Research Software Directory harvest (without quotes):
rsd_url = https://research-software-directory.org
#
# Add your own 'organization abbreviation' if it is not present.
# Format: rsd_organization_XXX with 'XXX' the organization abbreviation.
# You only need key and value for the organization(s) you are planning
# to harvest.
# The organization to harvest (without quotes):
rsd_organization_UU = utrecht-university
rsd_organization_UMCU = university-medical-center-utrecht
rsd_organization_DUT = delft-university-of-technology
rsd_organization_EUR = erasmus-university-rotterdam
rsd_organization_EUT = eindhoven-university-of-technology
rsd_organization_UG = university-of-groningen
rsd_organization_VUA = vu-university-amsterdam
rsd_organization_UA = university-of-amsterdam
rsd_organization_AUMC = amsterdam-university-medical-centers
# ###############################################################
[UU_staff_pages_harvesting]
# ###############################################################
# With the following settings you will harvest Utrecht University
# staff pages.
# The URL to the API of the UU staff pages (without quotes):
uustaff_url =
# ###############################################################
[OpenAlex_harvesting]
# ###############################################################
# OpenAlex is a "fully open catalog of the global research system",
# https://docs.openalex.org.
# The URL to the API of OpenAlex (without quotes):
openalex_url = https://api.openalex.org
#
# OpenAlex doesn't require authentication, you can join a "polite pool"
# which offers faster and consistent response times, see
# https://docs.openalex.org/how-to-use-the-api/rate-limits-and-authentication#the-polite-pool
# Your email address (without quotes):
openalex_polite_pool_email =
#
# For OpenAlex, you also need to set parameters in the
# [Organization] section of this file.
# ###############################################################
[Scopus_harvesting]
# ###############################################################
# You can obtain a Scopus API key from the Elsevier Developer Portal,
# "Request an API key", https://dev.elsevier.com.
# This key will only give you "on campus" access to the Elsevier API.
# Your Scopus API key (without quotes):
scopus_api_key =
#
# If you need off campus access (e.g. from home), you'll need a
# "Scopus Institutional Token". You can request this from Elsevier using the
# email contact button on
# https://service.elsevier.com/app/home/supporthub/dataasaservice.
# Your Scopus Institutional Token (without quotes):
scopus_institutional_token =
# ###############################################################