Skip to content

Commit

Permalink
Added PubMed ID as literal (implements #11)
Browse files Browse the repository at this point in the history
  • Loading branch information
egonw committed Jan 19, 2012
1 parent 6e4f4a4 commit 3cd3e64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs.php
Expand Up @@ -36,7 +36,8 @@
echo triple( $resource, $OWL . "sameAs", "http://dx.doi.org/" . $row['doi'] );
}
if ($row['pubmed_id']) {
echo triple( $resource, $BIBO . "pmid", "http://bio2rdf.org/pubmed:" . $row['pubmed_id'] );
echo data_triple( $resource, $BIBO . "pmid", $row['pubmed_id'] );
echo triple( $resource, $RDFS . "seeAlso", "http://bio2rdf.org/pubmed:" . $row['pubmed_id'] );
}
echo data_triple( $resource, $DC . "date", $row['year'] );
echo data_triple( $resource, $BIBO . "volume", $row['volume'] );
Expand Down

0 comments on commit 3cd3e64

Please sign in to comment.