query-ccaafa69eb56b1da3c1368d356c6f91e

rq turtle/ttl

PropertiesRxNorm ID (P3345)

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?item ?itemLabel ?itemAltLabel WHERE {
  VALUES ?item { wd:Q410237 wd:Q422761 }
  ?item wdt:P3345 ?rx .
  ?item rdfs:label ?itemLabel .
  ?item skos:altLabel ?itemAltLabel .
}
LIMIT 1000

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?item"):::projected v4("?itemAltLabel"):::projected v3("?itemLabel"):::projected v2("?rx") bind0[/VALUES ?item/] bind0-->v1 bind00(["wd:Q410237"]) bind00 --> bind0 bind01(["wd:Q422761"]) bind01 --> bind0 v1 --"wdt:P3345"--> v2 v1 --"rdfs:label"--> v3 v1 --"skos:altLabel"--> v4