Wikidata:Property proposal/WKF ranking ID

WKF ranking ID

edit

Originally proposed at Wikidata:Property proposal/Sports

   Not done
DescriptionAthlete rating page on the website of the World Karate Federation
RepresentsWorld Karate Federation (Q1480956)
Data typeExternal identifier
Template parameterTemplate:WKF ranking (Q109522692)
Domainhuman (Q5)
Example 1Sandra Sánchez (Q24034966)ESP198
Example 2Ryō Kiyuna (Q64574038)JPN261
Example 3Stanislav Horuna (Q30958010)UKR186
Sourcehttps://setopen.sportdata.org
External linksUse in sister projects: [ar][de][en][es][fr][he][it][ja][ko][nl][pl][pt][ru][sv][vi][zh][commons][species][wd][en.wikt][fr.wikt].
Planned usein w:ru:Шаблон:Внешние ссылки
Number of IDs in sourceunknown
Expected completenessalways incomplete (Q21873886)
Formatter URLhttps://setopen.sportdata.org/wkfranking/ranking_main_competitor.php?ranking_country=$1&ranking_competitor=$1&hidemenu=true
Robot and gadget jobsYes
See alsoKarate Records ID (P2705)
Applicable "stated in"-valueWorld Karate Federation (Q1480956)
Single-value constraintyes
Distinct-values constraintyes
Wikidata projectWikiProject Sports (Q8001410)

Motivation

edit

Karate is one of the types of Japanese martial arts, whose popularity is growing every year. It has experienced many ups and downs - an example is its inclusion in the 2020 Summer Olympics in Tokyo, but the next games in Paris in 2024 will not include this sport. MasterRus21thCentury (talk) 16:45, 21 June 2023 (UTC)[reply]

Discussion

edit
@MasterRus21thCentury: In order to make the formatter work with double $1's, you need to have two identical values, as in the case of P12220 property, but not different ones. In your case, the proposed formatter outputs: https://setopen.sportdata.org/wkfranking/ranking_main_competitor.php?ranking_country=ESP&ranking_competitor=ESP&hidemenu=true, which leads to broken links and is not useful in any way. You are left with three options:
  1. Change the data type to URL so that it is just a link, but I strongly discourage this.
  2. Propose some other (working) formatter URL.
  3. Withdraw this proposal if you needed the external identifier property, because in the current form it is unfortunately impossible to create it. Regards Kirilloparma (talk) 17:00, 23 February 2024 (UTC)[reply]
    @Kirilloparma Да, как раз нужно попробовать использовать ‎Stadium 64 ID (P12220) для будущего свойства. MasterRus21thCentury (talk) 17:44, 23 February 2024 (UTC)[reply]
You cannot create this property based on ‎Stadium 64 ID (P12220) (or Moscow Cultural Heritage ID (P12284)), I have already explained why. You need to look for a different formatter URL if you need an external identifier. Regards Kirilloparma (talk) 14:30, 4 March 2024 (UTC)[reply]
@Kirilloparma:, what's your opinion? shall we close proposal if it's not work. Regards, ZI Jony (Talk) 07:52, 7 March 2024 (UTC)[reply]