Source files for the BridgeDb ontology, available at http://vocabularies.bridgedb.org/
The ontology is installed by adding two files to /var/www/vocabularies.bridgedb.org:
-
.htaccessfile to ensure rewriting of/ops#to/index.php#, ensuring dereferencibility:RewriteRule ^ops#(.*)$ index.php#$1
-
index.phpfile to get the latest version of index.html from the master branch of this repo and display it:
<?php
$vocabUrl = "https://raw.githubusercontent.com/bridgedb/vocabulary/master/index.html";
$vocabLines = file($vocabUrl);
$vocab=implode('',$vocabLines);
echo $vocab;
?>If you know your update should take effect immediately, commit it to the master branch of this repo. Otherwise, commit it to another branch like dev and get confirmation regarding your proposed changes before merging them into master.
The file index.php referenced above will automatically always display the latest version committed to master.
The HTML validation report is generated online: https://validator.w3.org/nu/?doc=http://vocabularies.bridgedb.org/ops
The RDF embedded in this document can be extracted as: