query-eaba98e1b248a58067a1e2541d1a1900
Representing various account qualities qualifier to limit the allowed values. You can see from (P1552)has characteristic : I believe you folks are interested in this data. Following on from the bot permission discussion (now running and adding numeric IDs), I've also added a new constraint for the Tacsipacsi, Andrew Gray, Jura1@
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?qualifiervalue ?qualifiervalueLabel (COUNT(?item) as ?ct)
{
?item p:P2002 [ pq:P1552 ?qualifiervalue ]
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
GROUP BY ?qualifiervalue ?qualifiervalueLabel
ORDER BY DESC(?ct)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?ct")
v3("?item"):::projected
v2("?qualifiervalue"):::projected
a1((" "))
c4(["bd:serviceParam"]):::iri
c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal
a1 --"p:qualifier/P1552"--> v2
v3 --"p:P2002"--> a1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end
bind1[/"count(?item)"/]
v3 --o bind1
bind1 --as--o v4