geocode/tests/fixtures/sample_32.json

31 lines
No EOL
1.1 KiB
JSON

{
"lat": 55.7644,
"lon": -4.177,
"name": "East Kilbride",
"wdqs": {
"SELECT ?item ?itemLabel ?commonsSiteLink ?commonsCat WHERE {\n ?item wdt:P528 \"277\" .\n ?item wdt:P31 wd:Q5124673 .\n OPTIONAL { ?commonsSiteLink schema:about ?item ;\n schema:isPartOf <https://commons.wikimedia.org/> }\n OPTIONAL { ?item wdt:P373 ?commonsCat }\n SERVICE wikibase:label { bd:serviceParam wikibase:language \"[AUTO_LANGUAGE],en\". }\n}": [
{
"item": {
"type": "uri",
"value": "http://www.wikidata.org/entity/Q68826060"
},
"commonsSiteLink": {
"type": "uri",
"value": "https://commons.wikimedia.org/wiki/Category:East_Kilbride_(civil_parish)"
},
"commonsCat": {
"type": "literal",
"value": "East Kilbride (civil parish)"
},
"itemLabel": {
"xml:lang": "en",
"type": "literal",
"value": "East Kilbride"
}
}
]
},
"api": {},
"expected_wikidata": "Q68826060",
"expected_commons_cat": "East Kilbride (civil parish)"
}