query-75c19a4fb34452e42b3d990045d15033
Mesh code P672 starting with a given prefix SELECT DISTINCT ?item ?itemLabel WHERE {?item wdt:P672 ?string. FILTER(strstarts(?string, 'G07'))
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#Mesh code P672 starting with a given prefix
SELECT DISTINCT ?item ?itemLabel
WHERE {?item wdt:P672 ?string.
FILTER(strstarts(?string, 'G07'))
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?string")
c4(["bd:serviceParam"]):::iri
c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["starts-with(?string,'G07')"]]
f0 --> v1
v2 --"wdt:P672"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end