Wikidata:Requests for permissions/Bot/Bekicot 2
The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section. A summary of the conclusions reached follows.
- Approved--Ymblanter (talk) 04:03, 19 August 2017 (UTC)[reply]
Bekicot 2[edit]
Bekicot (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: Yana agun (talk • contribs • logs)
Add GNS Unique Feature ID (P2326) GNS Unique Feature ID for Island in Indonesia Imported from ceb Wikipedia that has matching coordinate.
https://github.com/Wikimedia-ID/anak-pulau/tree/ceb-updater/indonesian_island_nga_updater
Function details:
Ceb Wikipedia contributed a lot to Indonesian Islands by automatically importing data from their Wikipedia articles. While this is good, the data doesn’t have an authoritative source that is written in there. The coordinate attribute is an integral attribute of the existence of the Island. Wrong value can result in misleading guidance.
While Ceb Wikipedia has to be imported it from authoritative references, but the bot failed to put it on the Wikipedia claims. It makes the data hard to be used by student/researcher.
This bot aims to fix that issue by adding GNS Unique Feature ID with value UFI id retrieved from http://geonames.nga.mil/namesgaz/ for each island item in Wikidata that has matching coordinate.
Before this task completed:
- 5628 islands of Indonesia that have the site link to ceb Wikipedia.
- 5625 islands of Indonesia that don't have GNS UFI Identifier
- 1452 islands has Exact Match with GNS island (25.8 %)
- 5273 islands has matching coordinate within radius of 0.001 km (93.74)%
- 5415 islands has matching coordinate within radius of 1 km (96.25%)
- 5597 islands has matching coordinate within radius of 5 km (99.5%)
exact match is calculated by converting the floats into strings and do a string comparison
radius calculation accomplished is using https://en.wikipedia.org/wiki/Haversine_formula.
This task aims to add GNS UFI Identifier to 5273 Island of Indonesia.
While this task is simple but I hope the effect would increase the usage of this data by researcher/students like myself.
--Yana agun (talk) 03:39, 9 August 2017 (UTC)[reply]