Wikidata:Property proposal/BAN ID
Jump to navigation
Jump to search
BAN ID
[edit]Originally proposed at Wikidata:Property proposal/Place
Description | identifier for a place on the BAN |
---|---|
Represents | National Address Base (Q19942326) |
Data type | External identifier |
Domain | physical location (Q17334923) |
Allowed values | [1-9AB]{5}(_[1-9]{4})* |
Example 1 | rue Bollac (Q110264581) → 30006_0025 |
Example 2 | Aimargues (Q243915) → 30006 |
Example 3 | rue de Paris (Q19346993) → 35238_7090 |
Formatter URL | https://adresse.data.gouv.fr/base-adresse-nationale/$1 |
Notified participants of WikiProject France. 92.184.99.184 21:24, 19 September 2023 (UTC)
Support. Ayack (talk) 07:21, 20 September 2023 (UTC)
- @Kirilloparma: The allowed values isn't exactly right. See Parc du Thabor for instance. It appears the ID starts with the municipal number, then has either a number for a street or letters for a physical place, and then a number for a specific house. It might be a good idea to disallow IDs that points to specific houses, I don't know. Infrastruktur (talk) 16:42, 29 September 2023 (UTC)
- Thanks for your comment. But why for disallowing it, given that a certain number of houses are notable enough for WD? 92.184.119.109 17:05, 29 September 2023 (UTC)
- I think you're right. It makes the regex a little more complicated but, the following seems to work: [0-9AB]{5}(_[0-9]{4}(_[0-9]{5})?|_[a-z]+)?
- Infrastruktur (talk) 18:01, 29 September 2023 (UTC)
- I don't have any strong objections to the suggestion of changing the regex to the most appropriate one, so you may proceed. By the way, thank you for rewriting the regex. Regards Kirilloparma (talk) 01:33, 30 September 2023 (UTC)
- @92.184.99.184, Ayack: Done: BAN ID (P12053). Regards Kirilloparma (talk) 16:28, 29 September 2023 (UTC)