diff --git a/data/br-city-codes.csv b/data/br-city-codes.csv index d97ba054..978e0df7 100644 --- a/data/br-city-codes.csv +++ b/data/br-city-codes.csv @@ -426,7 +426,6 @@ Augustinópolis,TO,Q1801708,1702554,augustinopolis,,,[77960-000 77969-999], Augusto Corrêa,PA,Q1804338,1500909,augusto.correa,,,[68610-000 68616-999], Augusto de Lima,MG,Q1791783,3104809,augusto.lima,,,[39219-000 39219-999], Augusto Pestana,RS,Q600118,4301503,augusto.pestana,,,[98740-000 98749-999], -Augusto Severo,RN,Q1802671,2401305,augusto.severo,1903,1991,,"Em 28 de agosto de 1903, a Lei nº 192 mudou o nome do município para Augusto Severo" Áurea,RS,Q1786460,4301552,aurea,,,[99835-000 99837-999], Aurelino Leal,BA,Q513600,2902401,aurelino.leal,,,[45675-000 45679-999], Auriflama,SP,Q268956,3504206,auriflama,,,[15350-000 15354-999], @@ -5302,7 +5301,6 @@ Trindade,PE,Q2355756,2615607,trindade,,,[56250-000 56259-999], Trindade do Sul,RS,Q986519,4321956,trindade.sul,,,[99615-000 99639-999], Triunfo,PB,Q2097715,2516805,triunfo,,,[58920-000 58921-999], Triunfo,PE,Q679786,2615706,triunfo,,,[56870-000 56894-999], -Triunfo,RN,Q1802671,,triunfo,1870,1902,,"A Lei nº 613, de 30 de março de 1870, restaurou o município com a denominação, de Triunfo" Triunfo,RS,Q606083,4322004,triunfo,,,[95840-000 95859-999], Triunfo Potiguar,RN,Q1802221,2414456,triunfo.potiguar,,,[59685-000 59689-999], Trizidela do Vale,MA,Q2065285,2112233,trizidela.vale,,,[65727-000 65727-999], @@ -5570,4 +5568,4 @@ Xique-Xique,BA,Q1762114,2933604,xique.xique,,,[47400-000 47439-999], Zabelê,PB,Q1808686,2517407,zabele,,,[58515-000 58519-999], Zacarias,SP,Q1760645,3557154,zacarias,,,[15265-000 15269-999], Zé Doca,MA,Q1806488,2114007,ze.doca,,,[65365-000 65367-999], -Zortéa,SC,Q1648503,4219853,zortea,,,[89633-000 89633-999], \ No newline at end of file +Zortéa,SC,Q1648503,4219853,zortea,,,[89633-000 89633-999], diff --git a/data/wikidata/CE/Itapaje.json b/data/wikidata/CE/Itapaje.json index 7f4bd397..f48d4a8e 100644 --- a/data/wikidata/CE/Itapaje.json +++ b/data/wikidata/CE/Itapaje.json @@ -1,3 +1,160 @@ { - "claims": [] + "pageid": 1949086, + "ns": 0, + "type": "item", + "id": "Q2021022", + "claims": { + "P17": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + } + ], + "P41": [ + { + "value": "Bandeira itapaje.jpg", + "type": "string" + } + ], + "P94": [ + { + "value": "Brasao itapaje ce.jpg", + "type": "string" + } + ], + "P625": [ + { + "value": { + "latitude": -3.6869444444444, + "longitude": -39.585833333333, + "altitude": null, + "precision": 0.00027777777777778, + "globe": "http://www.wikidata.org/entity/Q2" + }, + "type": "globecoordinate" + } + ], + "P131": [ + { + "value": { + "entity-type": "item", + "numeric-id": 40123, + "id": "Q40123" + }, + "type": "wikibase-entityid" + } + ], + "P31": [ + { + "value": { + "entity-type": "item", + "numeric-id": 3184121, + "id": "Q3184121" + }, + "type": "wikibase-entityid" + } + ], + "P646": [ + { + "value": "/m/09rv2_n", + "type": "string" + } + ], + "P1566": [ + { + "value": "3397946", + "type": "string" + } + ], + "P373": [ + { + "value": "Itapagé", + "type": "string" + } + ], + "P910": [ + { + "value": { + "entity-type": "item", + "numeric-id": 10238635, + "id": "Q10238635" + }, + "type": "wikibase-entityid" + } + ], + "P1281": [ + { + "value": "456262", + "type": "string" + } + ], + "P1585": [ + { + "value": "2306306", + "type": "string" + } + ], + "P1082": [ + { + "value": { + "amount": "+48350", + "unit": "1" + }, + "type": "quantity" + } + ], + "P2046": [ + { + "value": { + "amount": "+439.501", + "unit": "http://www.wikidata.org/entity/Q712226" + }, + "type": "quantity" + } + ], + "P18": [ + { + "value": "Pedra do frade.jpg", + "type": "string" + } + ], + "P2044": [ + { + "value": { + "amount": "+207", + "unit": "http://www.wikidata.org/entity/Q11573" + }, + "type": "quantity" + } + ], + "P1081": [ + { + "value": { + "amount": "+0.623", + "unit": "1" + }, + "type": "quantity" + } + ], + "P47": [ + { + "value": { + "entity-type": "item", + "numeric-id": 2028851, + "id": "Q2028851" + }, + "type": "wikibase-entityid" + } + ], + "P402": [ + { + "value": "302632", + "type": "string" + } + ] + } } \ No newline at end of file diff --git a/data/wikidata/DF/Brasilia.json b/data/wikidata/DF/Brasilia.json index 7f4bd397..c1b50a91 100644 --- a/data/wikidata/DF/Brasilia.json +++ b/data/wikidata/DF/Brasilia.json @@ -1,3 +1,726 @@ { - "claims": [] + "pageid": 3826, + "ns": 0, + "type": "item", + "id": "Q2844", + "claims": { + "P190": [ + { + "value": { + "entity-type": "item", + "numeric-id": 1486, + "id": "Q1486" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 1963, + "id": "Q1963" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 5826, + "id": "Q5826" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 9005, + "id": "Q9005" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 597, + "id": "Q597" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 60, + "id": "Q60" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 61, + "id": "Q61" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 727, + "id": "Q727" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 3616, + "id": "Q3616" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 3889, + "id": "Q3889" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 657807, + "id": "Q657807" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 3787, + "id": "Q3787" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 64, + "id": "Q64" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 2841, + "id": "Q2841" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 100, + "id": "Q100" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 3114, + "id": "Q3114" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 394701, + "id": "Q394701" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 34028, + "id": "Q34028" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 3861, + "id": "Q3861" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 9022, + "id": "Q9022" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 2868, + "id": "Q2868" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 130514, + "id": "Q130514" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 1335, + "id": "Q1335" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 220, + "id": "Q220" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 2887, + "id": "Q2887" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 1741, + "id": "Q1741" + }, + "type": "wikibase-entityid" + } + ], + "P17": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + } + ], + "P373": [ + { + "value": "Brasília", + "type": "string" + } + ], + "P41": [ + { + "value": "Bandeira do Distrito Federal (Brasil).svg", + "type": "string" + } + ], + "P94": [ + { + "value": "Brasão do Distrito Federal (Brasil).svg", + "type": "string" + } + ], + "P625": [ + { + "value": { + "latitude": -15.793888888889, + "longitude": -47.882777777778, + "altitude": null, + "precision": 0.0166667, + "globe": "http://www.wikidata.org/entity/Q2" + }, + "type": "globecoordinate" + } + ], + "P31": [ + { + "value": { + "entity-type": "item", + "numeric-id": 3184121, + "id": "Q3184121" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 5119, + "id": "Q5119" + }, + "type": "wikibase-entityid" + } + ], + "P18": [ + { + "value": "Palacio Alvorada commons.jpg", + "type": "string" + } + ], + "P948": [ + { + "value": "Brasília banner.jpg", + "type": "string" + } + ], + "P910": [ + { + "value": { + "entity-type": "item", + "numeric-id": 7484924, + "id": "Q7484924" + }, + "type": "wikibase-entityid" + } + ], + "P998": [ + { + "value": "Regional/South_America/Brazil/States/Distrito_Federal/Brasilia/", + "type": "string" + } + ], + "P935": [ + { + "value": "Brasília", + "type": "string" + } + ], + "P349": [ + { + "value": "00629142", + "type": "string" + } + ], + "P131": [ + { + "value": { + "entity-type": "item", + "numeric-id": 119158, + "id": "Q119158" + }, + "type": "wikibase-entityid" + } + ], + "P646": [ + { + "value": "/m/01hy_", + "type": "string" + } + ], + "P571": [ + { + "value": { + "time": "+1960-04-21T00:00:00Z", + "timezone": 0, + "before": 0, + "after": 0, + "precision": 11, + "calendarmodel": "http://www.wikidata.org/entity/Q1985727" + }, + "type": "time" + } + ], + "P421": [ + { + "value": { + "entity-type": "item", + "numeric-id": 6513, + "id": "Q6513" + }, + "type": "wikibase-entityid" + } + ], + "P982": [ + { + "value": "4ad93f0f-e371-442c-911f-e00a18b32804", + "type": "string" + } + ], + "P1464": [ + { + "value": { + "entity-type": "item", + "numeric-id": 9229004, + "id": "Q9229004" + }, + "type": "wikibase-entityid" + } + ], + "P1465": [ + { + "value": { + "entity-type": "item", + "numeric-id": 9686029, + "id": "Q9686029" + }, + "type": "wikibase-entityid" + } + ], + "P1566": [ + { + "value": "3469058", + "type": "string" + } + ], + "P227": [ + { + "value": "4080517-7", + "type": "string" + } + ], + "P1740": [ + { + "value": { + "entity-type": "item", + "numeric-id": 13262406, + "id": "Q13262406" + }, + "type": "wikibase-entityid" + } + ], + "P1792": [ + { + "value": { + "entity-type": "item", + "numeric-id": 7115378, + "id": "Q7115378" + }, + "type": "wikibase-entityid" + } + ], + "P84": [ + { + "value": { + "entity-type": "item", + "numeric-id": 134165, + "id": "Q134165" + }, + "type": "wikibase-entityid" + } + ], + "P1376": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 210542, + "id": "Q210542" + }, + "type": "wikibase-entityid" + } + ], + "P214": [ + { + "value": "142521983", + "type": "string" + } + ], + "P268": [ + { + "value": "11883341g", + "type": "string" + } + ], + "P2044": [ + { + "value": { + "amount": "+1171", + "unit": "http://www.wikidata.org/entity/Q11573" + }, + "type": "quantity" + } + ], + "P856": [ + { + "value": "http://www.brasilia.df.gov.br", + "type": "string" + } + ], + "P1997": [ + { + "value": "112060958820146", + "type": "string" + } + ], + "P2002": [ + { + "value": "gov_df", + "type": "string" + } + ], + "P206": [ + { + "value": { + "entity-type": "item", + "numeric-id": 3432578, + "id": "Q3432578" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 2627794, + "id": "Q2627794" + }, + "type": "wikibase-entityid" + } + ], + "P1082": [ + { + "value": { + "amount": "+2789761", + "unit": "1" + }, + "type": "quantity" + }, + { + "value": { + "amount": "+2570160", + "unit": "1" + }, + "type": "quantity" + }, + { + "value": { + "amount": "+2609997", + "unit": "1" + }, + "type": "quantity" + }, + { + "value": { + "amount": "+2051146", + "unit": "1" + }, + "type": "quantity" + } + ], + "P1585": [ + { + "value": "5300108", + "type": "string" + } + ], + "P281": [ + { + "value": "70000–70999", + "type": "string" + } + ], + "P1417": [ + { + "value": "place/Brasilia", + "type": "string" + } + ], + "P2046": [ + { + "value": { + "amount": "+5802000000", + "unit": "http://www.wikidata.org/entity/Q25343" + }, + "type": "quantity" + } + ], + "P2013": [ + { + "value": "govdf", + "type": "string" + } + ], + "P402": [ + { + "value": "2758138", + "type": "string" + } + ], + "P3403": [ + { + "value": { + "entity-type": "item", + "numeric-id": 2781978, + "id": "Q2781978" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 1429219, + "id": "Q1429219" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 119158, + "id": "Q119158" + }, + "type": "wikibase-entityid" + } + ], + "P3569": [ + { + "value": "gebouwd-erfgoed/brazilie-brasilia", + "type": "string" + } + ], + "P3417": [ + { + "value": "Brasília-Brazil-1", + "type": "string" + } + ], + "P1081": [ + { + "value": { + "amount": "+0.824", + "unit": "1" + }, + "type": "quantity" + } + ], + "P242": [ + { + "value": "Brazil Distrito Federal location map.svg", + "type": "string" + } + ], + "P1705": [ + { + "value": { + "text": "Brasília", + "language": "pt" + }, + "type": "monolingualtext" + } + ], + "P1448": [ + { + "value": { + "text": "Brasília", + "language": "pt" + }, + "type": "monolingualtext" + } + ], + "P1225": [ + { + "value": "10044621", + "type": "string" + } + ], + "P4431": [ + { + "value": "brasilias-anniversary", + "type": "string" + } + ], + "P3219": [ + { + "value": "brasilia", + "type": "string" + } + ], + "P47": [ + { + "value": { + "entity-type": "item", + "numeric-id": 249830, + "id": "Q249830" + }, + "type": "wikibase-entityid" + } + ], + "P2924": [ + { + "value": "3211436", + "type": "string" + } + ], + "P138": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + } + ], + "P473": [ + { + "value": "061", + "type": "string" + } + ], + "P6": [ + { + "value": { + "entity-type": "item", + "numeric-id": 10363936, + "id": "Q10363936" + }, + "type": "wikibase-entityid" + } + ], + "P417": [ + { + "value": { + "entity-type": "item", + "numeric-id": 146183, + "id": "Q146183" + }, + "type": "wikibase-entityid" + } + ], + "P1451": [ + { + "value": { + "text": "Venturis ventis", + "language": "la" + }, + "type": "monolingualtext" + } + ], + "P1549": [ + { + "value": { + "text": "Brasiliense", + "language": "en" + }, + "type": "monolingualtext" + } + ] + } } \ No newline at end of file diff --git a/data/wikidata/GO/SaoLuizNorte.json b/data/wikidata/GO/SaoLuizNorte.json index 7f4bd397..3f63df41 100644 --- a/data/wikidata/GO/SaoLuizNorte.json +++ b/data/wikidata/GO/SaoLuizNorte.json @@ -1,3 +1,128 @@ { - "claims": [] + "pageid": 1736968, + "ns": 0, + "type": "item", + "id": "Q1805766", + "claims": { + "P625": [ + { + "value": { + "latitude": -14.862777777778, + "longitude": -49.328888888889, + "altitude": null, + "precision": 0.00027777777777778, + "globe": "http://www.wikidata.org/entity/Q2" + }, + "type": "globecoordinate" + } + ], + "P17": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + } + ], + "P131": [ + { + "value": { + "entity-type": "item", + "numeric-id": 41587, + "id": "Q41587" + }, + "type": "wikibase-entityid" + } + ], + "P31": [ + { + "value": { + "entity-type": "item", + "numeric-id": 3184121, + "id": "Q3184121" + }, + "type": "wikibase-entityid" + } + ], + "P646": [ + { + "value": "/m/0c41mq", + "type": "string" + } + ], + "P1566": [ + { + "value": "6324090", + "type": "string" + } + ], + "P373": [ + { + "value": "São Luíz do Norte", + "type": "string" + } + ], + "P856": [ + { + "value": "http://www.saoluizdonorte.go.gov.br", + "type": "string" + } + ], + "P1585": [ + { + "value": "5220157", + "type": "string" + } + ], + "P1082": [ + { + "value": { + "amount": "+4617", + "unit": "1" + }, + "type": "quantity" + } + ], + "P242": [ + { + "value": "Goias Municip SaoLuizdoNorte.svg", + "type": "string" + } + ], + "P2044": [ + { + "value": { + "amount": "+564", + "unit": "http://www.wikidata.org/entity/Q11573" + }, + "type": "quantity" + } + ], + "P2046": [ + { + "value": { + "amount": "+586.060", + "unit": "http://www.wikidata.org/entity/Q712226" + }, + "type": "quantity" + } + ], + "P1081": [ + { + "value": { + "amount": "+0.710", + "unit": "1" + }, + "type": "quantity" + } + ], + "P402": [ + { + "value": "334542", + "type": "string" + } + ] + } } \ No newline at end of file diff --git a/data/wikidata/MS/Bataguassu.json b/data/wikidata/MS/Bataguassu.json index 7f4bd397..51bfad7f 100644 --- a/data/wikidata/MS/Bataguassu.json +++ b/data/wikidata/MS/Bataguassu.json @@ -1,3 +1,182 @@ { - "claims": [] + "pageid": 1736785, + "ns": 0, + "type": "item", + "id": "Q1805582", + "claims": { + "P41": [ + { + "value": "Bandeira Bataguassu MatoGrossodoSul Brasil.svg", + "type": "string" + } + ], + "P17": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + } + ], + "P625": [ + { + "value": { + "latitude": -21.713888888889, + "longitude": -52.421944444444, + "altitude": null, + "precision": 0.00027777777777778, + "globe": "http://www.wikidata.org/entity/Q2" + }, + "type": "globecoordinate" + } + ], + "P131": [ + { + "value": { + "entity-type": "item", + "numeric-id": 43319, + "id": "Q43319" + }, + "type": "wikibase-entityid" + } + ], + "P31": [ + { + "value": { + "entity-type": "item", + "numeric-id": 3184121, + "id": "Q3184121" + }, + "type": "wikibase-entityid" + } + ], + "P646": [ + { + "value": "/m/027c2rr", + "type": "string" + } + ], + "P1566": [ + { + "value": "3470339", + "type": "string" + } + ], + "P373": [ + { + "value": "Bataguassu", + "type": "string" + } + ], + "P935": [ + { + "value": "Bataguassu", + "type": "string" + } + ], + "P1585": [ + { + "value": "5001904", + "type": "string" + } + ], + "P1082": [ + { + "value": { + "amount": "+22084", + "unit": "1" + }, + "type": "quantity" + } + ], + "P242": [ + { + "value": "MatoGrossodoSul Municip Bataguassu.svg", + "type": "string" + } + ], + "P910": [ + { + "value": { + "entity-type": "item", + "numeric-id": 25938670, + "id": "Q25938670" + }, + "type": "wikibase-entityid" + } + ], + "P1667": [ + { + "value": "1020806", + "type": "string" + } + ], + "P94": [ + { + "value": "Brasao Bataguassu MatoGrossodoSul Brasil.svg", + "type": "string" + } + ], + "P18": [ + { + "value": "Aterro sobre rio Parana.jpg", + "type": "string" + } + ], + "P2044": [ + { + "value": { + "amount": "+329", + "unit": "http://www.wikidata.org/entity/Q11573" + }, + "type": "quantity" + } + ], + "P421": [ + { + "value": { + "entity-type": "item", + "numeric-id": 5762, + "id": "Q5762" + }, + "type": "wikibase-entityid" + } + ], + "P1081": [ + { + "value": { + "amount": "+0.738", + "unit": "1" + }, + "type": "quantity" + } + ], + "P2046": [ + { + "value": { + "amount": "+2.416718", + "unit": "http://www.wikidata.org/entity/Q712226" + }, + "type": "quantity" + } + ], + "P47": [ + { + "value": { + "entity-type": "item", + "numeric-id": 1806340, + "id": "Q1806340" + }, + "type": "wikibase-entityid" + } + ], + "P402": [ + { + "value": "334052", + "type": "string" + } + ] + } } \ No newline at end of file diff --git a/data/wikidata/MS/ParaisoAguas.json b/data/wikidata/MS/ParaisoAguas.json index 7f4bd397..f84d8ac6 100644 --- a/data/wikidata/MS/ParaisoAguas.json +++ b/data/wikidata/MS/ParaisoAguas.json @@ -1,3 +1,131 @@ { - "claims": [] + "pageid": 3730616, + "ns": 0, + "type": "item", + "id": "Q3910285", + "claims": { + "P625": [ + { + "value": { + "latitude": -19.0522, + "longitude": -52.9683, + "altitude": null, + "precision": 0.1, + "globe": "http://www.wikidata.org/entity/Q2" + }, + "type": "globecoordinate" + } + ], + "P17": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + } + ], + "P31": [ + { + "value": { + "entity-type": "item", + "numeric-id": 3184121, + "id": "Q3184121" + }, + "type": "wikibase-entityid" + } + ], + "P131": [ + { + "value": { + "entity-type": "item", + "numeric-id": 43319, + "id": "Q43319" + }, + "type": "wikibase-entityid" + } + ], + "P571": [ + { + "value": { + "time": "+2009-00-00T00:00:00Z", + "timezone": 0, + "before": 0, + "after": 0, + "precision": 9, + "calendarmodel": "http://www.wikidata.org/entity/Q1985727" + }, + "type": "time" + } + ], + "P856": [ + { + "value": "http://paraisodasaguas.ms.gov.br/", + "type": "string" + } + ], + "P1585": [ + { + "value": "5006275", + "type": "string" + } + ], + "P41": [ + { + "value": "Bandeira de Paraíso das Águas.jpg", + "type": "string" + } + ], + "P910": [ + { + "value": { + "entity-type": "item", + "numeric-id": 25938674, + "id": "Q25938674" + }, + "type": "wikibase-entityid" + } + ], + "P1082": [ + { + "value": { + "amount": "+5251", + "unit": "1" + }, + "type": "quantity" + } + ], + "P2046": [ + { + "value": { + "amount": "+5.032469", + "unit": "http://www.wikidata.org/entity/Q712226" + }, + "type": "quantity" + } + ], + "P373": [ + { + "value": "Paraíso das Águas", + "type": "string" + } + ], + "P47": [ + { + "value": { + "entity-type": "item", + "numeric-id": 1796727, + "id": "Q1796727" + }, + "type": "wikibase-entityid" + } + ], + "P402": [ + { + "value": "6626705", + "type": "string" + } + ] + } } \ No newline at end of file diff --git a/data/wikidata/MT/Poxoreu.json b/data/wikidata/MT/Poxoreu.json index 7f4bd397..b26f55c2 100644 --- a/data/wikidata/MT/Poxoreu.json +++ b/data/wikidata/MT/Poxoreu.json @@ -1,3 +1,154 @@ { - "claims": [] + "pageid": 1850086, + "ns": 0, + "type": "item", + "id": "Q1920318", + "claims": { + "P17": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + } + ], + "P41": [ + { + "value": "Bandeira de Poxoréu (Mato Grosso).jpg", + "type": "string" + } + ], + "P625": [ + { + "value": { + "latitude": -15.836944444444, + "longitude": -54.388888888889, + "altitude": null, + "precision": 0.00027777777777778, + "globe": "http://www.wikidata.org/entity/Q2" + }, + "type": "globecoordinate" + } + ], + "P131": [ + { + "value": { + "entity-type": "item", + "numeric-id": 42824, + "id": "Q42824" + }, + "type": "wikibase-entityid" + } + ], + "P31": [ + { + "value": { + "entity-type": "item", + "numeric-id": 3184121, + "id": "Q3184121" + }, + "type": "wikibase-entityid" + } + ], + "P646": [ + { + "value": "/m/09rszwt", + "type": "string" + } + ], + "P1566": [ + { + "value": "3452490", + "type": "string" + } + ], + "P373": [ + { + "value": "Poxoréu", + "type": "string" + } + ], + "P1585": [ + { + "value": "5107008", + "type": "string" + } + ], + "P1082": [ + { + "value": { + "amount": "+16209", + "unit": "1" + }, + "type": "quantity" + } + ], + "P242": [ + { + "value": "MatoGrosso Municip Poxoreo.svg", + "type": "string" + } + ], + "P910": [ + { + "value": { + "entity-type": "item", + "numeric-id": 25974163, + "id": "Q25974163" + }, + "type": "wikibase-entityid" + } + ], + "P94": [ + { + "value": "Brasaopoxoreu.JPG", + "type": "string" + } + ], + "P2044": [ + { + "value": { + "amount": "+360", + "unit": "http://www.wikidata.org/entity/Q11573" + }, + "type": "quantity" + } + ], + "P2046": [ + { + "value": { + "amount": "+6923.227", + "unit": "http://www.wikidata.org/entity/Q712226" + }, + "type": "quantity" + } + ], + "P1081": [ + { + "value": { + "amount": "+0.743", + "unit": "1" + }, + "type": "quantity" + } + ], + "P47": [ + { + "value": { + "entity-type": "item", + "numeric-id": 2012361, + "id": "Q2012361" + }, + "type": "wikibase-entityid" + } + ], + "P402": [ + { + "value": "333733", + "type": "string" + } + ] + } } \ No newline at end of file diff --git a/data/wikidata/PA/IgarapeMiri.json b/data/wikidata/PA/IgarapeMiri.json index 7f4bd397..a076164d 100644 --- a/data/wikidata/PA/IgarapeMiri.json +++ b/data/wikidata/PA/IgarapeMiri.json @@ -1,3 +1,154 @@ { - "claims": [] + "pageid": 613266, + "ns": 0, + "type": "item", + "id": "Q651613", + "claims": { + "P17": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + } + ], + "P625": [ + { + "value": { + "latitude": -1.975, + "longitude": -48.96, + "altitude": null, + "precision": 0.00027777777777778, + "globe": "http://www.wikidata.org/entity/Q2" + }, + "type": "globecoordinate" + } + ], + "P131": [ + { + "value": { + "entity-type": "item", + "numeric-id": 39517, + "id": "Q39517" + }, + "type": "wikibase-entityid" + } + ], + "P31": [ + { + "value": { + "entity-type": "item", + "numeric-id": 3184121, + "id": "Q3184121" + }, + "type": "wikibase-entityid" + } + ], + "P646": [ + { + "value": "/m/09rx2q1", + "type": "string" + } + ], + "P373": [ + { + "value": "Igarapé-Miri", + "type": "string" + } + ], + "P910": [ + { + "value": { + "entity-type": "item", + "numeric-id": 10176995, + "id": "Q10176995" + }, + "type": "wikibase-entityid" + } + ], + "P18": [ + { + "value": "Igarapémiri.jpg", + "type": "string" + } + ], + "P1585": [ + { + "value": "1503309", + "type": "string" + } + ], + "P1082": [ + { + "value": { + "amount": "+60675", + "unit": "1" + }, + "type": "quantity" + } + ], + "P242": [ + { + "value": "Para Municip IgarapeMiri.svg", + "type": "string" + } + ], + "P41": [ + { + "value": "Bandeira de igarapé-miri.png", + "type": "string" + } + ], + "P2044": [ + { + "value": { + "amount": "+17", + "unit": "http://www.wikidata.org/entity/Q11573" + }, + "type": "quantity" + } + ], + "P1566": [ + { + "value": "6319410", + "type": "string" + } + ], + "P2046": [ + { + "value": { + "amount": "+1996.790", + "unit": "http://www.wikidata.org/entity/Q712226" + }, + "type": "quantity" + } + ], + "P1081": [ + { + "value": { + "amount": "+0.547", + "unit": "1" + }, + "type": "quantity" + } + ], + "P47": [ + { + "value": { + "entity-type": "item", + "numeric-id": 1615298, + "id": "Q1615298" + }, + "type": "wikibase-entityid" + } + ], + "P402": [ + { + "value": "185630", + "type": "string" + } + ] + } } \ No newline at end of file diff --git a/data/wikidata/PA/MojuiCampos.json b/data/wikidata/PA/MojuiCampos.json index 7f4bd397..f0bc368c 100644 --- a/data/wikidata/PA/MojuiCampos.json +++ b/data/wikidata/PA/MojuiCampos.json @@ -1,3 +1,114 @@ { - "claims": [] + "pageid": 24105554, + "ns": 0, + "type": "item", + "id": "Q22074332", + "claims": { + "P17": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + } + ], + "P1566": [ + { + "value": "8581573", + "type": "string" + } + ], + "P31": [ + { + "value": { + "entity-type": "item", + "numeric-id": 3184121, + "id": "Q3184121" + }, + "type": "wikibase-entityid" + } + ], + "P2044": [ + { + "value": { + "amount": "+86", + "unit": "http://www.wikidata.org/entity/Q11573" + }, + "type": "quantity" + } + ], + "P131": [ + { + "value": { + "entity-type": "item", + "numeric-id": 39517, + "id": "Q39517" + }, + "type": "wikibase-entityid" + } + ], + "P625": [ + { + "value": { + "latitude": -2.68472222, + "longitude": -54.64027778, + "altitude": null, + "precision": 0.00027777777777778, + "globe": "http://www.wikidata.org/entity/Q2" + }, + "type": "globecoordinate" + } + ], + "P373": [ + { + "value": "Mojuí dos Campos", + "type": "string" + } + ], + "P571": [ + { + "value": { + "time": "+1999-00-00T00:00:00Z", + "timezone": 0, + "before": 0, + "after": 0, + "precision": 9, + "calendarmodel": "http://www.wikidata.org/entity/Q1985727" + }, + "type": "time" + } + ], + "P1585": [ + { + "value": "1504752", + "type": "string" + } + ], + "P1082": [ + { + "value": { + "amount": "+15548", + "unit": "1" + }, + "type": "quantity" + } + ], + "P2046": [ + { + "value": { + "amount": "+4988.236", + "unit": "http://www.wikidata.org/entity/Q712226" + }, + "type": "quantity" + } + ], + "P402": [ + { + "value": "3049385", + "type": "string" + } + ] + } } \ No newline at end of file diff --git a/data/wikidata/PB/JocaClaudino.json b/data/wikidata/PB/JocaClaudino.json index 7f4bd397..0c791ec2 100644 --- a/data/wikidata/PB/JocaClaudino.json +++ b/data/wikidata/PB/JocaClaudino.json @@ -1,3 +1,142 @@ { - "claims": [] + "pageid": 2025028, + "ns": 0, + "type": "item", + "id": "Q2098422", + "claims": { + "P17": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + } + ], + "P625": [ + { + "value": { + "latitude": -6.49, + "longitude": -38.475833333333, + "altitude": null, + "precision": 0.00027777777777778, + "globe": "http://www.wikidata.org/entity/Q2" + }, + "type": "globecoordinate" + } + ], + "P131": [ + { + "value": { + "entity-type": "item", + "numeric-id": 38088, + "id": "Q38088" + }, + "type": "wikibase-entityid" + } + ], + "P31": [ + { + "value": { + "entity-type": "item", + "numeric-id": 3184121, + "id": "Q3184121" + }, + "type": "wikibase-entityid" + } + ], + "P646": [ + { + "value": "/m/09rx0tq", + "type": "string" + } + ], + "P373": [ + { + "value": "Joca Claudino", + "type": "string" + } + ], + "P1585": [ + { + "value": "2513653", + "type": "string" + } + ], + "P1082": [ + { + "value": { + "amount": "+2568", + "unit": "1" + }, + "type": "quantity" + }, + { + "value": { + "amount": "+2680", + "unit": "1" + }, + "type": "quantity" + }, + { + "value": { + "amount": "+2615", + "unit": "1" + }, + "type": "quantity" + } + ], + "P242": [ + { + "value": "Paraiba Municip JocaClaudino.svg", + "type": "string" + } + ], + "P41": [ + { + "value": "Bandeira santarem.PNG", + "type": "string" + } + ], + "P94": [ + { + "value": "Brasao santarem.PNG", + "type": "string" + } + ], + "P2044": [ + { + "value": { + "amount": "+290", + "unit": "http://www.wikidata.org/entity/Q11573" + }, + "type": "quantity" + } + ], + "P2046": [ + { + "value": { + "amount": "+74.005", + "unit": "http://www.wikidata.org/entity/Q712226" + }, + "type": "quantity" + } + ], + "P1081": [ + { + "value": { + "amount": "+0.579", + "unit": "1" + }, + "type": "quantity" + } + ], + "P402": [ + { + "value": "301378", + "type": "string" + } + ] + } } \ No newline at end of file diff --git a/data/wikidata/PB/SaoBentinho.json b/data/wikidata/PB/SaoBentinho.json index 7f4bd397..b7052333 100644 --- a/data/wikidata/PB/SaoBentinho.json +++ b/data/wikidata/PB/SaoBentinho.json @@ -1,3 +1,146 @@ { - "claims": [] + "pageid": 1937629, + "ns": 0, + "type": "item", + "id": "Q2009398", + "claims": { + "P17": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + } + ], + "P625": [ + { + "value": { + "latitude": -6.9008333333333, + "longitude": -37.728888888889, + "altitude": null, + "precision": 0.00027777777777778, + "globe": "http://www.wikidata.org/entity/Q2" + }, + "type": "globecoordinate" + } + ], + "P131": [ + { + "value": { + "entity-type": "item", + "numeric-id": 38088, + "id": "Q38088" + }, + "type": "wikibase-entityid" + } + ], + "P31": [ + { + "value": { + "entity-type": "item", + "numeric-id": 3184121, + "id": "Q3184121" + }, + "type": "wikibase-entityid" + } + ], + "P646": [ + { + "value": "/m/09rx_d3", + "type": "string" + } + ], + "P1566": [ + { + "value": "6320410", + "type": "string" + } + ], + "P373": [ + { + "value": "São Bentinho", + "type": "string" + } + ], + "P1585": [ + { + "value": "2513927", + "type": "string" + } + ], + "P1082": [ + { + "value": { + "amount": "+3589", + "unit": "1" + }, + "type": "quantity" + }, + { + "value": { + "amount": "+4451", + "unit": "1" + }, + "type": "quantity" + }, + { + "value": { + "amount": "+4138", + "unit": "1" + }, + "type": "quantity" + } + ], + "P242": [ + { + "value": "Paraiba Municip SaoBentinho.svg", + "type": "string" + } + ], + "P2044": [ + { + "value": { + "amount": "+239", + "unit": "http://www.wikidata.org/entity/Q11573" + }, + "type": "quantity" + } + ], + "P2046": [ + { + "value": { + "amount": "+195.964", + "unit": "http://www.wikidata.org/entity/Q712226" + }, + "type": "quantity" + } + ], + "P1081": [ + { + "value": { + "amount": "+0.626", + "unit": "1" + }, + "type": "quantity" + } + ], + "P47": [ + { + "value": { + "entity-type": "item", + "numeric-id": 2078751, + "id": "Q2078751" + }, + "type": "wikibase-entityid" + } + ], + "P402": [ + { + "value": "301417", + "type": "string" + } + ] + } } \ No newline at end of file diff --git a/data/wikidata/PE/SaoCaitano.json b/data/wikidata/PE/SaoCaitano.json index 7f4bd397..7d7b7ed9 100644 --- a/data/wikidata/PE/SaoCaitano.json +++ b/data/wikidata/PE/SaoCaitano.json @@ -1,3 +1,132 @@ { - "claims": [] + "pageid": 730670, + "ns": 0, + "type": "item", + "id": "Q777635", + "claims": { + "P625": [ + { + "value": { + "latitude": -8.3258333333333, + "longitude": -36.142777777778, + "altitude": null, + "precision": 0.00027777777777778, + "globe": "http://www.wikidata.org/entity/Q2" + }, + "type": "globecoordinate" + } + ], + "P17": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + } + ], + "P131": [ + { + "value": { + "entity-type": "item", + "numeric-id": 40942, + "id": "Q40942" + }, + "type": "wikibase-entityid" + } + ], + "P31": [ + { + "value": { + "entity-type": "item", + "numeric-id": 3184121, + "id": "Q3184121" + }, + "type": "wikibase-entityid" + } + ], + "P646": [ + { + "value": "/m/076tt4b", + "type": "string" + } + ], + "P1566": [ + { + "value": "3388925", + "type": "string" + } + ], + "P373": [ + { + "value": "São Caitano", + "type": "string" + } + ], + "P1585": [ + { + "value": "2613107", + "type": "string" + } + ], + "P1082": [ + { + "value": { + "amount": "+35274", + "unit": "1" + }, + "type": "quantity" + } + ], + "P2044": [ + { + "value": { + "amount": "+603", + "unit": "http://www.wikidata.org/entity/Q11573" + }, + "type": "quantity" + } + ], + "P1081": [ + { + "value": { + "amount": "+0.591", + "unit": "1" + }, + "type": "quantity" + } + ], + "P2046": [ + { + "value": { + "amount": "+382.475", + "unit": "http://www.wikidata.org/entity/Q712226" + }, + "type": "quantity" + } + ], + "P281": [ + { + "value": "55130-000", + "type": "string" + } + ], + "P47": [ + { + "value": { + "entity-type": "item", + "numeric-id": 622830, + "id": "Q622830" + }, + "type": "wikibase-entityid" + } + ], + "P402": [ + { + "value": "303635", + "type": "string" + } + ] + } } \ No newline at end of file diff --git a/data/wikidata/PR/Luiziana.json b/data/wikidata/PR/Luiziana.json index 7f4bd397..3dbf37a8 100644 --- a/data/wikidata/PR/Luiziana.json +++ b/data/wikidata/PR/Luiziana.json @@ -1,3 +1,132 @@ { - "claims": [] + "pageid": 1735375, + "ns": 0, + "type": "item", + "id": "Q1804169", + "claims": { + "P17": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + } + ], + "P625": [ + { + "value": { + "latitude": -24.285833333333, + "longitude": -52.275833333333, + "altitude": null, + "precision": 0.00027777777777778, + "globe": "http://www.wikidata.org/entity/Q2" + }, + "type": "globecoordinate" + } + ], + "P373": [ + { + "value": "Luiziana", + "type": "string" + } + ], + "P131": [ + { + "value": { + "entity-type": "item", + "numeric-id": 15499, + "id": "Q15499" + }, + "type": "wikibase-entityid" + } + ], + "P31": [ + { + "value": { + "entity-type": "item", + "numeric-id": 3184121, + "id": "Q3184121" + }, + "type": "wikibase-entityid" + } + ], + "P646": [ + { + "value": "/m/09rt7p2", + "type": "string" + } + ], + "P1566": [ + { + "value": "3458355", + "type": "string" + } + ], + "P1585": [ + { + "value": "4113734", + "type": "string" + } + ], + "P1082": [ + { + "value": { + "amount": "+7315", + "unit": "1" + }, + "type": "quantity" + } + ], + "P242": [ + { + "value": "Parana Municip Luiziana.svg", + "type": "string" + } + ], + "P2044": [ + { + "value": { + "amount": "+739", + "unit": "http://www.wikidata.org/entity/Q11573" + }, + "type": "quantity" + } + ], + "P2046": [ + { + "value": { + "amount": "+908.604", + "unit": "http://www.wikidata.org/entity/Q712226" + }, + "type": "quantity" + } + ], + "P1081": [ + { + "value": { + "amount": "+0.704", + "unit": "1" + }, + "type": "quantity" + } + ], + "P47": [ + { + "value": { + "entity-type": "item", + "numeric-id": 2003693, + "id": "Q2003693" + }, + "type": "wikibase-entityid" + } + ], + "P402": [ + { + "value": "297776", + "type": "string" + } + ] + } } \ No newline at end of file diff --git a/data/wikidata/RN/AugustoSevero.json b/data/wikidata/RN/AugustoSevero.json deleted file mode 100644 index 7f4bd397..00000000 --- a/data/wikidata/RN/AugustoSevero.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "claims": [] -} \ No newline at end of file diff --git a/data/wikidata/RN/BoaSaude.json b/data/wikidata/RN/BoaSaude.json index 7f4bd397..84f3690c 100644 --- a/data/wikidata/RN/BoaSaude.json +++ b/data/wikidata/RN/BoaSaude.json @@ -1,3 +1,186 @@ { - "claims": [] + "pageid": 1734013, + "ns": 0, + "type": "item", + "id": "Q1802783", + "claims": { + "P17": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + } + ], + "P625": [ + { + "value": { + "latitude": -6.1577777777778, + "longitude": -35.600833333333, + "altitude": null, + "precision": 0.00027777777777778, + "globe": "http://www.wikidata.org/entity/Q2" + }, + "type": "globecoordinate" + } + ], + "P131": [ + { + "value": { + "entity-type": "item", + "numeric-id": 43255, + "id": "Q43255" + }, + "type": "wikibase-entityid" + } + ], + "P31": [ + { + "value": { + "entity-type": "item", + "numeric-id": 3184121, + "id": "Q3184121" + }, + "type": "wikibase-entityid" + } + ], + "P646": [ + { + "value": "/m/09rtvyh", + "type": "string" + } + ], + "P1566": [ + { + "value": "3397635", + "type": "string" + } + ], + "P373": [ + { + "value": "Boa Saúde", + "type": "string" + } + ], + "P1585": [ + { + "value": "2405306", + "type": "string" + } + ], + "P1082": [ + { + "value": { + "amount": "+9011", + "unit": "1" + }, + "type": "quantity" + } + ], + "P41": [ + { + "value": "Bandeira de Boa Saúde, RN.png", + "type": "string" + } + ], + "P856": [ + { + "value": "http://www.boasaude.rn.gov.br/", + "type": "string" + } + ], + "P2044": [ + { + "value": { + "amount": "+125", + "unit": "http://www.wikidata.org/entity/Q11573" + }, + "type": "quantity" + } + ], + "P2046": [ + { + "value": { + "amount": "+187.107", + "unit": "http://www.wikidata.org/entity/Q712226" + }, + "type": "quantity" + } + ], + "P1081": [ + { + "value": { + "amount": "+0.574", + "unit": "1" + }, + "type": "quantity" + } + ], + "P281": [ + { + "value": "59260-000", + "type": "string" + } + ], + "P94": [ + { + "value": "Brasão de Boa Saúde, RN.png", + "type": "string" + } + ], + "P242": [ + { + "value": "RioGrandedoNorte Municip BoaSaude.svg", + "type": "string" + } + ], + "P18": [ + { + "value": "Pórtico de Boa Saúde.jpg", + "type": "string" + } + ], + "P47": [ + { + "value": { + "entity-type": "item", + "numeric-id": 589586, + "id": "Q589586" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 1786778, + "id": "Q1786778" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 1786943, + "id": "Q1786943" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 1802815, + "id": "Q1802815" + }, + "type": "wikibase-entityid" + } + ], + "P402": [ + { + "value": "301147", + "type": "string" + } + ] + } } \ No newline at end of file diff --git a/data/wikidata/RN/CampoGrande.json b/data/wikidata/RN/CampoGrande.json new file mode 100644 index 00000000..5fa6d739 --- /dev/null +++ b/data/wikidata/RN/CampoGrande.json @@ -0,0 +1,174 @@ +{ + "pageid": 1733904, + "ns": 0, + "type": "item", + "id": "Q1802671", + "claims": { + "P17": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + } + ], + "P41": [ + { + "value": "Bandeira de Campo Grande-RN, Brasil.jpg", + "type": "string" + } + ], + "P625": [ + { + "value": { + "latitude": -5.8638888888889, + "longitude": -37.31, + "altitude": null, + "precision": 0.00027777777777778, + "globe": "http://www.wikidata.org/entity/Q2" + }, + "type": "globecoordinate" + } + ], + "P131": [ + { + "value": { + "entity-type": "item", + "numeric-id": 43255, + "id": "Q43255" + }, + "type": "wikibase-entityid" + } + ], + "P31": [ + { + "value": { + "entity-type": "item", + "numeric-id": 3184121, + "id": "Q3184121" + }, + "type": "wikibase-entityid" + } + ], + "P646": [ + { + "value": "/m/09rtf84", + "type": "string" + } + ], + "P1566": [ + { + "value": "3406958", + "type": "string" + } + ], + "P373": [ + { + "value": "Campo Grande (Rio Grande do Norte)", + "type": "string" + } + ], + "P910": [ + { + "value": { + "entity-type": "item", + "numeric-id": 9567352, + "id": "Q9567352" + }, + "type": "wikibase-entityid" + } + ], + "P1585": [ + { + "value": "2401305", + "type": "string" + } + ], + "P1082": [ + { + "value": { + "amount": "+9289", + "unit": "1" + }, + "type": "quantity" + } + ], + "P2044": [ + { + "value": { + "amount": "+126", + "unit": "http://www.wikidata.org/entity/Q11573" + }, + "type": "quantity" + } + ], + "P2046": [ + { + "value": { + "amount": "+896.962", + "unit": "http://www.wikidata.org/entity/Q712226" + }, + "type": "quantity" + } + ], + "P1081": [ + { + "value": { + "amount": "+0.611", + "unit": "1" + }, + "type": "quantity" + } + ], + "P1448": [ + { + "value": { + "text": "Augusto Severo", + "language": "pt" + }, + "type": "monolingualtext" + }, + { + "value": { + "text": "Campo Grande", + "language": "pt" + }, + "type": "monolingualtext" + } + ], + "P47": [ + { + "value": { + "entity-type": "item", + "numeric-id": 1759342, + "id": "Q1759342" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 1802221, + "id": "Q1802221" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 521491, + "id": "Q521491" + }, + "type": "wikibase-entityid" + } + ], + "P402": [ + { + "value": "301088", + "type": "string" + } + ] + } +} \ No newline at end of file diff --git a/data/wikidata/RN/PassaFica.json b/data/wikidata/RN/PassaFica.json index 7f4bd397..b41bc3a4 100644 --- a/data/wikidata/RN/PassaFica.json +++ b/data/wikidata/RN/PassaFica.json @@ -1,3 +1,144 @@ { - "claims": [] + "pageid": 726102, + "ns": 0, + "type": "item", + "id": "Q772851", + "claims": { + "P17": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + } + ], + "P41": [ + { + "value": "Bandeira de Passa-e-Fica, Rio Grande do Norte, Brasil.png", + "type": "string" + } + ], + "P625": [ + { + "value": { + "latitude": -6.4358333333333, + "longitude": -35.642777777778, + "altitude": null, + "precision": 0.00027777777777778, + "globe": "http://www.wikidata.org/entity/Q2" + }, + "type": "globecoordinate" + } + ], + "P373": [ + { + "value": "Passa e Fica", + "type": "string" + } + ], + "P131": [ + { + "value": { + "entity-type": "item", + "numeric-id": 43255, + "id": "Q43255" + }, + "type": "wikibase-entityid" + } + ], + "P31": [ + { + "value": { + "entity-type": "item", + "numeric-id": 3184121, + "id": "Q3184121" + }, + "type": "wikibase-entityid" + } + ], + "P646": [ + { + "value": "/m/09rs7b2", + "type": "string" + } + ], + "P1566": [ + { + "value": "6320197", + "type": "string" + } + ], + "P94": [ + { + "value": "Brasão de Passa-e-Fica-RN, Brasil.png", + "type": "string" + } + ], + "P1585": [ + { + "value": "2409100", + "type": "string" + } + ], + "P1082": [ + { + "value": { + "amount": "+11100", + "unit": "1" + }, + "type": "quantity" + } + ], + "P242": [ + { + "value": "RioGrandedoNorte Municip PassaeFica.svg", + "type": "string" + } + ], + "P2044": [ + { + "value": { + "amount": "+160", + "unit": "http://www.wikidata.org/entity/Q11573" + }, + "type": "quantity" + } + ], + "P2046": [ + { + "value": { + "amount": "+42.137", + "unit": "http://www.wikidata.org/entity/Q712226" + }, + "type": "quantity" + } + ], + "P1081": [ + { + "value": { + "amount": "+0.606", + "unit": "1" + }, + "type": "quantity" + } + ], + "P47": [ + { + "value": { + "entity-type": "item", + "numeric-id": 1816133, + "id": "Q1816133" + }, + "type": "wikibase-entityid" + } + ], + "P402": [ + { + "value": "301177", + "type": "string" + } + ] + } } \ No newline at end of file diff --git a/data/wikidata/RN/SerraCaiada.json b/data/wikidata/RN/SerraCaiada.json index 7f4bd397..4ab74d93 100644 --- a/data/wikidata/RN/SerraCaiada.json +++ b/data/wikidata/RN/SerraCaiada.json @@ -1,3 +1,119 @@ { - "claims": [] + "pageid": 2219878, + "ns": 0, + "type": "item", + "id": "Q2298053", + "claims": { + "P625": [ + { + "value": { + "latitude": -6.1058333333333, + "longitude": -35.712777777778, + "altitude": null, + "precision": 0.00027777777777778, + "globe": "http://www.wikidata.org/entity/Q2" + }, + "type": "globecoordinate" + } + ], + "P17": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + } + ], + "P131": [ + { + "value": { + "entity-type": "item", + "numeric-id": 43255, + "id": "Q43255" + }, + "type": "wikibase-entityid" + } + ], + "P31": [ + { + "value": { + "entity-type": "item", + "numeric-id": 3184121, + "id": "Q3184121" + }, + "type": "wikibase-entityid" + } + ], + "P373": [ + { + "value": "Serra Caiada", + "type": "string" + } + ], + "P1585": [ + { + "value": "2410306", + "type": "string" + } + ], + "P1082": [ + { + "value": { + "amount": "+8768", + "unit": "1" + }, + "type": "quantity" + } + ], + "P856": [ + { + "value": "http://serracaiada.rn.gov.br/", + "type": "string" + } + ], + "P2046": [ + { + "value": { + "amount": "+167.348", + "unit": "http://www.wikidata.org/entity/Q712226" + }, + "type": "quantity" + } + ], + "P1081": [ + { + "value": { + "amount": "+0.563", + "unit": "1" + }, + "type": "quantity" + } + ], + "P47": [ + { + "value": { + "entity-type": "item", + "numeric-id": 1786778, + "id": "Q1786778" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 2011631, + "id": "Q2011631" + }, + "type": "wikibase-entityid" + } + ], + "P402": [ + { + "value": "301141", + "type": "string" + } + ] + } } \ No newline at end of file diff --git a/data/wikidata/RR/SaoLuiz.json b/data/wikidata/RR/SaoLuiz.json index 7f4bd397..48bb1b9c 100644 --- a/data/wikidata/RR/SaoLuiz.json +++ b/data/wikidata/RR/SaoLuiz.json @@ -1,3 +1,212 @@ { - "claims": [] + "pageid": 1580824, + "ns": 0, + "type": "item", + "id": "Q1646919", + "claims": { + "P910": [ + { + "value": { + "entity-type": "item", + "numeric-id": 14866902, + "id": "Q14866902" + }, + "type": "wikibase-entityid" + } + ], + "P41": [ + { + "value": "Saoluizdoparaitinga bandeira.png", + "type": "string" + } + ], + "P625": [ + { + "value": { + "latitude": -23.221944444444, + "longitude": -45.31, + "altitude": null, + "precision": 0.00027777777777778, + "globe": "http://www.wikidata.org/entity/Q2" + }, + "type": "globecoordinate" + } + ], + "P17": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + } + ], + "P373": [ + { + "value": "São Luiz do Paraitinga", + "type": "string" + } + ], + "P948": [ + { + "value": "Largo do Teatro, São Luiz do Paraitinga.JPG", + "type": "string" + } + ], + "P646": [ + { + "value": "/m/094_b3", + "type": "string" + } + ], + "P131": [ + { + "value": { + "entity-type": "item", + "numeric-id": 175, + "id": "Q175" + }, + "type": "wikibase-entityid" + } + ], + "P31": [ + { + "value": { + "entity-type": "item", + "numeric-id": 515, + "id": "Q515" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 3184121, + "id": "Q3184121" + }, + "type": "wikibase-entityid" + } + ], + "P1566": [ + { + "value": "3448556", + "type": "string" + } + ], + "P1464": [ + { + "value": { + "entity-type": "item", + "numeric-id": 8750777, + "id": "Q8750777" + }, + "type": "wikibase-entityid" + } + ], + "P18": [ + { + "value": "R Monsenhor Ignacio Giolia Sao Luiz do Paraitinga.JPG", + "type": "string" + } + ], + "P47": [ + { + "value": { + "entity-type": "item", + "numeric-id": 170540, + "id": "Q170540" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 1003456, + "id": "Q1003456" + }, + "type": "wikibase-entityid" + } + ], + "P1585": [ + { + "value": "3550001", + "type": "string" + } + ], + "P1082": [ + { + "value": { + "amount": "+10429", + "unit": "1" + }, + "type": "quantity" + }, + { + "value": { + "amount": "+10731", + "unit": "1" + }, + "type": "quantity" + }, + { + "value": { + "amount": "+10397", + "unit": "1" + }, + "type": "quantity" + } + ], + "P242": [ + { + "value": "SaoPaulo Municip SaoLuizdoParaitinga.svg", + "type": "string" + } + ], + "P94": [ + { + "value": "Saoluizdoparaitinga brasao.png", + "type": "string" + } + ], + "P2044": [ + { + "value": { + "amount": "+741", + "unit": "http://www.wikidata.org/entity/Q11573" + }, + "type": "quantity" + } + ], + "P1081": [ + { + "value": { + "amount": "+0.754", + "unit": "1" + }, + "type": "quantity" + } + ], + "P2046": [ + { + "value": { + "amount": "+617.148", + "unit": "http://www.wikidata.org/entity/Q712226" + }, + "type": "quantity" + } + ], + "P281": [ + { + "value": "12140-000", + "type": "string" + } + ], + "P402": [ + { + "value": "297981", + "type": "string" + } + ] + } } \ No newline at end of file diff --git a/data/wikidata/RS/PintoBandeira.json b/data/wikidata/RS/PintoBandeira.json index 7f4bd397..f1c79979 100644 --- a/data/wikidata/RS/PintoBandeira.json +++ b/data/wikidata/RS/PintoBandeira.json @@ -1,3 +1,123 @@ { - "claims": [] + "pageid": 11654413, + "ns": 0, + "type": "item", + "id": "Q10349880", + "claims": { + "P625": [ + { + "value": { + "latitude": -29.09777778, + "longitude": -51.45027778, + "altitude": null, + "precision": 1.0e-5, + "globe": "http://www.wikidata.org/entity/Q2" + }, + "type": "globecoordinate" + } + ], + "P31": [ + { + "value": { + "entity-type": "item", + "numeric-id": 3184121, + "id": "Q3184121" + }, + "type": "wikibase-entityid" + } + ], + "P1585": [ + { + "value": "4314548", + "type": "string" + } + ], + "P131": [ + { + "value": { + "entity-type": "item", + "numeric-id": 40030, + "id": "Q40030" + }, + "type": "wikibase-entityid" + } + ], + "P1566": [ + { + "value": "8581574", + "type": "string" + } + ], + "P1997": [ + { + "value": "109090162453273", + "type": "string" + } + ], + "P17": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + } + ], + "P2044": [ + { + "value": { + "amount": "+593", + "unit": "http://www.wikidata.org/entity/Q11573" + }, + "type": "quantity" + } + ], + "P2046": [ + { + "value": { + "amount": "+101", + "unit": "http://www.wikidata.org/entity/Q712226" + }, + "type": "quantity" + } + ], + "P281": [ + { + "value": "95717-000", + "type": "string" + } + ], + "P1082": [ + { + "value": { + "amount": "+2868", + "unit": "1" + }, + "type": "quantity" + } + ], + "P47": [ + { + "value": { + "entity-type": "item", + "numeric-id": 548652, + "id": "Q548652" + }, + "type": "wikibase-entityid" + } + ], + "P373": [ + { + "value": "Pinto Bandeira", + "type": "string" + } + ], + "P402": [ + { + "value": "3059155", + "type": "string" + } + ] + } } \ No newline at end of file diff --git a/data/wikidata/RS/SantAnaLivramento.json b/data/wikidata/RS/SantAnaLivramento.json index 7f4bd397..cf04fc1b 100644 --- a/data/wikidata/RS/SantAnaLivramento.json +++ b/data/wikidata/RS/SantAnaLivramento.json @@ -1,3 +1,178 @@ { - "claims": [] + "pageid": 868129, + "ns": 0, + "type": "item", + "id": "Q917693", + "claims": { + "P190": [ + { + "value": { + "entity-type": "item", + "numeric-id": 646498, + "id": "Q646498" + }, + "type": "wikibase-entityid" + } + ], + "P373": [ + { + "value": "Santana do Livramento", + "type": "string" + } + ], + "P625": [ + { + "value": { + "latitude": -30.890833333333, + "longitude": -55.532777777778, + "altitude": null, + "precision": 0.00027777777777778, + "globe": "http://www.wikidata.org/entity/Q2" + }, + "type": "globecoordinate" + } + ], + "P17": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + } + ], + "P131": [ + { + "value": { + "entity-type": "item", + "numeric-id": 40030, + "id": "Q40030" + }, + "type": "wikibase-entityid" + } + ], + "P31": [ + { + "value": { + "entity-type": "item", + "numeric-id": 3184121, + "id": "Q3184121" + }, + "type": "wikibase-entityid" + } + ], + "P646": [ + { + "value": "/m/0f6z10", + "type": "string" + } + ], + "P94": [ + { + "value": "Coat of arms of santana do livramento, RS.jpg", + "type": "string" + } + ], + "P1566": [ + { + "value": "6323603", + "type": "string" + } + ], + "P910": [ + { + "value": { + "entity-type": "item", + "numeric-id": 13320408, + "id": "Q13320408" + }, + "type": "wikibase-entityid" + } + ], + "P214": [ + { + "value": "130226967", + "type": "string" + } + ], + "P1281": [ + { + "value": "455989", + "type": "string" + } + ], + "P1585": [ + { + "value": "4317103", + "type": "string" + } + ], + "P1082": [ + { + "value": { + "amount": "+83324", + "unit": "1" + }, + "type": "quantity" + } + ], + "P242": [ + { + "value": "RioGrandedoSul Municip SantanadoLivramento.svg", + "type": "string" + } + ], + "P41": [ + { + "value": "Flag of Santana do Livramento.jpg", + "type": "string" + } + ], + "P2044": [ + { + "value": { + "amount": "+208", + "unit": "http://www.wikidata.org/entity/Q11573" + }, + "type": "quantity" + } + ], + "P18": [ + { + "value": "Santana do Livramento from the border.jpg", + "type": "string" + } + ], + "P948": [ + { + "value": "Santana do Livramento banner Praça Internacional.jpg", + "type": "string" + } + ], + "P2046": [ + { + "value": { + "amount": "+6950.370", + "unit": "http://www.wikidata.org/entity/Q712226" + }, + "type": "quantity" + } + ], + "P1081": [ + { + "value": { + "amount": "+0.803", + "unit": "1" + }, + "type": "quantity" + } + ], + "P402": [ + { + "value": "242451", + "type": "string" + } + ] + } } \ No newline at end of file diff --git a/data/wikidata/SC/BalnearioRincao.json b/data/wikidata/SC/BalnearioRincao.json index 7f4bd397..835ce233 100644 --- a/data/wikidata/SC/BalnearioRincao.json +++ b/data/wikidata/SC/BalnearioRincao.json @@ -1,3 +1,133 @@ { - "claims": [] + "pageid": 2758551, + "ns": 0, + "type": "item", + "id": "Q2881477", + "claims": { + "P17": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + } + ], + "P131": [ + { + "value": { + "entity-type": "item", + "numeric-id": 41115, + "id": "Q41115" + }, + "type": "wikibase-entityid" + } + ], + "P625": [ + { + "value": { + "latitude": -28.83444444, + "longitude": -49.23611111, + "altitude": null, + "precision": 0.00027777777777778, + "globe": "http://www.wikidata.org/entity/Q2" + }, + "type": "globecoordinate" + } + ], + "P31": [ + { + "value": { + "entity-type": "item", + "numeric-id": 3184121, + "id": "Q3184121" + }, + "type": "wikibase-entityid" + } + ], + "P646": [ + { + "value": "/m/0pmg27p", + "type": "string" + } + ], + "P1566": [ + { + "value": "8581575", + "type": "string" + } + ], + "P373": [ + { + "value": "Balneário Rincão", + "type": "string" + } + ], + "P1585": [ + { + "value": "4220000", + "type": "string" + } + ], + "P18": [ + { + "value": "Lagoadojacaré2.JPG", + "type": "string" + } + ], + "P421": [ + { + "value": { + "entity-type": "item", + "numeric-id": 6513, + "id": "Q6513" + }, + "type": "wikibase-entityid" + } + ], + "P2044": [ + { + "value": { + "amount": "+7", + "unit": "http://www.wikidata.org/entity/Q11573" + }, + "type": "quantity" + } + ], + "P2046": [ + { + "value": { + "amount": "+64.63", + "unit": "http://www.wikidata.org/entity/Q712226" + }, + "type": "quantity" + } + ], + "P1082": [ + { + "value": { + "amount": "+12403", + "unit": "1" + }, + "type": "quantity" + } + ], + "P47": [ + { + "value": { + "entity-type": "item", + "numeric-id": 626231, + "id": "Q626231" + }, + "type": "wikibase-entityid" + } + ], + "P402": [ + { + "value": "3059132", + "type": "string" + } + ] + } } \ No newline at end of file diff --git a/data/wikidata/SC/LuizAlves.json b/data/wikidata/SC/LuizAlves.json index 7f4bd397..2a282a76 100644 --- a/data/wikidata/SC/LuizAlves.json +++ b/data/wikidata/SC/LuizAlves.json @@ -1,3 +1,160 @@ { - "claims": [] + "pageid": 1716010, + "ns": 0, + "type": "item", + "id": "Q1784358", + "claims": { + "P17": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + } + ], + "P373": [ + { + "value": "Luiz Alves", + "type": "string" + } + ], + "P625": [ + { + "value": { + "latitude": -26.720833333333, + "longitude": -48.932777777778, + "altitude": null, + "precision": 0.00027777777777778, + "globe": "http://www.wikidata.org/entity/Q2" + }, + "type": "globecoordinate" + } + ], + "P131": [ + { + "value": { + "entity-type": "item", + "numeric-id": 41115, + "id": "Q41115" + }, + "type": "wikibase-entityid" + } + ], + "P31": [ + { + "value": { + "entity-type": "item", + "numeric-id": 3184121, + "id": "Q3184121" + }, + "type": "wikibase-entityid" + } + ], + "P646": [ + { + "value": "/m/09rt890", + "type": "string" + } + ], + "P1566": [ + { + "value": "3458367", + "type": "string" + } + ], + "P1585": [ + { + "value": "4210001", + "type": "string" + } + ], + "P1082": [ + { + "value": { + "amount": "+10438", + "unit": "1" + }, + "type": "quantity" + } + ], + "P242": [ + { + "value": "SantaCatarina Municip LuizAlves.svg", + "type": "string" + } + ], + "P41": [ + { + "value": "Bandeira LA.jpg", + "type": "string" + } + ], + "P910": [ + { + "value": { + "entity-type": "item", + "numeric-id": 25973699, + "id": "Q25973699" + }, + "type": "wikibase-entityid" + } + ], + "P94": [ + { + "value": "Escudo LA.jpg", + "type": "string" + } + ], + "P2044": [ + { + "value": { + "amount": "+70", + "unit": "http://www.wikidata.org/entity/Q11573" + }, + "type": "quantity" + } + ], + "P2046": [ + { + "value": { + "amount": "+260.079", + "unit": "http://www.wikidata.org/entity/Q712226" + }, + "type": "quantity" + } + ], + "P281": [ + { + "value": "89115-000", + "type": "string" + } + ], + "P1081": [ + { + "value": { + "amount": "+0.737", + "unit": "1" + }, + "type": "quantity" + } + ], + "P47": [ + { + "value": { + "entity-type": "item", + "numeric-id": 808787, + "id": "Q808787" + }, + "type": "wikibase-entityid" + } + ], + "P402": [ + { + "value": "296592", + "type": "string" + } + ] + } } \ No newline at end of file diff --git a/data/wikidata/SC/PescariaBrava.json b/data/wikidata/SC/PescariaBrava.json index 7f4bd397..61c6d4f0 100644 --- a/data/wikidata/SC/PescariaBrava.json +++ b/data/wikidata/SC/PescariaBrava.json @@ -1,3 +1,129 @@ { - "claims": [] + "pageid": 2996687, + "ns": 0, + "type": "item", + "id": "Q3136609", + "claims": { + "P17": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + } + ], + "P131": [ + { + "value": { + "entity-type": "item", + "numeric-id": 41115, + "id": "Q41115" + }, + "type": "wikibase-entityid" + } + ], + "P31": [ + { + "value": { + "entity-type": "item", + "numeric-id": 3184121, + "id": "Q3184121" + }, + "type": "wikibase-entityid" + } + ], + "P625": [ + { + "value": { + "latitude": -28.38333333, + "longitude": -48.88333333, + "altitude": null, + "precision": 0.016666666666667, + "globe": "http://www.wikidata.org/entity/Q2" + }, + "type": "globecoordinate" + } + ], + "P646": [ + { + "value": "/m/0pmdnk_", + "type": "string" + } + ], + "P1566": [ + { + "value": "3454048", + "type": "string" + } + ], + "P373": [ + { + "value": "Pescaria Brava", + "type": "string" + } + ], + "P1281": [ + { + "value": "443948", + "type": "string" + } + ], + "P1585": [ + { + "value": "4212650", + "type": "string" + } + ], + "P18": [ + { + "value": "IgrejaSenhorBomJesusSocorro.jpg", + "type": "string" + } + ], + "P2044": [ + { + "value": { + "amount": "+6", + "unit": "http://www.wikidata.org/entity/Q11573" + }, + "type": "quantity" + } + ], + "P2046": [ + { + "value": { + "amount": "+120.6", + "unit": "http://www.wikidata.org/entity/Q712226" + }, + "type": "quantity" + } + ], + "P1082": [ + { + "value": { + "amount": "+9980", + "unit": "1" + }, + "type": "quantity" + } + ], + "P47": [ + { + "value": { + "entity-type": "item", + "numeric-id": 1750764, + "id": "Q1750764" + }, + "type": "wikibase-entityid" + } + ], + "P402": [ + { + "value": "3059133", + "type": "string" + } + ] + } } \ No newline at end of file diff --git a/data/wikidata/SC/PresidenteCastelloBranco.json b/data/wikidata/SC/PresidenteCastelloBranco.json index 7f4bd397..5fae9185 100644 --- a/data/wikidata/SC/PresidenteCastelloBranco.json +++ b/data/wikidata/SC/PresidenteCastelloBranco.json @@ -1,3 +1,133 @@ { - "claims": [] + "pageid": 1746716, + "ns": 0, + "type": "item", + "id": "Q1815669", + "claims": { + "P17": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + } + ], + "P373": [ + { + "value": "Presidente Castelo Branco (Santa Catarina)", + "type": "string" + } + ], + "P625": [ + { + "value": { + "latitude": -27.222777777778, + "longitude": -51.806944444444, + "altitude": null, + "precision": 0.00027777777777778, + "globe": "http://www.wikidata.org/entity/Q2" + }, + "type": "globecoordinate" + } + ], + "P131": [ + { + "value": { + "entity-type": "item", + "numeric-id": 41115, + "id": "Q41115" + }, + "type": "wikibase-entityid" + } + ], + "P31": [ + { + "value": { + "entity-type": "item", + "numeric-id": 3184121, + "id": "Q3184121" + }, + "type": "wikibase-entityid" + } + ], + "P646": [ + { + "value": "/m/09rx3yr", + "type": "string" + } + ], + "P1566": [ + { + "value": "6318053", + "type": "string" + } + ], + "P1585": [ + { + "value": "4213906", + "type": "string" + } + ], + "P1082": [ + { + "value": { + "amount": "+1725", + "unit": "1" + }, + "type": "quantity" + } + ], + "P242": [ + { + "value": "SantaCatarina Municip CasteloBranco.png", + "type": "string" + } + ], + "P2044": [ + { + "value": { + "amount": "+650", + "unit": "http://www.wikidata.org/entity/Q11573" + }, + "type": "quantity" + } + ], + "P2046": [ + { + "value": { + "amount": "+76.940", + "unit": "http://www.wikidata.org/entity/Q712226" + }, + "type": "quantity" + } + ], + "P47": [ + { + "value": { + "entity-type": "item", + "numeric-id": 612795, + "id": "Q612795" + }, + "type": "wikibase-entityid" + } + ], + "P138": [ + { + "value": { + "entity-type": "item", + "numeric-id": 294430, + "id": "Q294430" + }, + "type": "wikibase-entityid" + } + ], + "P402": [ + { + "value": "296550", + "type": "string" + } + ] + } } \ No newline at end of file diff --git a/data/wikidata/SE/GrachoCardoso.json b/data/wikidata/SE/GrachoCardoso.json index 7f4bd397..923bb91c 100644 --- a/data/wikidata/SE/GrachoCardoso.json +++ b/data/wikidata/SE/GrachoCardoso.json @@ -1,3 +1,142 @@ { - "claims": [] + "pageid": 609215, + "ns": 0, + "type": "item", + "id": "Q647366", + "claims": { + "P625": [ + { + "value": { + "latitude": -10.226944444444, + "longitude": -37.197777777778, + "altitude": null, + "precision": 0.00027777777777778, + "globe": "http://www.wikidata.org/entity/Q2" + }, + "type": "globecoordinate" + } + ], + "P17": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + } + ], + "P131": [ + { + "value": { + "entity-type": "item", + "numeric-id": 43783, + "id": "Q43783" + }, + "type": "wikibase-entityid" + } + ], + "P31": [ + { + "value": { + "entity-type": "item", + "numeric-id": 3184121, + "id": "Q3184121" + }, + "type": "wikibase-entityid" + } + ], + "P646": [ + { + "value": "/m/027jznk", + "type": "string" + } + ], + "P1566": [ + { + "value": "6324316", + "type": "string" + } + ], + "P373": [ + { + "value": "Graccho Cardoso", + "type": "string" + } + ], + "P1585": [ + { + "value": "2802601", + "type": "string" + } + ], + "P1082": [ + { + "value": { + "amount": "+5645", + "unit": "1" + }, + "type": "quantity" + } + ], + "P242": [ + { + "value": "Sergipe Municip GrachoCardoso2.JPG", + "type": "string" + } + ], + "P2044": [ + { + "value": { + "amount": "+242", + "unit": "http://www.wikidata.org/entity/Q11573" + }, + "type": "quantity" + } + ], + "P1081": [ + { + "value": { + "amount": "+0.577", + "unit": "1" + }, + "type": "quantity" + } + ], + "P2046": [ + { + "value": { + "amount": "+242.148", + "unit": "http://www.wikidata.org/entity/Q712226" + }, + "type": "quantity" + } + ], + "P138": [ + { + "value": { + "entity-type": "item", + "numeric-id": 10327643, + "id": "Q10327643" + }, + "type": "wikibase-entityid" + } + ], + "P47": [ + { + "value": { + "entity-type": "item", + "numeric-id": 2013098, + "id": "Q2013098" + }, + "type": "wikibase-entityid" + } + ], + "P402": [ + { + "value": "303911", + "type": "string" + } + ] + } } \ No newline at end of file diff --git a/data/wikidata/SP/EmbuArtes.json b/data/wikidata/SP/EmbuArtes.json index 7f4bd397..92215031 100644 --- a/data/wikidata/SP/EmbuArtes.json +++ b/data/wikidata/SP/EmbuArtes.json @@ -1,3 +1,230 @@ { - "claims": [] + "pageid": 613509, + "ns": 0, + "type": "item", + "id": "Q651860", + "claims": { + "P190": [ + { + "value": { + "entity-type": "item", + "numeric-id": 1208020, + "id": "Q1208020" + }, + "type": "wikibase-entityid" + } + ], + "P41": [ + { + "value": "BandeiraEmbu.jpg", + "type": "string" + } + ], + "P373": [ + { + "value": "Embu das Artes", + "type": "string" + } + ], + "P17": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + } + ], + "P625": [ + { + "value": { + "latitude": -23.648888888889, + "longitude": -46.851944444444, + "altitude": null, + "precision": null, + "globe": "http://www.wikidata.org/entity/Q2" + }, + "type": "globecoordinate" + } + ], + "P646": [ + { + "value": "/m/03_s9z", + "type": "string" + } + ], + "P131": [ + { + "value": { + "entity-type": "item", + "numeric-id": 175, + "id": "Q175" + }, + "type": "wikibase-entityid" + } + ], + "P31": [ + { + "value": { + "entity-type": "item", + "numeric-id": 515, + "id": "Q515" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 3184121, + "id": "Q3184121" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 10277595, + "id": "Q10277595" + }, + "type": "wikibase-entityid" + } + ], + "P1566": [ + { + "value": "3464305", + "type": "string" + } + ], + "P214": [ + { + "value": "140734256", + "type": "string" + } + ], + "P2044": [ + { + "value": { + "amount": "+775", + "unit": "http://www.wikidata.org/entity/Q11573", + "upperBound": "+776", + "lowerBound": "+774" + }, + "type": "quantity" + } + ], + "P948": [ + { + "value": "Embu das artes banner.jpg", + "type": "string" + } + ], + "P47": [ + { + "value": { + "entity-type": "item", + "numeric-id": 669305, + "id": "Q669305" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 174, + "id": "Q174" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 926662, + "id": "Q926662" + }, + "type": "wikibase-entityid" + } + ], + "P18": [ + { + "value": "Embu-sp-br02.jpg", + "type": "string" + } + ], + "P94": [ + { + "value": "Brasão de Embu das Artes.jpg", + "type": "string" + } + ], + "P1585": [ + { + "value": "3515004", + "type": "string" + } + ], + "P1082": [ + { + "value": { + "amount": "+207663", + "unit": "1" + }, + "type": "quantity" + }, + { + "value": { + "amount": "+261781", + "unit": "1" + }, + "type": "quantity" + }, + { + "value": { + "amount": "+240230", + "unit": "1" + }, + "type": "quantity" + } + ], + "P242": [ + { + "value": "SaoPaulo Municip Embu.svg", + "type": "string" + } + ], + "P910": [ + { + "value": { + "entity-type": "item", + "numeric-id": 27612425, + "id": "Q27612425" + }, + "type": "wikibase-entityid" + } + ], + "P2046": [ + { + "value": { + "amount": "+70.079", + "unit": "http://www.wikidata.org/entity/Q712226" + }, + "type": "quantity" + } + ], + "P1081": [ + { + "value": { + "amount": "+0.735", + "unit": "1" + }, + "type": "quantity" + } + ], + "P402": [ + { + "value": "298498", + "type": "string" + } + ] + } } \ No newline at end of file diff --git a/data/wikidata/SP/Florinia.json b/data/wikidata/SP/Florinia.json index 7f4bd397..3e2a3c51 100644 --- a/data/wikidata/SP/Florinia.json +++ b/data/wikidata/SP/Florinia.json @@ -1,3 +1,160 @@ { - "claims": [] + "pageid": 1693587, + "ns": 0, + "type": "item", + "id": "Q1761119", + "claims": { + "P17": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + } + ], + "P625": [ + { + "value": { + "latitude": -22.902777777778, + "longitude": -50.737777777778, + "altitude": null, + "precision": 0.00027777777777778, + "globe": "http://www.wikidata.org/entity/Q2" + }, + "type": "globecoordinate" + } + ], + "P373": [ + { + "value": "Florínea", + "type": "string" + } + ], + "P646": [ + { + "value": "/m/03_z6p", + "type": "string" + } + ], + "P131": [ + { + "value": { + "entity-type": "item", + "numeric-id": 175, + "id": "Q175" + }, + "type": "wikibase-entityid" + } + ], + "P31": [ + { + "value": { + "entity-type": "item", + "numeric-id": 515, + "id": "Q515" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 3184121, + "id": "Q3184121" + }, + "type": "wikibase-entityid" + } + ], + "P1566": [ + { + "value": "6322243", + "type": "string" + } + ], + "P1585": [ + { + "value": "3516101", + "type": "string" + } + ], + "P1082": [ + { + "value": { + "amount": "+3127", + "unit": "1" + }, + "type": "quantity" + }, + { + "value": { + "amount": "+2799", + "unit": "1" + }, + "type": "quantity" + }, + { + "value": { + "amount": "+2829", + "unit": "1" + }, + "type": "quantity" + } + ], + "P242": [ + { + "value": "SaoPaulo Municip Florinia.svg", + "type": "string" + } + ], + "P41": [ + { + "value": "Bandeira Florínea.png", + "type": "string" + } + ], + "P2044": [ + { + "value": { + "amount": "+360", + "unit": "http://www.wikidata.org/entity/Q11573" + }, + "type": "quantity" + } + ], + "P2046": [ + { + "value": { + "amount": "+227.359", + "unit": "http://www.wikidata.org/entity/Q712226" + }, + "type": "quantity" + } + ], + "P1081": [ + { + "value": { + "amount": "+0.713", + "unit": "1" + }, + "type": "quantity" + } + ], + "P47": [ + { + "value": { + "entity-type": "item", + "numeric-id": 1649959, + "id": "Q1649959" + }, + "type": "wikibase-entityid" + } + ], + "P402": [ + { + "value": "298187", + "type": "string" + } + ] + } } \ No newline at end of file diff --git a/data/wikidata/SP/Luiziania.json b/data/wikidata/SP/Luiziania.json index 7f4bd397..8e248b41 100644 --- a/data/wikidata/SP/Luiziania.json +++ b/data/wikidata/SP/Luiziania.json @@ -1,3 +1,168 @@ { - "claims": [] + "pageid": 1693526, + "ns": 0, + "type": "item", + "id": "Q1761054", + "claims": { + "P625": [ + { + "value": { + "latitude": -21.675833333333, + "longitude": -50.326666666667, + "altitude": null, + "precision": null, + "globe": "http://www.wikidata.org/entity/Q2" + }, + "type": "globecoordinate" + } + ], + "P17": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + } + ], + "P646": [ + { + "value": "/m/041pmf", + "type": "string" + } + ], + "P131": [ + { + "value": { + "entity-type": "item", + "numeric-id": 175, + "id": "Q175" + }, + "type": "wikibase-entityid" + } + ], + "P31": [ + { + "value": { + "entity-type": "item", + "numeric-id": 515, + "id": "Q515" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 3184121, + "id": "Q3184121" + }, + "type": "wikibase-entityid" + } + ], + "P1566": [ + { + "value": "3458354", + "type": "string" + } + ], + "P373": [ + { + "value": "Luiziânia", + "type": "string" + } + ], + "P1585": [ + { + "value": "3527702", + "type": "string" + } + ], + "P1082": [ + { + "value": { + "amount": "+4274", + "unit": "1" + }, + "type": "quantity" + }, + { + "value": { + "amount": "+5511", + "unit": "1" + }, + "type": "quantity" + }, + { + "value": { + "amount": "+5030", + "unit": "1" + }, + "type": "quantity" + } + ], + "P242": [ + { + "value": "SaoPaulo Municip Luiziania.svg", + "type": "string" + } + ], + "P41": [ + { + "value": "Bandeira de Luiziânia.jpg", + "type": "string" + } + ], + "P2044": [ + { + "value": { + "amount": "+426", + "unit": "http://www.wikidata.org/entity/Q11573" + }, + "type": "quantity" + } + ], + "P2046": [ + { + "value": { + "amount": "+167.008", + "unit": "http://www.wikidata.org/entity/Q712226" + }, + "type": "quantity" + } + ], + "P1081": [ + { + "value": { + "amount": "+0.762", + "unit": "1" + }, + "type": "quantity" + } + ], + "P47": [ + { + "value": { + "entity-type": "item", + "numeric-id": 390022, + "id": "Q390022" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 1222856, + "id": "Q1222856" + }, + "type": "wikibase-entityid" + } + ], + "P402": [ + { + "value": "297954", + "type": "string" + } + ] + } } \ No newline at end of file diff --git a/data/wikidata/SP/MogiMirim.json b/data/wikidata/SP/MogiMirim.json index 7f4bd397..45437082 100644 --- a/data/wikidata/SP/MogiMirim.json +++ b/data/wikidata/SP/MogiMirim.json @@ -1,3 +1,202 @@ { - "claims": [] + "pageid": 564984, + "ns": 0, + "type": "item", + "id": "Q600310", + "claims": { + "P17": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + } + ], + "P94": [ + { + "value": "Brasao Moji-Mirim.jpg", + "type": "string" + } + ], + "P625": [ + { + "value": { + "latitude": -22.431944444444, + "longitude": -46.957777777778, + "altitude": null, + "precision": 0.00027777777777778, + "globe": "http://www.wikidata.org/entity/Q2" + }, + "type": "globecoordinate" + } + ], + "P646": [ + { + "value": "/m/042mdn", + "type": "string" + } + ], + "P131": [ + { + "value": { + "entity-type": "item", + "numeric-id": 175, + "id": "Q175" + }, + "type": "wikibase-entityid" + } + ], + "P31": [ + { + "value": { + "entity-type": "item", + "numeric-id": 515, + "id": "Q515" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 3184121, + "id": "Q3184121" + }, + "type": "wikibase-entityid" + } + ], + "P1566": [ + { + "value": "3456998", + "type": "string" + } + ], + "P1464": [ + { + "value": { + "entity-type": "item", + "numeric-id": 17273710, + "id": "Q17273710" + }, + "type": "wikibase-entityid" + } + ], + "P373": [ + { + "value": "Mogi Mirim", + "type": "string" + } + ], + "P910": [ + { + "value": { + "entity-type": "item", + "numeric-id": 17273705, + "id": "Q17273705" + }, + "type": "wikibase-entityid" + } + ], + "P2044": [ + { + "value": { + "amount": "+611", + "unit": "http://www.wikidata.org/entity/Q11573", + "upperBound": "+612", + "lowerBound": "+610" + }, + "type": "quantity" + } + ], + "P1585": [ + { + "value": "3530805", + "type": "string" + } + ], + "P1082": [ + { + "value": { + "amount": "+81467", + "unit": "1" + }, + "type": "quantity" + }, + { + "value": { + "amount": "+91483", + "unit": "1" + }, + "type": "quantity" + }, + { + "value": { + "amount": "+86505", + "unit": "1" + }, + "type": "quantity" + } + ], + "P242": [ + { + "value": "SaoPaulo Municip MojiMirim.svg", + "type": "string" + } + ], + "P18": [ + { + "value": "Praça São josé2.jpg", + "type": "string" + } + ], + "P3417": [ + { + "value": "Mogi-Mirim", + "type": "string" + } + ], + "P2046": [ + { + "value": { + "amount": "+499", + "unit": "http://www.wikidata.org/entity/Q712226" + }, + "type": "quantity" + } + ], + "P1081": [ + { + "value": { + "amount": "+0.784", + "unit": "1" + }, + "type": "quantity" + } + ], + "P47": [ + { + "value": { + "entity-type": "item", + "numeric-id": 956172, + "id": "Q956172" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 1760028, + "id": "Q1760028" + }, + "type": "wikibase-entityid" + } + ], + "P402": [ + { + "value": "298036", + "type": "string" + } + ] + } } \ No newline at end of file diff --git a/data/wikidata/SP/SaoLuisParaitinga.json b/data/wikidata/SP/SaoLuisParaitinga.json index 7f4bd397..48bb1b9c 100644 --- a/data/wikidata/SP/SaoLuisParaitinga.json +++ b/data/wikidata/SP/SaoLuisParaitinga.json @@ -1,3 +1,212 @@ { - "claims": [] + "pageid": 1580824, + "ns": 0, + "type": "item", + "id": "Q1646919", + "claims": { + "P910": [ + { + "value": { + "entity-type": "item", + "numeric-id": 14866902, + "id": "Q14866902" + }, + "type": "wikibase-entityid" + } + ], + "P41": [ + { + "value": "Saoluizdoparaitinga bandeira.png", + "type": "string" + } + ], + "P625": [ + { + "value": { + "latitude": -23.221944444444, + "longitude": -45.31, + "altitude": null, + "precision": 0.00027777777777778, + "globe": "http://www.wikidata.org/entity/Q2" + }, + "type": "globecoordinate" + } + ], + "P17": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + } + ], + "P373": [ + { + "value": "São Luiz do Paraitinga", + "type": "string" + } + ], + "P948": [ + { + "value": "Largo do Teatro, São Luiz do Paraitinga.JPG", + "type": "string" + } + ], + "P646": [ + { + "value": "/m/094_b3", + "type": "string" + } + ], + "P131": [ + { + "value": { + "entity-type": "item", + "numeric-id": 175, + "id": "Q175" + }, + "type": "wikibase-entityid" + } + ], + "P31": [ + { + "value": { + "entity-type": "item", + "numeric-id": 515, + "id": "Q515" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 3184121, + "id": "Q3184121" + }, + "type": "wikibase-entityid" + } + ], + "P1566": [ + { + "value": "3448556", + "type": "string" + } + ], + "P1464": [ + { + "value": { + "entity-type": "item", + "numeric-id": 8750777, + "id": "Q8750777" + }, + "type": "wikibase-entityid" + } + ], + "P18": [ + { + "value": "R Monsenhor Ignacio Giolia Sao Luiz do Paraitinga.JPG", + "type": "string" + } + ], + "P47": [ + { + "value": { + "entity-type": "item", + "numeric-id": 170540, + "id": "Q170540" + }, + "type": "wikibase-entityid" + }, + { + "value": { + "entity-type": "item", + "numeric-id": 1003456, + "id": "Q1003456" + }, + "type": "wikibase-entityid" + } + ], + "P1585": [ + { + "value": "3550001", + "type": "string" + } + ], + "P1082": [ + { + "value": { + "amount": "+10429", + "unit": "1" + }, + "type": "quantity" + }, + { + "value": { + "amount": "+10731", + "unit": "1" + }, + "type": "quantity" + }, + { + "value": { + "amount": "+10397", + "unit": "1" + }, + "type": "quantity" + } + ], + "P242": [ + { + "value": "SaoPaulo Municip SaoLuizdoParaitinga.svg", + "type": "string" + } + ], + "P94": [ + { + "value": "Saoluizdoparaitinga brasao.png", + "type": "string" + } + ], + "P2044": [ + { + "value": { + "amount": "+741", + "unit": "http://www.wikidata.org/entity/Q11573" + }, + "type": "quantity" + } + ], + "P1081": [ + { + "value": { + "amount": "+0.754", + "unit": "1" + }, + "type": "quantity" + } + ], + "P2046": [ + { + "value": { + "amount": "+617.148", + "unit": "http://www.wikidata.org/entity/Q712226" + }, + "type": "quantity" + } + ], + "P281": [ + { + "value": "12140-000", + "type": "string" + } + ], + "P402": [ + { + "value": "297981", + "type": "string" + } + ] + } } \ No newline at end of file diff --git a/data/wikidata/TO/SaoValerioNatividade.json b/data/wikidata/TO/SaoValerioNatividade.json index 7f4bd397..889f945f 100644 --- a/data/wikidata/TO/SaoValerioNatividade.json +++ b/data/wikidata/TO/SaoValerioNatividade.json @@ -1,3 +1,128 @@ { - "claims": [] + "pageid": 1732780, + "ns": 0, + "type": "item", + "id": "Q1801542", + "claims": { + "P17": [ + { + "value": { + "entity-type": "item", + "numeric-id": 155, + "id": "Q155" + }, + "type": "wikibase-entityid" + } + ], + "P625": [ + { + "value": { + "latitude": -11.975, + "longitude": -48.233888888889, + "altitude": null, + "precision": 0.00027777777777778, + "globe": "http://www.wikidata.org/entity/Q2" + }, + "type": "globecoordinate" + } + ], + "P131": [ + { + "value": { + "entity-type": "item", + "numeric-id": 43695, + "id": "Q43695" + }, + "type": "wikibase-entityid" + } + ], + "P31": [ + { + "value": { + "entity-type": "item", + "numeric-id": 3184121, + "id": "Q3184121" + }, + "type": "wikibase-entityid" + } + ], + "P646": [ + { + "value": "/m/09rvp1t", + "type": "string" + } + ], + "P1566": [ + { + "value": "3479320", + "type": "string" + } + ], + "P373": [ + { + "value": "São Valério da Natividade", + "type": "string" + } + ], + "P1585": [ + { + "value": "1720499", + "type": "string" + } + ], + "P1082": [ + { + "value": { + "amount": "+4383", + "unit": "1" + }, + "type": "quantity" + } + ], + "P242": [ + { + "value": "Tocantins Municip SaoValeriodaNatividade.svg", + "type": "string" + } + ], + "P856": [ + { + "value": "http://www.saovalerio.to.gov.br/", + "type": "string" + } + ], + "P2044": [ + { + "value": { + "amount": "+360", + "unit": "http://www.wikidata.org/entity/Q11573" + }, + "type": "quantity" + } + ], + "P2046": [ + { + "value": { + "amount": "+2519.572", + "unit": "http://www.wikidata.org/entity/Q712226" + }, + "type": "quantity" + } + ], + "P1081": [ + { + "value": { + "amount": "+0.674", + "unit": "1" + }, + "type": "quantity" + } + ], + "P402": [ + { + "value": "336764", + "type": "string" + } + ] + } } \ No newline at end of file diff --git a/src/etc/dumpWikidata.php b/src/etc/dumpWikidata.php index 4908a1bd..c93185b4 100644 --- a/src/etc/dumpWikidata.php +++ b/src/etc/dumpWikidata.php @@ -1,29 +1,37 @@ -- Generating backups of JSON-Wikidata -- =2); +$url = $localCsv + ? "$saveFolder/../br-city-codes.csv" + : 'https://github.com/datasets-br/city-codes/raw/master/data/br-city-codes.csv' +; +$fixErr = ($argc>=2)? 'MODO FIX-ERR': ''; +print "\n USANDO $fixErr $url"; + // LOAD DATA: $R = []; // [fname]= wdId if (($handle = fopen($url, "r")) !== FALSE) { - for($i=0; ($row=fgetcsv($handle)); $i++) + for($i=0; ($row=fgetcsv($handle)) && (!$stopAt || $i<$stopAt); $i++) if ($i && (!$UF ||$row[1]==$UF)) $R["$row[1]-".lex2filename($row[4])]=$row[2]; + // cols 0=name, 1=state, 2=wdId, 3=idIBGE, 4=lexLabel } else exit("\nERRO ao abrir planilha das cidades em \n\t$url\n"); if ($fixErr) foreach($R as $fname=>$wdId) { $fs = splitFilename($fname,true); if ($fs[2]>50) unset($R[$fname]); - //var_dump($fs); } -var_dump($R); die("\n"); - // WGET AND SAVE JSON: $i=1; $n=count($R); @@ -60,9 +68,10 @@ function ERRset($fname,$msg) { function json_stdWikidata($jstr) { if (!trim($jstr)) return ''; $j = json_decode($jstr,JSON_BIGINT_AS_STRING|JSON_OBJECT_AS_ARRAY); - if ( !isset($j['entities']) || !isset($j['entities']['claims']) ) return ''; + if ( !isset($j['entities']) ) return ''; $ks=array_keys($j['entities']); $j = $j['entities'][$ks[0]]; + if ( !isset($j['claims']) ) return ''; foreach(['lastrevid','modified','labels','descriptions','title','aliases','sitelinks'] as $r) unset($j[$r]); $a = []; foreach($j['claims'] as $k=>$r) {