Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added links to Uniprot
  • Loading branch information
egonw committed Apr 11, 2012
1 parent 759bbd9 commit 591ba0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions namespaces.php
Expand Up @@ -18,6 +18,7 @@
$CHEMINF = "http://semanticscience.org/resource/";
$CHEBI = "http://purl.org/obo/owl/CHEBI#";
$PRO = "http://purl.obolibrary.org/obo/";
$UNIPROT = "http://www.uniprot.org/uniprot/";

This comment has been minimized.

Copy link
@ansell

ansell Apr 11, 2012

Contributor

Links to uniprot should go through their PURL server:

http://purl.uniprot.org/uniprot/

This comment has been minimized.

Copy link
@egonw

egonw Apr 11, 2012

Author Owner

OK! BTW, this is not for the paper, but for Open PHACTS.

This comment has been minimized.

Copy link
@ansell

ansell Apr 11, 2012

Contributor

That explains the branch name.


$ONTO = "http://rdf.farmbio.uu.se/chembl/onto/#";
$ACT = $rooturi . "activity/";
Expand Down
1 change: 1 addition & 0 deletions targets.php
Expand Up @@ -56,6 +56,7 @@
if ($row['protein_accession']) {
echo data_triple( $target, $DC . "identifier", "uniprot:" . $row['protein_accession'] );
echo triple( $target, $OWL . "sameAs", "http://bio2rdf.org/uniprot:" . $row['protein_accession'] );
echo triple( $target, $OWL . "sameAs", $UNIPROT . $row['protein_accession'] );
}
if ($row['tax_id'])
echo triple( $target, $ONTO . "hasTaxonomy", "http://bio2rdf.org/taxonomy:" . $row['tax_id'] );
Expand Down

0 comments on commit 591ba0e

Please sign in to comment.