Skip to content
Snippets Groups Projects
Commit 104dd94e authored by oyvind Gjesdal's avatar oyvind Gjesdal
Browse files

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
<?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'] = true;
*/
$conf['export'] = false;
$conf['static']['haanga'] = true;
$conf['modules']['available'] = array('static','service','uri','type','admin');
$conf['http_accept']['ris'] = 'application/x-research-info-systems';
?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment