query-ce90901c0e358d5729bb5dd7061c8a35
NARA P1225 repartition of the séries by part of elements SELECT ?partie ?partieLabel (COUNT(?item) as ?total) WHERE { ?item wdt:P1225 ?ID_NARA; wdt:P31 wd:Q2668072; wdt:P6224 wd:Q3511132; wdt:P361 ?partie. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } GROUP BY ?partie ?partieLabel ORDER BY DESC(?total)
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#>
#NARA P1225 repartition of the séries by part of elements
SELECT ?partie ?partieLabel (COUNT(?item) as ?total)
WHERE
{
?item wdt:P1225 ?ID_NARA;
wdt:P31 wd:Q2668072;
wdt:P6224 wd:Q3511132;
wdt:P361 ?partie.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
GROUP BY ?partie ?partieLabel
ORDER BY DESC(?total)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?ID_NARA")
v2("?item"):::projected
v4("?partie"):::projected
v5("?total")
c8(["bd:serviceParam"]):::iri
c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c3(["wd:Q2668072"]):::iri
c5(["wd:Q3511132"]):::iri
v2 --"wdt:P1225"--> v3
v2 --"wdt:P31"--> c3
v2 --"wdt:P6224"--> c5
v2 --"wdt:P361"--> v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end
bind1[/"count(?item)"/]
v2 --o bind1
bind1 --as--o v5