query-2eba7e70af2a6b83f622699f53a0fe2e
Properties a qualifier is most commonly applied to.outdatedThis page is (P642)of e.g. for
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 ?property ?propertyLabel (COUNT(DISTINCT ?statement) AS ?count) WHERE {
?statement pq:P642 ?qualifier_value .
?statement ?ps ?value .
?property wikibase:statementProperty ?ps .
SERVICE wikibase:label {
bd:serviceParam wikibase:language "en" .
}
} GROUP BY ?property ?propertyLabel
ORDER BY DESC(?count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v7("?count")
v6("?property"):::projected
v4("?ps")
v3("?qualifier_value")
v2("?statement"):::projected
v5("?value")
c4(["bd:serviceParam"]):::iri
c6(["en"]):::literal
v2 --"pq:P642"--> v3
v2 -->v4--> v5
v6 --"wikibase:statementProperty"--> v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end
bind1[/"count(?statement)"/]
v2 --o bind1
bind1 --as--o v7