Skip to content
Snippets Groups Projects
  • alangrafu's avatar
    d5c594d2
    Multiple changes · d5c594d2
    alangrafu authored
    * Back to "first" instead of "f" to increase readability
    * default views and models are now rdfs:Resource
    * 'use_external_uris' renamed to 'mirror_external_uris' to increase
    readability
    * When mirroring URIs, LODSPeaKr will include two triples using
    (owl:sameAs and  con:prerredUri) from mirrored URI to original one
    d5c594d2
    History
    Multiple changes
    alangrafu authored
    * Back to "first" instead of "f" to increase readability
    * default views and models are now rdfs:Resource
    * 'use_external_uris' renamed to 'mirror_external_uris' to increase
    readability
    * When mirroring URIs, LODSPeaKr will include two triples using
    (owl:sameAs and  con:prerredUri) from mirrored URI to original one
common.inc.php 1.57 KiB
<?

$conf['output']['select'] = 'json';
$conf['output']['describe'] = 'rdf';
$conf['endpointParams']['config']['show_inline'] = 0;
$conf['endpointParams']['config']['named_graph'] = '';
//ALternative endpoints
$conf['endpoint']['dbpedia'] = 'http://dbpedia.org/sparql';
$conf['endpoint']['logd'] = 'http://logd.tw.rpi.edu/sparql';

$conf['metadata']['db']['location'] = 'meta/db.sqlite';

include_once('namespaces.php');

$conf['model']['directory'] = 'models/'; #include trailing slash!
$conf['model']['extension'] = '.model';
$conf['model']['default'] = 'rdfs:Resource';

$conf['view']['directory'] = 'views/'; #include trailing slash!
$conf['view']['extension'] = '.view';
$conf['view']['default'] = 'rdfs:Resource';

$conf['static']['directory'] = 'static/'; #include trailing slash!

$conf['resource']['url_delimiter'] = "%u";

$conf['http_accept']['html'] = array('text/html');  
$conf['http_accept']['rdf']  = array('application/rdf+xml');
$conf['http_accept']['ttl']  = array(
  'text/n3', 'application/x-turtle', 'application/turtle', 'text/turtle');
$conf['http_accept']['json'] = array('application/json', 'application/x-javascript', 'text/javascript', 'text/x-javascript', 'text/x-json');
$conf['http_accept']['nt']   = array('text/plain');


$conf['special']['uri'] = 'special';
$conf['special']['class'] = 'classes/BasicSpecialFunction.php';

//Frontpage when user goes to http://example.org/
$conf['root'] = 'special/index';

//Debug
$conf['debug'] = false;

$conf['extension_connector'] = '.';


include_once('settings.inc.php');
$conf['view']['standard']['baseUrl'] = $conf['basedir'];
?>