Add fixture snapshots for all 40 sample locations

This commit is contained in:
Edward Betts 2026-04-19 14:07:54 +01:00
parent 7790d10f08
commit b430411b7e
40 changed files with 117860 additions and 0 deletions

27
tests/fixtures/sample_08.json vendored Normal file
View file

@ -0,0 +1,27 @@
{
"lat": 53.351,
"lon": -2.701,
"name": "Halton",
"wdqs": {
"SELECT DISTINCT ?item ?itemLabel ?commonsSiteLink ?commonsCat WHERE {\n { ?item rdfs:label 'Runcorn'@en } UNION { ?item skos:altLabel 'Runcorn'@en }\n FILTER NOT EXISTS { ?item wdt:P31 wd:Q17362920 } .# ignore Wikimedia duplicated page\n OPTIONAL { ?commonsSiteLink schema:about ?item ;\n schema:isPartOf <https://commons.wikimedia.org/> }\n OPTIONAL { ?item wdt:P373 ?commonsCat }\n ?item wdt:P625 ?coords .\n\n FILTER(geof:distance(?coords, \"Point(-2.701 53.351)\"^^geo:wktLiteral) < 10)\n FILTER(?commonsCat || ?commonsSiteLink)\n\n SERVICE wikibase:label { bd:serviceParam wikibase:language \"[AUTO_LANGUAGE],en\". }\n}\n": [
{
"item": {
"type": "uri",
"value": "http://www.wikidata.org/entity/Q1009316"
},
"commonsCat": {
"type": "literal",
"value": "Runcorn"
},
"itemLabel": {
"xml:lang": "en",
"type": "literal",
"value": "Runcorn"
}
}
]
},
"api": {},
"expected_wikidata": "Q1009316",
"expected_commons_cat": "Runcorn"
}