query-b15dbf2ec98b0a9a54749ba619cf746b
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX prv: <http://www.wikidata.org/prop/reference/value/>
PREFIX pqv: <http://www.wikidata.org/prop/qualifier/value/>
SELECT ?time (COUNT(?time) AS ?count)
WHERE
{
[] psv:P585 | pqv:P585 | prv:P585 ?fullvalue.
?fullvalue wikibase:timePrecision 11 . # Precision is date
?fullvalue wikibase:timeValue ?time.
}
GROUP BY ?time
ORDER BY DESC(?count)
LIMIT 1
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?count")
v2("?fullvalue")
v3("?time"):::projected
a1((" "))
c5(["11^^xsd:integer"]):::literal
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
subgraph union1[" Union "]
subgraph union1l[" "]
style union1l fill:#abf,stroke-dasharray: 3 3;
a1 --"prv:P585"--> v2
end
subgraph union1r[" "]
style union1r fill:#abf,stroke-dasharray: 3 3;
a1 --"pqv:P585"--> v2
end
union1r <== or ==> union1l
end
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
a1 --"psv:P585"--> v2
end
union0r <== or ==> union0l
end
v2 --"wikibase:timePrecision"--> c5
v2 --"wikibase:timeValue"--> v3
bind1[/"count(?time)"/]
v3 --o bind1
bind1 --as--o v4