query-596a034e8b52aa352bbf0cbef926d649
qualifiers used with significant event (P793) 16:10, 20 March 2018 (UTC)) talk (Jarekt property. I was working on the query below, but could not get it to work. can anybody help? --(P793)significant event I would like to learn what kind of qualifiers are used and how often with different events listed in
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?prop ?propLabel (count(*) as ?count)
WHERE
{
?item p:P793 ?statement .
?statement ?pq ?value .
?statement ps:P793 wd:Q22340494 .
?prop wikibase:qualifier ?pq .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" } .
}
group by ?prop ?propLabel
order by desc(?count)
LIMIT 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v7("?count")
v2("?item")
v4("?pq")
v6("?prop"):::projected
v3("?statement")
v5("?value")
c3(["wd:Q22340494"]):::iri
c6(["bd:serviceParam"]):::iri
c8(["en"]):::literal
v2 --"p:P793"--> v3
v3 -->v4--> v5
v3 --"p:statement/P793"--> c3
v6 --"wikibase:qualifier"--> v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end
bind1[/"count(*)"/]
bind1 --as--o v7