Add fixture snapshots for all 40 sample locations
This commit is contained in:
parent
7790d10f08
commit
b430411b7e
40 changed files with 117860 additions and 0 deletions
682
tests/fixtures/sample_24.json
vendored
Normal file
682
tests/fixtures/sample_24.json
vendored
Normal file
|
|
@ -0,0 +1,682 @@
|
|||
{
|
||||
"lat": 53.392,
|
||||
"lon": -0.022,
|
||||
"name": "Brackenborough with Little Grimsby",
|
||||
"wdqs": {},
|
||||
"api": {
|
||||
"{\"action\": \"wbgetentities\", \"ids\": \"Q4953658\"}": {
|
||||
"entities": {
|
||||
"Q4953658": {
|
||||
"pageid": 4734351,
|
||||
"ns": 0,
|
||||
"title": "Q4953658",
|
||||
"lastrevid": 2445683664,
|
||||
"modified": "2025-12-22T21:20:25Z",
|
||||
"type": "item",
|
||||
"id": "Q4953658",
|
||||
"labels": {
|
||||
"en": {
|
||||
"language": "en",
|
||||
"value": "Brackenborough with Little Grimsby"
|
||||
},
|
||||
"sv": {
|
||||
"language": "sv",
|
||||
"value": "Brackenborough with Little Grimsby"
|
||||
},
|
||||
"ceb": {
|
||||
"language": "ceb",
|
||||
"value": "Brackenborough with Little Grimsby"
|
||||
},
|
||||
"tr": {
|
||||
"language": "tr",
|
||||
"value": "Brackenborough with Little Grimsby"
|
||||
},
|
||||
"ga": {
|
||||
"language": "ga",
|
||||
"value": "Brackenborough le Little Grimsby"
|
||||
},
|
||||
"fr": {
|
||||
"language": "fr",
|
||||
"value": "Brackenborough with Little Grimsby"
|
||||
},
|
||||
"mul": {
|
||||
"language": "mul",
|
||||
"value": "Brackenborough with Little Grimsby"
|
||||
}
|
||||
},
|
||||
"descriptions": {
|
||||
"de": {
|
||||
"language": "de",
|
||||
"value": "Gemeinde in der englischen Grafschaft Lincolnshire"
|
||||
},
|
||||
"fr": {
|
||||
"language": "fr",
|
||||
"value": "localité britannique du comté anglais de Lincolnshire"
|
||||
},
|
||||
"en": {
|
||||
"language": "en",
|
||||
"value": "civil parish in Lincolnshire, UK"
|
||||
},
|
||||
"ar": {
|
||||
"language": "ar",
|
||||
"value": "أبرشية مدنية في المملكة المتحدة"
|
||||
}
|
||||
},
|
||||
"aliases": {
|
||||
"en": [
|
||||
{
|
||||
"language": "en",
|
||||
"value": "Brackenborough with Little Grimsby (civil parish), Lincolnshire"
|
||||
},
|
||||
{
|
||||
"language": "en",
|
||||
"value": "Brackenborough with Little Grimsby, Lincolnshire"
|
||||
}
|
||||
]
|
||||
},
|
||||
"claims": {
|
||||
"P625": [
|
||||
{
|
||||
"mainsnak": {
|
||||
"snaktype": "value",
|
||||
"property": "P625",
|
||||
"hash": "d56de4b68b43b43fe97aee6a61dccc5000554e9e",
|
||||
"datavalue": {
|
||||
"value": {
|
||||
"latitude": 53.4,
|
||||
"longitude": 0,
|
||||
"altitude": null,
|
||||
"precision": 0.1,
|
||||
"globe": "http://www.wikidata.org/entity/Q2"
|
||||
},
|
||||
"type": "globecoordinate"
|
||||
},
|
||||
"datatype": "globe-coordinate"
|
||||
},
|
||||
"type": "statement",
|
||||
"id": "Q4953658$9718EB71-20AB-4466-9282-340CC6984F56",
|
||||
"rank": "normal",
|
||||
"references": [
|
||||
{
|
||||
"hash": "fa278ebfc458360e5aed63d5058cca83c46134f1",
|
||||
"snaks": {
|
||||
"P143": [
|
||||
{
|
||||
"snaktype": "value",
|
||||
"property": "P143",
|
||||
"hash": "e4f6d9441d0600513c4533c672b5ab472dc73694",
|
||||
"datavalue": {
|
||||
"value": {
|
||||
"entity-type": "item",
|
||||
"numeric-id": 328,
|
||||
"id": "Q328"
|
||||
},
|
||||
"type": "wikibase-entityid"
|
||||
},
|
||||
"datatype": "wikibase-item"
|
||||
}
|
||||
]
|
||||
},
|
||||
"snaks-order": [
|
||||
"P143"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"P17": [
|
||||
{
|
||||
"mainsnak": {
|
||||
"snaktype": "value",
|
||||
"property": "P17",
|
||||
"hash": "a44880420787fb348836dc51d3babc5227c4ef7e",
|
||||
"datavalue": {
|
||||
"value": {
|
||||
"entity-type": "item",
|
||||
"numeric-id": 145,
|
||||
"id": "Q145"
|
||||
},
|
||||
"type": "wikibase-entityid"
|
||||
},
|
||||
"datatype": "wikibase-item"
|
||||
},
|
||||
"type": "statement",
|
||||
"id": "Q4953658$A761C40C-581F-4A8C-BB10-7B167EC4C5EC",
|
||||
"rank": "normal",
|
||||
"references": [
|
||||
{
|
||||
"hash": "fa278ebfc458360e5aed63d5058cca83c46134f1",
|
||||
"snaks": {
|
||||
"P143": [
|
||||
{
|
||||
"snaktype": "value",
|
||||
"property": "P143",
|
||||
"hash": "e4f6d9441d0600513c4533c672b5ab472dc73694",
|
||||
"datavalue": {
|
||||
"value": {
|
||||
"entity-type": "item",
|
||||
"numeric-id": 328,
|
||||
"id": "Q328"
|
||||
},
|
||||
"type": "wikibase-entityid"
|
||||
},
|
||||
"datatype": "wikibase-item"
|
||||
}
|
||||
]
|
||||
},
|
||||
"snaks-order": [
|
||||
"P143"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"P31": [
|
||||
{
|
||||
"mainsnak": {
|
||||
"snaktype": "value",
|
||||
"property": "P31",
|
||||
"hash": "b55cf11b6c802451b5ce3c81756cd063d3c7b7fb",
|
||||
"datavalue": {
|
||||
"value": {
|
||||
"entity-type": "item",
|
||||
"numeric-id": 1115575,
|
||||
"id": "Q1115575"
|
||||
},
|
||||
"type": "wikibase-entityid"
|
||||
},
|
||||
"datatype": "wikibase-item"
|
||||
},
|
||||
"type": "statement",
|
||||
"id": "Q4953658$4FB2A362-5DD1-4C3B-B11B-2FFBBAB2C784",
|
||||
"rank": "normal"
|
||||
}
|
||||
],
|
||||
"P1566": [
|
||||
{
|
||||
"mainsnak": {
|
||||
"snaktype": "value",
|
||||
"property": "P1566",
|
||||
"hash": "46d8fff6acdd96c5878adadb277c78cdf5a2b26d",
|
||||
"datavalue": {
|
||||
"value": "7301566",
|
||||
"type": "string"
|
||||
},
|
||||
"datatype": "external-id"
|
||||
},
|
||||
"type": "statement",
|
||||
"id": "Q4953658$8CA40F0B-2DFB-4425-9476-AC43081E77AA",
|
||||
"rank": "normal",
|
||||
"references": [
|
||||
{
|
||||
"hash": "88694a0f4d1486770c269f7db16a1982f74da69d",
|
||||
"snaks": {
|
||||
"P248": [
|
||||
{
|
||||
"snaktype": "value",
|
||||
"property": "P248",
|
||||
"hash": "1b3ef912a2bd61e18dd43abd184337eb010b2e96",
|
||||
"datavalue": {
|
||||
"value": {
|
||||
"entity-type": "item",
|
||||
"numeric-id": 830106,
|
||||
"id": "Q830106"
|
||||
},
|
||||
"type": "wikibase-entityid"
|
||||
},
|
||||
"datatype": "wikibase-item"
|
||||
}
|
||||
]
|
||||
},
|
||||
"snaks-order": [
|
||||
"P248"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"P373": [
|
||||
{
|
||||
"mainsnak": {
|
||||
"snaktype": "value",
|
||||
"property": "P373",
|
||||
"hash": "c7bffdf55152b4948146dd62dce67865247d4ce9",
|
||||
"datavalue": {
|
||||
"value": "Brackenborough with Little Grimsby",
|
||||
"type": "string"
|
||||
},
|
||||
"datatype": "string"
|
||||
},
|
||||
"type": "statement",
|
||||
"id": "Q4953658$112752D4-ECDA-4269-A9B7-4B601A7E574B",
|
||||
"rank": "normal"
|
||||
}
|
||||
],
|
||||
"P836": [
|
||||
{
|
||||
"mainsnak": {
|
||||
"snaktype": "value",
|
||||
"property": "P836",
|
||||
"hash": "4766718e26a4faf7dcde33195620c24100a0140f",
|
||||
"datavalue": {
|
||||
"value": "E04005605",
|
||||
"type": "string"
|
||||
},
|
||||
"datatype": "external-id"
|
||||
},
|
||||
"type": "statement",
|
||||
"id": "Q4953658$896CDCC6-E620-41D9-8B04-173F1B50D707",
|
||||
"rank": "normal",
|
||||
"references": [
|
||||
{
|
||||
"hash": "4881a6edaba7b0f179d612969aefc94ed4768626",
|
||||
"snaks": {
|
||||
"P813": [
|
||||
{
|
||||
"snaktype": "value",
|
||||
"property": "P813",
|
||||
"hash": "310c4d7f7d53b6a5c57ec198e61d481cbfccb045",
|
||||
"datavalue": {
|
||||
"value": {
|
||||
"time": "+2017-03-14T00:00:00Z",
|
||||
"timezone": 0,
|
||||
"before": 0,
|
||||
"after": 0,
|
||||
"precision": 11,
|
||||
"calendarmodel": "http://www.wikidata.org/entity/Q1985727"
|
||||
},
|
||||
"type": "time"
|
||||
},
|
||||
"datatype": "time"
|
||||
}
|
||||
]
|
||||
},
|
||||
"snaks-order": [
|
||||
"P813"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"P131": [
|
||||
{
|
||||
"mainsnak": {
|
||||
"snaktype": "value",
|
||||
"property": "P131",
|
||||
"hash": "a45427cde8301216e2ab3586ad98b4df63c800f2",
|
||||
"datavalue": {
|
||||
"value": {
|
||||
"entity-type": "item",
|
||||
"numeric-id": 82181,
|
||||
"id": "Q82181"
|
||||
},
|
||||
"type": "wikibase-entityid"
|
||||
},
|
||||
"datatype": "wikibase-item"
|
||||
},
|
||||
"type": "statement",
|
||||
"id": "Q4953658$D9512857-C801-44BE-AEA6-8787D89F0277",
|
||||
"rank": "normal",
|
||||
"references": [
|
||||
{
|
||||
"hash": "a0dde1d73f9a85c67c4a2cbeddbcecf7198f07f9",
|
||||
"snaks": {
|
||||
"P143": [
|
||||
{
|
||||
"snaktype": "value",
|
||||
"property": "P143",
|
||||
"hash": "141583182d86fb45cf7098a86a993bc44e404092",
|
||||
"datavalue": {
|
||||
"value": {
|
||||
"entity-type": "item",
|
||||
"numeric-id": 2242955,
|
||||
"id": "Q2242955"
|
||||
},
|
||||
"type": "wikibase-entityid"
|
||||
},
|
||||
"datatype": "wikibase-item"
|
||||
}
|
||||
]
|
||||
},
|
||||
"snaks-order": [
|
||||
"P143"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"P3120": [
|
||||
{
|
||||
"mainsnak": {
|
||||
"snaktype": "value",
|
||||
"property": "P3120",
|
||||
"hash": "3ef13dfc0e9c62c2218248c5945be0496061bf08",
|
||||
"datavalue": {
|
||||
"value": "7000000000005371",
|
||||
"type": "string"
|
||||
},
|
||||
"datatype": "external-id"
|
||||
},
|
||||
"type": "statement",
|
||||
"qualifiers": {
|
||||
"P2868": [
|
||||
{
|
||||
"snaktype": "value",
|
||||
"property": "P2868",
|
||||
"hash": "a92e88154c4cc68adfb7a6c25dcb0dcbe2904dea",
|
||||
"datavalue": {
|
||||
"value": {
|
||||
"entity-type": "item",
|
||||
"numeric-id": 1115575,
|
||||
"id": "Q1115575"
|
||||
},
|
||||
"type": "wikibase-entityid"
|
||||
},
|
||||
"datatype": "wikibase-item"
|
||||
}
|
||||
]
|
||||
},
|
||||
"qualifiers-order": [
|
||||
"P2868"
|
||||
],
|
||||
"id": "Q4953658$CE73E131-69FB-4EDA-A5B2-DDECDD7ABBEE",
|
||||
"rank": "normal"
|
||||
}
|
||||
],
|
||||
"P402": [
|
||||
{
|
||||
"mainsnak": {
|
||||
"snaktype": "value",
|
||||
"property": "P402",
|
||||
"hash": "8be7d707321f55f9b15e9817305bd7b2c244c996",
|
||||
"datavalue": {
|
||||
"value": "1318169",
|
||||
"type": "string"
|
||||
},
|
||||
"datatype": "external-id"
|
||||
},
|
||||
"type": "statement",
|
||||
"id": "Q4953658$8c291528-a8b5-4ea2-a530-ab5eed62a2f5",
|
||||
"rank": "normal"
|
||||
}
|
||||
],
|
||||
"P646": [
|
||||
{
|
||||
"mainsnak": {
|
||||
"snaktype": "value",
|
||||
"property": "P646",
|
||||
"hash": "e5c4757c4fc5cc3cd91be680cac5bf11b6c5a9c9",
|
||||
"datavalue": {
|
||||
"value": "/m/095lbx",
|
||||
"type": "string"
|
||||
},
|
||||
"datatype": "external-id"
|
||||
},
|
||||
"type": "statement",
|
||||
"id": "Q4953658$CAE845CD-2739-4F5B-A1C8-07BF19CA476E",
|
||||
"rank": "normal"
|
||||
}
|
||||
],
|
||||
"P1082": [
|
||||
{
|
||||
"mainsnak": {
|
||||
"snaktype": "value",
|
||||
"property": "P1082",
|
||||
"hash": "82b127e7d94aea3e97df48c239ba95a8636a7f15",
|
||||
"datavalue": {
|
||||
"value": {
|
||||
"amount": "+83",
|
||||
"unit": "1"
|
||||
},
|
||||
"type": "quantity"
|
||||
},
|
||||
"datatype": "quantity"
|
||||
},
|
||||
"type": "statement",
|
||||
"qualifiers": {
|
||||
"P1539": [
|
||||
{
|
||||
"snaktype": "value",
|
||||
"property": "P1539",
|
||||
"hash": "d7a33aa3284a7d6d72a972b23ee46451239a975e",
|
||||
"datavalue": {
|
||||
"value": {
|
||||
"amount": "+38",
|
||||
"unit": "1"
|
||||
},
|
||||
"type": "quantity"
|
||||
},
|
||||
"datatype": "quantity"
|
||||
}
|
||||
],
|
||||
"P1540": [
|
||||
{
|
||||
"snaktype": "value",
|
||||
"property": "P1540",
|
||||
"hash": "bca52a91b62b1e768f81afdba8b515b8125aad85",
|
||||
"datavalue": {
|
||||
"value": {
|
||||
"amount": "+45",
|
||||
"unit": "1"
|
||||
},
|
||||
"type": "quantity"
|
||||
},
|
||||
"datatype": "quantity"
|
||||
}
|
||||
],
|
||||
"P1538": [
|
||||
{
|
||||
"snaktype": "value",
|
||||
"property": "P1538",
|
||||
"hash": "9210a01fc4dfd89134e386c82fddf587299ad72d",
|
||||
"datavalue": {
|
||||
"value": {
|
||||
"amount": "+35",
|
||||
"unit": "1"
|
||||
},
|
||||
"type": "quantity"
|
||||
},
|
||||
"datatype": "quantity"
|
||||
}
|
||||
],
|
||||
"P459": [
|
||||
{
|
||||
"snaktype": "value",
|
||||
"property": "P459",
|
||||
"hash": "f34609d440cf44ebaa8a3e704c9369413240618c",
|
||||
"datavalue": {
|
||||
"value": {
|
||||
"entity-type": "item",
|
||||
"numeric-id": 39825,
|
||||
"id": "Q39825"
|
||||
},
|
||||
"type": "wikibase-entityid"
|
||||
},
|
||||
"datatype": "wikibase-item"
|
||||
}
|
||||
],
|
||||
"P585": [
|
||||
{
|
||||
"snaktype": "value",
|
||||
"property": "P585",
|
||||
"hash": "4a6fe7f861358928efef462e361b21704446d129",
|
||||
"datavalue": {
|
||||
"value": {
|
||||
"time": "+2021-00-00T00:00:00Z",
|
||||
"timezone": 0,
|
||||
"before": 0,
|
||||
"after": 0,
|
||||
"precision": 9,
|
||||
"calendarmodel": "http://www.wikidata.org/entity/Q1985727"
|
||||
},
|
||||
"type": "time"
|
||||
},
|
||||
"datatype": "time"
|
||||
}
|
||||
]
|
||||
},
|
||||
"qualifiers-order": [
|
||||
"P1539",
|
||||
"P1540",
|
||||
"P1538",
|
||||
"P459",
|
||||
"P585"
|
||||
],
|
||||
"id": "Q4953658$DBF8ABC1-17EA-40A2-B292-A47CCA907133",
|
||||
"rank": "normal",
|
||||
"references": [
|
||||
{
|
||||
"hash": "1777794f031f3bb865bc1ba87bbd53bc9876131c",
|
||||
"snaks": {
|
||||
"P854": [
|
||||
{
|
||||
"snaktype": "value",
|
||||
"property": "P854",
|
||||
"hash": "4c66907bd33eaecbde827c8cd51e360e09c96a39",
|
||||
"datavalue": {
|
||||
"value": "https://www.nomisweb.co.uk/sources/census_2021_pp",
|
||||
"type": "string"
|
||||
},
|
||||
"datatype": "url"
|
||||
}
|
||||
],
|
||||
"P1476": [
|
||||
{
|
||||
"snaktype": "value",
|
||||
"property": "P1476",
|
||||
"hash": "aa1dc2edff48c56602cb3ea15bb643db64bca4ca",
|
||||
"datavalue": {
|
||||
"value": {
|
||||
"text": "Parish Profiles",
|
||||
"language": "en-gb"
|
||||
},
|
||||
"type": "monolingualtext"
|
||||
},
|
||||
"datatype": "monolingualtext"
|
||||
}
|
||||
],
|
||||
"P1433": [
|
||||
{
|
||||
"snaktype": "value",
|
||||
"property": "P1433",
|
||||
"hash": "cd20b2aec2e4baf705095049375a6af4c4bd8fb6",
|
||||
"datavalue": {
|
||||
"value": {
|
||||
"entity-type": "item",
|
||||
"numeric-id": 16970190,
|
||||
"id": "Q16970190"
|
||||
},
|
||||
"type": "wikibase-entityid"
|
||||
},
|
||||
"datatype": "wikibase-item"
|
||||
}
|
||||
],
|
||||
"P123": [
|
||||
{
|
||||
"snaktype": "value",
|
||||
"property": "P123",
|
||||
"hash": "dd874c88654df8083801b38f5c0607e1755b0234",
|
||||
"datavalue": {
|
||||
"value": {
|
||||
"entity-type": "item",
|
||||
"numeric-id": 1334971,
|
||||
"id": "Q1334971"
|
||||
},
|
||||
"type": "wikibase-entityid"
|
||||
},
|
||||
"datatype": "wikibase-item"
|
||||
}
|
||||
],
|
||||
"P813": [
|
||||
{
|
||||
"snaktype": "value",
|
||||
"property": "P813",
|
||||
"hash": "997eb33b0d995db84c7ff54ea10dea029e3b9829",
|
||||
"datavalue": {
|
||||
"value": {
|
||||
"time": "+2024-08-05T00:00:00Z",
|
||||
"timezone": 0,
|
||||
"before": 0,
|
||||
"after": 0,
|
||||
"precision": 11,
|
||||
"calendarmodel": "http://www.wikidata.org/entity/Q1985727"
|
||||
},
|
||||
"type": "time"
|
||||
},
|
||||
"datatype": "time"
|
||||
}
|
||||
]
|
||||
},
|
||||
"snaks-order": [
|
||||
"P854",
|
||||
"P1476",
|
||||
"P1433",
|
||||
"P123",
|
||||
"P813"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"P7959": [
|
||||
{
|
||||
"mainsnak": {
|
||||
"snaktype": "value",
|
||||
"property": "P7959",
|
||||
"hash": "3b8c6dafefe7046353b50e3fbf6371f4cda7c5e7",
|
||||
"datavalue": {
|
||||
"value": {
|
||||
"entity-type": "item",
|
||||
"numeric-id": 67533486,
|
||||
"id": "Q67533486"
|
||||
},
|
||||
"type": "wikibase-entityid"
|
||||
},
|
||||
"datatype": "wikibase-item"
|
||||
},
|
||||
"type": "statement",
|
||||
"id": "Q4953658$388032D0-22B6-4585-87FA-8DB11ABEF47E",
|
||||
"rank": "normal"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sitelinks": {
|
||||
"cebwiki": {
|
||||
"site": "cebwiki",
|
||||
"title": "Brackenborough with Little Grimsby",
|
||||
"badges": []
|
||||
},
|
||||
"commonswiki": {
|
||||
"site": "commonswiki",
|
||||
"title": "Category:Brackenborough with Little Grimsby",
|
||||
"badges": []
|
||||
},
|
||||
"enwiki": {
|
||||
"site": "enwiki",
|
||||
"title": "Brackenborough with Little Grimsby",
|
||||
"badges": []
|
||||
},
|
||||
"frwiki": {
|
||||
"site": "frwiki",
|
||||
"title": "Brackenborough with Little Grimsby",
|
||||
"badges": []
|
||||
},
|
||||
"svwiki": {
|
||||
"site": "svwiki",
|
||||
"title": "Brackenborough with Little Grimsby",
|
||||
"badges": []
|
||||
},
|
||||
"trwiki": {
|
||||
"site": "trwiki",
|
||||
"title": "Brackenborough with Little Grimsby",
|
||||
"badges": []
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"success": 1
|
||||
}
|
||||
},
|
||||
"expected_wikidata": "Q4953658",
|
||||
"expected_commons_cat": "Brackenborough with Little Grimsby"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue