/
default.ini
326 lines (265 loc) · 9.85 KB
/
default.ini
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
;;
; OntoWiki main config file
;
; Host-specific options can be found in
; config.ini.
;
; @package application
; @subpackage config
; @copyright Copyright (c) 2008, {@link http://aksw.org AKSW}
; @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL)
;;
[default]
sysbase.model = "http://ns.ontowiki.net/SysBase/"
sysbase.path = "application/config/SysBase.rdf"
sysont.properties.hiddenImports = "http://ns.ontowiki.net/SysOnt/hiddenImports"
sysont.properties.hidden = "http://ns.ontowiki.net/SysOnt/hidden"
sysont.properties.isLarge = "http://ns.ontowiki.net/SysOnt/isLarge"
;;
; Main title prefix (head)
;;
title.prefix = "OntoWiki"
;;
; Main title separator (OntoWiki <sep> Class <sep> Instance)
;;
title.separator = " — "
;; Option for specifying the RSS/Atom feed loaded in the OntoWiki index actions "News" module
;; set to "false" to completely disable the feed
news.feedUrl = "http://blog.aksw.org/feed/?cat=5&client={{version.label}}&version={{version.number}}&suffix={{version.suffix}}"
;;
; Title Helper Configuration
; Properties to be searched for values with a human-readable
; string that represents a resource. The third part of the key has no
; meaning, just make sure to use a unique string. Numbers can cause your
; title properties to be overwritten when configs are merged.
;;
;; these are more important than rdfs:label
titleHelper.properties.skosPlabel = "http://www.w3.org/2004/02/skos/core#prefLabel"
titleHelper.properties.dcTitle = "http://purl.org/dc/elements/1.1/title"
titleHelper.properties.dcTitle2 = "http://purl.org/dc/terms/title"
titleHelper.properties.swrcTitle = "http://swrc.ontoware.org/ontology#title"
titleHelper.properties.foafName = "http://xmlns.com/foaf/0.1/name"
titleHelper.properties.doapName = "http://usefulinc.com/ns/doap#name"
titleHelper.properties.siocName = "http://rdfs.org/sioc/ns#name"
titleHelper.properties.tagName = "http://www.holygoat.co.uk/owl/redwood/0.1/tags/name"
titleHelper.properties.lgeodName = "http://linkedgeodata.org/vocabulary#name"
titleHelper.properties.geoName = "http://www.geonames.org/ontology#name"
titleHelper.properties.goName = "http://www.geneontology.org/dtds/go.dtd#name"
titleHelper.properties.rdfsLabel = "http://www.w3.org/2000/01/rdf-schema#label"
;; these are less important than rdfs:label ...
titleHelper.properties.accountName = "http://xmlns.com/foaf/0.1/accountName"
titleHelper.properties.foafNick = "http://xmlns.com/foaf/0.1/nick"
titleHelper.properties.foafSurname = "http://xmlns.com/foaf/0.1/surname"
titleHelper.properties.skosAlabel = "http://www.w3.org/2004/02/skos/core#altLabel"
;;
; Determines whether Title Helper prefers the property or the language
; when searching for title values.
;
; Possible values are "property" and "language"
;
; In property mode, the first title property that has a value is used.
; In language mode, title helper searches through all title properties
; until it finds the best possible match to the requested language.
;;
titleHelper.searchMode = "language"
;;
; Always fall back to the local part of the URI for unknown resources.
;;
titleHelper.useLocalNames = true
;;
; Model Info description properties (maybe later a description helper?)
; Current usage is only /model/info/
;;
descriptionHelper.properties.rdfsComment = "http://www.w3.org/2000/01/rdf-schema#comment"
descriptionHelper.properties.dcDesc1 = "http://purl.org/dc/terms/description"
descriptionHelper.properties.dcDesc2 = "http://purl.org/dc/elements/1.1/description"
descriptionHelper.properties.skosNote = "http://www.w3.org/2004/02/skos/core#note"
descriptionHelper.properties.skosEditorialNote = "http://www.w3.org/2004/02/skos/core#editorialNote"
;;
; List settings
;;
lists.showTypeColumnByDefault = "true"
;;
; Version info
;;
version.label = "OntoWiki"
version.number = "0.9.12"
version.suffix = "git"
;;
; Help Menu URLs
;;
help.documentation = "http://docs.ontowiki.net"
help.issues = "https://github.com/AKSW/OntoWiki/issues"
help.versioninfo = "https://raw.github.com/AKSW/OntoWiki/master/debian/changelog"
;;
; Zend routes for built-in controllers
; Routes are applied in reverse order, so most specific routes should go last.
;;
; routes.linkeddata.route = "*"
; routes.linkeddata.defaults.controller = "ttt"
; routes.linkeddata.defaults.action = "ttt"
routes.default.route = ":controller/:action/*"
routes.default.defaults.action = "index"
routes.empty.route = ""
routes.empty.defaults.controller = "index"
routes.empty.defaults.action = "index"
routes.properties.route = "view/*"
routes.properties.defaults.controller = "resource"
routes.properties.defaults.action = "properties"
routes.instances.route = "list/*"
routes.instances.defaults.controller = "resource"
routes.instances.defaults.action = "instances"
routes.data.route = "data/*"
routes.data.defaults.controller = "resource"
routes.data.defaults.action = "export"
routes.sparql.route = "sparql/*"
routes.sparql.defaults.controller = "service"
routes.sparql.defaults.action = "sparql"
routes.update.route = "update/*"
routes.update.defaults.controller = "service"
routes.update.defaults.action = "update"
routes.search.route = "search/*"
routes.search.defaults.controller = "application"
routes.search.defaults.action = "search"
;routes.showsitemap.route = "sitemap.xml"
;routes.showsitemap.defaults.controller = "semanticsitemap"
;routes.showsitemap.defaults.action = "sitemap"
; Default route name
route.default.name = 'properties'
; Default index action if called action wasn't found
index.default.controller = "index"
index.default.action = "news"
;;
; HTML page encoding
;;
encoding = "utf-8"
;;
; Path for external libraries
;;
libraries.path = "libraries"
;;
; Default theme and themes folder
;;
themes.default = "silverblue"
themes.path = "extensions/themes"
;;
; Extension directories
;;
extensions.base = "extensions/"
extensions.legacy = "plugins/legacy/"
extensions.core[] = "application"
extensions.core[] = "account"
extensions.core[] = "exconf"
;;
; language options
;;
languages.locale = en
languages.path = "translations"
cache.translation = on
;;
; RDFa widget configuration
;;
update.endpoint = "endpoint"
;;
; Zend_Cache options
;;
cache.path = "cache"
cache.modules = off
;;
; Set this identifier to a unique value if you want to run multiple OntoWiki
; installations on one server
;;
;session.identifier = "abc123"
;;
; Disables certain inference features that make OntoWiki slow when used
; with large models (> 100.000 triples)
;;
system.inference = true
;;
; Web service configuration
;;
service.auth.allowGet = false
; Enables logging up to a certain level. The specified logs folder needs to
; be writable. To disable logging at all set this option to false. If the
; debug option is set to true logging is enabled (7) automatically.
;
; The following log levels are supported:
;
; 0: Emergency - System is unusable
; 1: Alert - Action must be taken immediately
; 2: Critical - Critical conditions
; 3: Error - Error conditions
; 4: Warning - Warning conditions
; 5: Notice - Normal but significant condition
; 6: Informational - Informational messages
; 7: Debug - Debug messages
;
log.level = 4
log.path = "logs"
;;
; Debug mode. Enables Debug outputs and logging
;;
; debug = true
;;
; Database setup. Please adjust these settings in
; config.ini.
;;
; store.backend = zenddb
; store.schema = rap
;
; store.zenddb.adapter = mysqli
; store.zenddb.host = localhost
; store.zenddb.username = owuser
; store.zenddb.password = owpass
; store.zenddb.dbname = ontowiki
;;
;;
; Some Erfurt Config Options
;;
;; Versioning switch
versioning = true
;; Erfurt Query Cache
cache.query.enable = false
;; logging is not recommended (performance)
;cache.query.logging = 0
;; only database caching at the moment
cache.query.type = database
;; Erfurt Object Cache
cache.enable = false ; clear the cache if you switch from 0 to 1!
cache.type = database ; database, sqllite
;; Options for cache frontend
cache.frontend.enable = false
cache.frontend.lifetime = 0
;cache.frontend.logging = false
;cache.frontend.write_control = true
;cache.frontend.automatic_cleaning_factor = 10
;cache.frontend.ignore_user_abort = false
cache.frontend.cache_id_prefix = 'OW_'
;; Cache backend options
;; Available: file | memcached | database | sqlite | apc
;; Recommended: memcached | file
cache.backend.type = "file"
;; Options for file cache backend
cache.backend.file.cache_dir = "./cache/"
cache.backend.file.file_locking = NULL
;; Options for memcached cache backend
;cache.backend.memcached.compression = false
;cache.backend.memcached.compatibility = false
;; You can define several servers: copy block, below and increase number and configure properly
cache.backend.memcached.servers.0.host = "localhost"
;cache.backend.memcached.servers.0.port = 11211
;cache.backend.memcached.servers.0.persistent = true
;cache.backend.memcached.servers.0.weight = 1
;cache.backend.memcached.servers.0.timeout = 5
;cache.backend.memcached.servers.0.retry_interval = 15
;cache.backend.memcached.servers.0.status = 15
;; Options for sqlite cache backend
cache.backend.sqlite.cache_db_complete_path = "/tmp/ow_cache.sqlite"
;cache.backend.sqlite.automatic_vacuum_factor = 10
;; Options for worker
worker.enable = false
worker.backend = "Gearman"
worker.servers = "localhost:4730"
;; Virtual host configurations (optional, e.g. when OntoWiki is reachable via multiple domains)
;vhosts[] = "http://graph1.ontowiki.de"
;vhosts[] = "http://graph2.ontowiki.de"