query-c73f5753a09ece37d8b878b37ab03e73
Katzen SELECT ?item ?stritem ?itemLabel WHERE { ?item wdt:P31 wd:Q146. BIND(STRAFTER(STR(?item), 'entity/') AS ?stritem) . 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 wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#Katzen
SELECT ?item ?stritem ?itemLabel
WHERE
{
?item wdt:P31 wd:Q146.
BIND(STRAFTER(STR(?item), 'entity/') AS ?stritem) .
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;
v1("?item"):::projected
v2("?stritem"):::projected
c2(["wd:Q146"]):::iri
c4(["bd:serviceParam"]):::iri
c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"wdt:P31"--> c2
bind0[/"substring-after(str(?item),'entity/')"/]
v1 --o bind0
bind0 --as--o v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end