Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
marcus-lodspeakr
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
uib-ub
Spesialsamlingene
marcus-lodspeakr
Commits
104dd94e
Commit
104dd94e
authored
7 years ago
by
oyvind Gjesdal
Browse files
Options
Downloads
Patches
Plain Diff
lagt inn default settings mot åpent sparql endpoint for test environment
parent
902b73f2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
default.settings.inc.php
+45
-19
45 additions, 19 deletions
default.settings.inc.php
with
45 additions
and
19 deletions
default.settings.inc.php
+
45
−
19
View file @
104dd94e
<?php
# Where is LODSPeaKr's root located? (don't include word 'lodspeakr')
$conf
[
'basedir'
]
=
'http://foo/bar/'
;
#include final slash
# What is the namespace of your data?
$conf
[
'ns'
][
'local'
]
=
'http://foo/bar/data/'
;
# If you want to add/override a namespace, add it here
$conf
[
'ns'
][
'other'
]
=
'http://example.org/data/'
;
# Where is your SPARQL endpoint
$conf
[
'endpoint'
][
'host'
]
=
'http://myendpoint/sparql'
;
$conf
[
'home'
]
=
'/Users/alvarograves/github/lodspeakr/'
;
#change to the location of LODSPeaKr in the dir tree
$conf
[
'debug'
]
=
false
;
#Ugly dump of queries and values obtained
$conf
[
'mirror_external_uris'
]
=
false
;
#TRUE is local namespace != basedir
$conf
[
'endpoint'
][
'local'
]
=
'http://sparql.ub.uib.no/sparql/sparql'
;
$conf
[
'endpoint'
][
'bibsys'
]
=
'http://sparql.ub.uib.no/sparql/sparql'
;
//$conf['endpoint']['dbpedia'] = 'http://dbpedia.org/sparql';
$conf
[
'endpoint'
][
'dbpedia'
]
=
'http://live.dbpedia.org/sparql'
;
//$conf['endpoint']['dbpedia'] = 'http://dbpedia-live.openlinksw.com/sparql';
$conf
[
'home'
]
=
'/var/www/html/marcus-special/'
;
$conf
[
'basedir'
]
=
'http://localhost:80/'
;
$conf
[
'debug'
]
=
true
;
$conf
[
'root'
]
=
'home'
;
//$conf['cache']['global'] = 1200;
$conf
[
'ns'
][
'base'
]
=
'http://data.ub.uib.no/'
;
$conf
[
'ns'
][
'local'
]
=
'http://data.ub.uib.no/'
;
$conf
[
'ns'
][
'scheme'
]
=
'http://marcus.uib.no/instance/charter/'
;
$conf
[
'ns'
][
'ubbinst'
]
=
'http://data.ub.uib.no/instances/'
;
$conf
[
'ns'
][
'ubbont'
]
=
'http://data.ub.uib.no/ontology/'
;
$conf
[
'ns'
][
'dct'
]
=
'http://purl.org/dc/terms/'
;
$conf
[
'ns'
][
'rdf'
]
=
'http://www.w3.org/1999/02/22-rdf-syntax-ns#'
;
$conf
[
'ns'
][
'rdfs'
]
=
'http://www.w3.org/2000/01/rdf-schema#'
;
$conf
[
'ns'
][
'text'
]
=
'http://jena.apache.org/text#'
;
$conf
[
'ns'
][
'skos'
]
=
'http://www.w3.org/2004/02/skos/core#'
;
$conf
[
'ns'
][
'foaf'
]
=
'http://xmlns.com/foaf/0.1/'
;
$conf
[
'ns'
][
'schema'
]
=
'http://schema.org/'
;
// $conf['mirror_external_uris'] = true;
$conf
[
'mirror_external_uris'
]
=
$conf
[
'ns'
][
'base'
];
// Cherry-picked components (see https://github.com/alangrafu/lodspeakr/wiki/Reuse-cherry-picked-components-from-other-repositories)
// Variables in can be used to store user info.
// For examples, 'title' will be used in the header.
// (You can forget about all conventions and use your own as well)
$lodspk
[
'title'
]
=
'Marcus'
;
$lodspk
[
'subtitle'
]
=
'Spesialsamlingen ved Universitetet i Bergen'
;
$lodspk
[
'currentDate'
]
=
date
(
"D M d, Y"
);
/* Oyvind spesialkrydder query post variabel som kan brukes over hele lodspkr */
$lodspk
[
'query'
]
=
$_POST
[
'query'
];
$lodspk
[
'latest'
]
=
$_POST
[
'latest'
];
/*ATTENTION: By default this application is available to
* be exported and copied (its configuration)
* by others. If you do not want that,
* by others. If you do not want that,
* turn the next option as false
*/
$conf
[
'export'
]
=
tru
e
;
*/
$conf
[
'export'
]
=
fals
e
;
$conf
[
'static'
][
'haanga'
]
=
true
;
$conf
[
'modules'
][
'available'
]
=
array
(
'static'
,
'service'
,
'uri'
,
'type'
,
'admin'
);
$conf
[
'http_accept'
][
'ris'
]
=
'application/x-research-info-systems'
;
?>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment