query-b6b3fc75ac7f158d364c1e138eee09fc
Nonsense elevation values:) can illustrate how much our data on the height of hills is only for entertainment purposes. Tagishsimon? The way these values were generated has both the inaccuracy of the altitude model, but much more severe the inaccuracies of the coordinates, thus that algorithm only give credible results for relatively flat landscapes, quite the opposite of hills. In the past months, whenever I came across such an item, I added the missing reference, set the status to deprecated and if had time even looked for the correct value. So now the following query (Kudos to @(Q837615)Cebuano Wikipedia values especially for hills and mountains imported from the (P2044)elevation above sea level was ignored for half year already - will we ever do anything about the bogus bot requestAs my
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX psn: <http://www.wikidata.org/prop/statement/value-normalized/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?normal ?deprecated ?diff ?unitLabel WHERE {
?item p:P2044 ?statement.
?statement psn:P2044 ?statement_psn .
?statement_psn wikibase:quantityAmount ?normal .
?statement_psn wikibase:quantityUnit ?unit .
?statement wikibase:rank wikibase:NormalRank .
{?statement prov:wasDerivedFrom ?statement0 .
?statement0 pr:P143 ?normal_ref .
filter (?normal_ref!=wd:Q837615) }
UNION
{ filter not exists { ?statement prov:wasDerivedFrom ?statement0 . } }
?item p:P2044 ?statement1 .
?statement1 psn:P2044 ?statement1_psn .
?statement1_psn wikibase:quantityAmount ?deprecated .
?statement1 wikibase:rank wikibase:DeprecatedRank .
?statement1 prov:wasDerivedFrom ?statement2 .
?statement2 pr:P143 wd:Q837615 .
bind(?normal - ?deprecated as ?diff)
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }