query-d604ee2c8f76a2f72d9da3a4aec1015b
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT (REPLACE(STR(?item), 'http://www.wikidata.org/entity/', '') AS ?qid) WHERE {
VALUES ?val {wd:Q33093130}
?item wdt:P31 ?val
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v3("?qid")
v1("?val")
bind0[/VALUES ?val/]
bind0-->v1
bind00(["wd:Q33093130"])
bind00 --> bind0
v2 --"wdt:P31"--> v1
bind1[/"replace(str(?item),'http://www.wikidata.org/entity/','')"/]
v2 --o bind1
bind1 --as--o v3