-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
142 lines (120 loc) · 3.31 KB
/
config.yaml
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
server:
logLevel: debug
template:
files:
main: file:template/main.hbs
header: file:template/header.hbs
footer: file:template/footer.hbs
partials:
infos: file:template/infos.hbs
title: LINDAS - Linked Data Service
globals:
datasetBaseUrl: https://ld.admin.ch/
endpoints:
default:
url: /query
plugins:
assets:
module: trifid-core/plugins/static.js
paths: /swiss-assets
config:
directory: file:node_modules/swiss-styleguide/build
static-assets:
module: trifid-core/plugins/static.js
paths: /static-assets
config:
directory: file:static
i18n:
module: trifid-plugin-i18n
config:
directory: file:locales
updateFiles: false
locales:
- en
- fr
- de
- it
welcome:
module: trifid-core/plugins/view.js
paths: /
config:
path: views/welcome.hbs
ckan:
module: "@zazuko/trifid-plugin-ckan"
order: 30
paths: /ckan
yasgui:
module: trifid-plugin-yasgui
config:
urlShortener: https://s.zazuko.com/api/v1/shorten
template: file:views/yasgui.hbs
graph-explorer:
module: trifid-plugin-graph-explorer
spex:
module: trifid-plugin-spex
search:
module: file:plugins/search/index.js
sparql-proxy:
module: "@zazuko/trifid-plugin-sparql-proxy"
paths: /query
config:
allowRewriteToggle: false
rewrite: true
rewriteQuery: true
rewriteResults: true
endpointUrl: https://test.lindas.admin.ch/query
menu:
module: file:plugins/menu/index.js
config:
namespace: header
entries:
- path: /datasets/
label: Data Catalog
- path: /sparql/
label: Query Data
content:
module: "@zazuko/trifid-markdown-content"
config:
defaults:
autoLink: true # create links from headings
idPrefix: "content-" # prefix for generated ids for headings
classes: # custom CSS classes for generated HTML elements
h1: h1
h2: h2
h3: h3
h4: h4
h5: h5
table: table
entries:
lindas:
directory: file:content/template-parts
# entries used in templates using `{{{ session.markdown-content-plugin-plugin.lindas.XXXXXXXX }}}`
lindas-root:
directory: file:content/root-pages
mountPath: /
lindas-documentation:
directory: file:content/documentation
mountPath: /documentation/
lindas-governance:
directory: file:content/governance
mountPath: /governance/
lindas-technology:
directory: file:content/technology
mountPath: /technology/
entity-renderer:
module: "@zazuko/trifid-entity-renderer"
config:
path: views/entity.hbs
labelLoader:
chunkSize: 30
concurrency: 2
timeout: 4000
followRedirects: true
rewrite: true
additionalRewrites:
- "http://0.0.0.0:8080/"
# Custom queries to get information about a resource or container
resourceExistsQuery: "ASK { GRAPH ?g { <{{iri}}> ?p ?o }}"
resourceGraphQuery: "#pragma describe.strategy cbd\nDESCRIBE <{{iri}}>"
containerExistsQuery: "ASK { GRAPH ?g { <{{iri}}> ?p ?o }}"
containerGraphQuery: "#pragma describe.strategy cbd\nDESCRIBE <{{iri}}>"