Skip to content

Commit

Permalink
Link out to ChemSpider RDF
Browse files Browse the repository at this point in the history
  • Loading branch information
egonw committed May 10, 2014
1 parent 8eeb96a commit 9bc8444
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rdf_module_chemspider.php
Expand Up @@ -55,6 +55,7 @@ function startsWith($haystack,$needle,$case=true) {
while ($row = mysql_fetch_assoc($results)) {
$molid = $row['csid'];
print "<foaf:homepage rdf:resource=\"http://www.chemspider.com/Chemical-Structure.$molid.html\"/>\n";
print "<owl:sameAs rdf:resource=\"http://www.chemspider.com/Chemical-Structure.$molid.rdf#Compound\"/>\n";
}
}

Expand Down

0 comments on commit 9bc8444

Please sign in to comment.