query-cd5df464cf8ad19d3e8cd8499adeb7a8
number of KOS types SELECT (COUNT(distinct ?kos) AS ?count) { ?kos 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 types
SELECT (COUNT(distinct ?kos) AS ?count) {
?kos 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
c2(["wd:Q6423319"]):::iri
v1 --"wdt:P279"--> c2
bind1[/"count(?kos)"/]
v1 --o bind1
bind1 --as--o v2