Created
January 14, 2021 16:38
-
-
Save thadguidry/012e64dada71e374f253663860933953 to your computer and use it in GitHub Desktop.
All subclasses of Drugs including Pharmaceutical Products with an RXNormID
This file contains 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
#Drugs (and all subclasses of Drugs) with an RXNormID | |
SELECT ?item ?itemLabel ?rxNormID | |
WHERE | |
{ | |
?item wdt:P31/wdt:P279* wd:Q8386 . | |
?item wdt:P3345 ?rxNormID . | |
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment