Skip to content

Commit

Permalink
Added CHEMBLxxx identifiers for assays
Browse files Browse the repository at this point in the history
  • Loading branch information
egonw committed Mar 10, 2012
1 parent 46b3759 commit 473f6dd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions assays.php
Expand Up @@ -23,6 +23,12 @@
while ($row = mysql_fetch_assoc($allIDs)) {
$assay = $ASS . "a" . $row['assay_id'];
echo triple( $assay, $RDF . "type", $ONTO . "Assay" );

$chembl = $CHEMBL . $row['chembl_id'];
echo data_triple( $assay, $RDFS . "label", $row['chembl_id'] );
echo triple( $chembl, $OWL . "equivalentClass", $assay );
echo triple( $assay, $OWL . "equivalentClass", $chembl );

if ($row['description']) {
# clean up description
$description = $row['description'];
Expand Down

0 comments on commit 473f6dd

Please sign in to comment.