Last active
September 14, 2015 12:46
-
-
Save kozo2/9427ba01b0542a94114d to your computer and use it in GitHub Desktop.
Get all compound dblink IDs from LinkDB RDF endpoint
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BASE <http://www.genome.jp/linkdb/> | |
SELECT ?fromlabel ?tolabel WHERE { | |
?from <core/database> ?fromdb . | |
?fromdb <core/dblabel> "compound" . | |
?from rdfs:label ?fromlabel . | |
?from <equivalent> ?to . | |
#?to <core/database> ?todb . | |
#?todb <core/dblabel> "3dmet" . | |
?to rdfs:label ?tolabel . | |
} ORDER BY ?fromlabel ?tolabel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment