Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added the CHEMBLxxx identifiers for targets too
  • Loading branch information
egonw committed Mar 10, 2012
1 parent a558006 commit 9cc57a9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions targets.php
Expand Up @@ -24,6 +24,12 @@
} else {
echo triple( $target, $ONTO . "hasTargetType", $TGT . $row['target_type'] );
}

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

if ($row['organism'])
echo data_triple( $target, $ONTO . "organism", $row['organism'] );
if ($row['description'])
Expand Down

0 comments on commit 9cc57a9

Please sign in to comment.