-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.json
39 lines (39 loc) · 1.03 KB
/
config.json
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
{
"baseConfig": "trifid:config-sparql.json",
"sparqlEndpointUrl": "https://stardog.cluster.ldbar.ch/lindas/query",
"sparqlEndpointAuthentication": {
"user": "public",
"password": "public"
},
"sparqlProxy": {
"default": {
"options": {
"queryOperation": "postQueryUrlencoded"
}
}
},
"staticViews": {
"/": "cwd:views/home.html",
"/search/": "cwd:views/search/stations.html"
},
"staticFiles": {
"trifidFiles": {
"path": "/",
"folder": "cwd:public"
},
"zackFiles": {
"path": "/zack-search/",
"folder": "cwd:node_modules/zack-search/dist"
}
},
"handler": {
"root": {
"options": {
"resourceExistsQuery": "ASK { GRAPH ?g{ <${iri}> ?p ?o }}",
"resourceGraphQuery": "DESCRIBE <${iri}> ",
"containerExistsQuery": "ASK { GRAPH ?g{ ?s a ?o. FILTER REGEX(STR(?s), \"^${iri}\") }}",
"containerGraphQuery": "CONSTRUCT { ?s a ?o. } WHERE { GRAPH ?g{ ?s a ?o. FILTER REGEX(STR(?s), \"^${iri}\") }}"
}
}
}
}