Skip to content
Snippets Groups Projects
Commit 64319464 authored by Alvaro Graves's avatar Alvaro Graves
Browse files

Removing SQLITE3 extension to metaDb class

Adding namespace.php including all namespaces available from
http://prefix.cc
parent 48d5112d
No related branches found
No related tags found
No related merge requests found
<?
class MetaDb extends SQLite3{
class MetaDb{
private $dbLocation;
public function __construct($location){
......
......@@ -9,15 +9,7 @@ $conf['endpoint']['config']['show_inline'] = 0;
$conf['metadata']['db']['location'] = 'meta/db.sqlite';
$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']['dcterms'] = 'http://purl.org/dc/terms/';
$conf['ns']['foaf'] = 'http://xmlns.com/foaf/0.1/';
$conf['ns']['skos'] = 'http://www.w3.org/2004/02/skos/core#';
$conf['ns']['og'] = 'http://opengraphprotocol.org/schema/';
$conf['ns']['owl'] = 'http://www.w3.org/2002/07/owl#';
$conf['ns']['ov'] = 'http://open.vocab.org/terms/';
$conf['ns']['conv'] = 'http://purl.org/twc/vocab/conversion/';
include_once('namespaces.php');
$conf['model']['directory'] = 'models/'; #include trailing slash!
$conf['model']['extension'] = '.model';
......
......@@ -76,6 +76,7 @@ done
\$conf['endpoint']['host'] = '$endpoint';
\$conf['basedir'] = '$basedir';
#If you want to add/overrid a namespace, add it here
\$conf['ns']['local'] = '$ns';
?>"
......
This diff is collapsed.
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