query-c9b46ee3440d5e310a16b85439343de7
NARA P1225
SELECT ?niveau ?niveauLabel (COUNT(?item) AS ?total)
WHERE
{
?item wdt:P1225 ?ID_NARA;
wdt:P31 wd:Q2668072;
wdt:P6224 ?niveau.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
GROUP BY ?niveau ?niveauLabel
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
SELECT ?niveau ?niveauLabel (COUNT(?item) AS ?total)
WHERE
{
?item wdt:P1225 ?ID_NARA;
wdt:P31 wd:Q2668072;
wdt:P6224 ?niveau.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
GROUP BY ?niveau ?niveauLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?ID_NARA")
v1("?item"):::projected
v3("?niveau"):::projected
v4("?total")
c6(["bd:serviceParam"]):::iri
c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c3(["wd:Q2668072"]):::iri
v1 --"wdt:P1225"--> v2
v1 --"wdt:P31"--> c3
v1 --"wdt:P6224"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end
bind1[/"count(?item)"/]
v1 --o bind1
bind1 --as--o v4