forked from mementoweb/Server.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-example-advanced.json
65 lines (59 loc) · 2.26 KB
/
config-example-advanced.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
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
{
"title": "My Linked Data Fragments server",
"baseURL": "http://example.org/",
"datasources": {
"dbpedia": {
"title": "DBpedia 2014",
"description": "DBpedia 2014 with an HDT back-end",
"license": "Creative Commons Attribution-ShareAlike 3.0",
"licenseUrl": "https://creativecommons.org/licenses/by-sa/3.0/",
"copyright": "The DBpedia dataset is Open Knowledge.",
"homepage": "http://dbpedia.org/",
"type": "HdtDatasource",
"settings": { "file": "data/dbpedia2014.hdt" }
},
"dbpedia-sparql": {
"title": "DBpedia 3.9 (Virtuoso)",
"type": "SparqlDatasource",
"description": "DBpedia 3.9 with a Virtuoso back-end",
"settings": { "endpoint": "http://dbpedia.restdesc.org/", "defaultGraph": "http://dbpedia.org" }
}
},
"dereference": {
"/resource/": "dbpedia"
},
"routers": [
{ "type": "DatasourceRouter" },
{ "type": "TriplePatternRouter" },
{ "type": "PageRouter", "settings": { "pageSize": 100 } }
],
"writers": {
"text/html,*/*": { type: "HtmlWriter" },
"text/turtle,text/n3": { type: "TurtleWriter" },
"application/trig": { type: "TrigWriter" },
"application/n-triples": { type: "NTriplesWriter" },
"application/n-quads": { type: "NQuadsWriter" },
"application/ld+json,application/json": { "type": "JsonLdWriter" }
},
"prefixes": {
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"owl": "http://www.w3.org/2002/07/owl#",
"skos": "http://www.w3.org/2004/02/skos/core#",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dc": "http://purl.org/dc/terms/",
"dcterms": "http://purl.org/dc/terms/",
"dc11": "http://purl.org/dc/elements/1.1/",
"foaf": "http://xmlns.com/foaf/0.1/",
"geo": "http://www.w3.org/2003/01/geo/wgs84_pos#",
"dbpedia": "http://dbpedia.org/resource/",
"dbpedia-owl": "http://dbpedia.org/ontology/",
"dbpprop": "http://dbpedia.org/property/",
"hydra": "http://www.w3.org/ns/hydra/core#",
"void": "http://rdfs.org/ns/void#"
},
"logging": {
"enabled": true,
"file": "access.log"
}
}