query-0febdb8b273996508ff32f0f253a8237
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wdsubgraph: <https://query.wikidata.org/subgraph/>
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 ?thesisType ?thesisTypeLabel (COUNT(?thesisType) AS ?count) WHERE {
?thesis wdt:P4101 wd:Q1048626;
wdt:P31 ?thesisType.
SERVICE wdsubgraph:wikidata_main { ?thesisType rdfs:label ?thesisTypeLabel .
FILTER (LANG(?thesisTypeLabel) = 'en')
}
}
GROUP BY ?thesisType ?thesisTypeLabel ORDER BY DESC (?count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?count")
v2("?thesis")
v3("?thesisType"):::projected
v4("?thesisTypeLabel"):::projected
c2(["wd:Q1048626"]):::iri
v2 --"wdt:P4101"--> c2
v2 --"wdt:P31"--> v3
subgraph s1["https://query.wikidata.org/subgraph/wikidata_main"]
style s1 stroke-width:4px;
f0[["?thesisTypeLabel = 'en'"]]
f0 --> v4
v3 --"rdfs:label"--> v4
end
bind2[/"count(?thesisType)"/]
v3 --o bind2
bind2 --as--o v5