query-760a42c93a6aa0f815b771b7021c172b
number of KOS instances SELECT (COUNT(distinct ?kos) AS ?count) { ?kos wdt:P31/wdt:P279* wd:Q6423319 }
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
# number of KOS instances
SELECT (COUNT(distinct ?kos) AS ?count) {
?kos wdt:P31/wdt:P279* wd:Q6423319
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?count")
v1("?kos"):::projected
a1((" "))
c3(["wd:Q6423319"]):::iri
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
bind1[/"count(?kos)"/]
v1 --o bind1
bind1 --as--o v2