query-167c856a12561de15b7bb4d0898fd8c3
A qualifier's usage counts. (P580)start time Qualifier
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?wdP ?wdPLabel ?count WHERE {
{
SELECT ?prop (COUNT(?prop) AS ?count) WHERE {
?s ?prop ?propstatement .
?propstatement pq:P580 ?proptime .
}
GROUP BY ?prop
}
?wdP wikibase:claim ?prop .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
ORDER BY DESC(?count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v6("?count"):::projected
v3("?prop")
v4("?propstatement")
v5("?proptime")
v2("?s")
v6("?wdP"):::projected
c4(["bd:serviceParam"]):::iri
c6(["en"]):::literal
v2 -->v3--> v4
v4 --"pq:P580"--> v5
bind1[/"count(?prop)"/]
v3 --o bind1
bind1 --as--o v6
v6 --"wikibase:claim"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end