query-7c169ddb56d1c8cdb9d9546a8e130385
Les types d'éléments "archivé par" SELECT ?type ?typeLabel (COUNT(?type) AS ?count) WHERE { ?item wdt:P485 ?institution;#l'institution en question wdt:P31 ?type. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } GROUP BY ?type ?typeLabel ORDER BY DESC (?count)
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#Les types d'éléments "archivé par"
SELECT ?type ?typeLabel (COUNT(?type) AS ?count)
WHERE
{
?item wdt:P485 ?institution;#l'institution en question
wdt:P31 ?type.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
GROUP BY ?type ?typeLabel
ORDER BY DESC (?count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?count")
v3("?institution")
v2("?item")
v4("?type"):::projected
c4(["bd:serviceParam"]):::iri
c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v2 --"wdt:P485"--> v3
v2 --"wdt:P31"--> v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end
bind1[/"count(?type)"/]
v4 --o bind1
bind1 --as--o v5