Source files for the BridgeDb ontology
HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
context.jsonld
index.html

README.md

The BridgeDb vocabulary

Source files for the BridgeDb ontology, available at http://vocabularies.bridgedb.org/ops

Installation

The ontology is installed by adding two files to /var/www/vocabularies.bridgedb.org:

  1. .htaccess file to ensure rewriting of /ops# to /index.php#, ensuring dereferencibility:

    RewriteRule ^ops#(.*)$ index.php#$1

  2. index.php file 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;
?>

Updating

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.

HTML and RDFa validation

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: