query-7bbcb7a3c321e3ba8d5a43d9647130e8
select any economist that has a label like the string SELECT $item ?label WHERE { ?item wdt:P31 wd:Q5; wdt:P106 wd:Q188094; rdfs:label ?label . FILTER(LANG(?label) IN ("en")) . FILTER(CONTAINS(?label, "Victor Zarnowitz")) . }
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
# select any economist that has a label like the string
SELECT $item ?label WHERE {
?item wdt:P31 wd:Q5;
wdt:P106 wd:Q188094;
rdfs:label ?label .
FILTER(LANG(?label) IN ("en")) .
FILTER(CONTAINS(?label, "Victor Zarnowitz")) .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?label"):::projected
c4(["wd:Q5"]):::iri
c6(["wd:Q188094"]):::iri
f0[["contains(?label,'Victor Zarnowitz')"]]
f0 --> v1
f1[["?label = 'en'"]]
f1 --> v1
v2 --"wdt:P31"--> c4
v2 --"wdt:P106"--> c6
v2 --"rdfs:label"--> v1