-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathconfigServer.html
More file actions
54 lines (53 loc) · 2.09 KB
/
configServer.html
File metadata and controls
54 lines (53 loc) · 2.09 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
---
layout: default
title: Config | Server
section: configServer
path: docs/configServer.html
---
<h1 class="ui dividing header">
Config: Server
</h1>
<p>
For server config, you have to change the following parameters in <a class="ui label" href="https://github.com/ali1k/ld-r/blob/master/configs/server.sample.js">configs/server.js</a>:
</p>
</p>
<table class="ui celled table">
<thead>
<tr>
<th>Parameter</th>
<th>Description</th>
<th>Example value</th>
</tr>
</thead>
<tbody>
<tr>
<td class="positive">serverPort</td>
<td>The port number of your application.</td>
<td>[4000]</td>
</tr>
<tr>
<td class="positive">sparqlEndpoint</td>
<td>The specification of your SPARQL endpoint. Endpoints are defined per dataset. Therefore, you need to specify your intended graph name within your SPARQL endpoint too. If you aim to use all graphs, you should set the value of graphName to 'default'.
If no endpoint is found for your dataset, the config for 'generic' will be used. At the moment only endpoint types 'cliopatria', 'virtuoso' , 'graphdb', 'sesame', 'blazegraph' and 'stardog' are supported. Use 'endpointType' parameter to specify the endpoint type (default is set to 'virtuoso'). If you want to enable reasoning on your triple store, set 'useReasoning' parameter to '1'. You can also use 'username' and 'password' attributes if your endpoint needs HTTP authentication.</td>
<td>
'http://dbpedia.org': {
host: 'dbpedia.org', port: 80, path: '/sparql', endpointType: 'virtuoso', graphName: 'default', useReasoning: 0, protocol: 'http'
}
</td>
</tr>
<tr>
<td class="positive">dbpediaLookupService</td>
<td>Address of your DBpedia lookup service.</td>
<td>
{ host: 'lookup.dbpedia.org' }
</td>
</tr>
<tr>
<td class="positive">dbpediaSpotlightService</td>
<td>Address of your DBpedia Spotlight service.</td>
<td>
{ host: 'www.dbpedia-spotlight.com', port: 80, path: '/en/annotate' }
</td>
</tr>
</tbody>
</table>