Wikidata:Property proposal/Kanobu numeric ID
Kanobu numeric ID
[edit]Originally proposed at Wikidata:Property proposal/Creative work
Description | numeric identifier of a video game in the Kanobu database |
---|---|
Represents | Kanobu (Q4042056) |
Data type | External identifier |
Domain | video game (Q7889) |
Allowed values | ^[1-9]\d*$ |
Example 1 | The Last of Us (Q1986744) → 11579 |
Example 2 | God of War Ragnarök (Q99397916) → 59970 |
Example 3 | Alan Wake II (Q108417001) → 53282 |
Example 4 | Senua's Saga: Hellblade II (Q78418853) → 58870 |
Example 5 | Cuphead (Q18149495) → 13516 |
Source | https://kanobu.ru/games |
Planned use | It's planned to be used as a qualifier for the main property. |
Expected completeness | always incomplete (Q21873886) |
Robot and gadget jobs | Yes. Here it will be necessary to use a bot to try to scrape the data through the API (https://kanobu.ru/api/) if it possible. |
See also | Igromania ID (P6827), VK Play ID (P9697), P8279 (P8279) |
Applicable "stated in"-value | Kanobu (Q4042056) |
Single-value constraint | Yes |
Distinct-values constraint | Yes |
Wikidata project | WikiProject Video games (Q8485882) |
Motivation
[edit]Notified participants of WikiProject Video games
As I mentioned earlier in another proposal here, this should be a complementary property used as qualifier for the main property. Just like in the case of IGDB, the property would be used to keep track of games in case Kanobu (Q4042056) removes URL slugs in the future. Numeric identifier can be found by the string "game":{"id":
or "element":{"id":
using Ctrl+U on the game's page.
Example 1: The Last of Us (Q1986744)
Kanobu game ID |
| ||||||||||||
add value |
Example 2: God of War Ragnarök (Q99397916)
Kanobu game ID |
| ||||||||||||
add value |
Example 3: Alan Wake II (Q108417001)
Kanobu game ID |
| ||||||||||||
add value |
Example 4: Senua's Saga: Hellblade II (Q78418853)
Kanobu game ID |
| ||||||||||||
add value |
Example 5: Cuphead (Q18149495)
Kanobu game ID |
| ||||||||||||
add value |
Regards Kirilloparma (talk) 13:59, 17 December 2021 (UTC)
Discussion
[edit]Pinging also
Notified participants of WikiProject Russia. Regards Kirilloparma (talk) 14:02, 17 December 2021 (UTC)
- Support AntisocialRyan (Talk) 14:03, 17 December 2021 (UTC)
- Support — MasterRus21thCentury (talk) 15:38, 17 December 2021 (UTC)
- Oppose there is already an identifier for the topic in the db. --- Jura 11:03, 18 December 2021 (UTC)
- I don't quite understand what did you mean. Can you explain? Redboston (talk) 15:03, 22 December 2021 (UTC)
- Thanks for your opinion Jura! I will try to give a clear example of how this property should be used. Let's assume that one day Kanobu will update the database and subsequently switch to numeric identifiers. So, how can this property be useful?
- Well, to begin with, thanks to this property, we will be able to track down the numeric identifiers that are contained in the database (see the instructions above on how to find them). They will come in handy as soon as the Kanobu database stops using URL slugs, which as we know are unstable and can be changed and subsequently broken at any time.
- Using a SPARQL query service, we can easily detect numeric IDs and, thanks to Quickstatements, run a batch that will replace URL slugs with them. I hope I have better explained what this property is for and how it will be used. Regards Kirilloparma (talk) 13:26, 5 February 2022 (UTC)
- Example of such a query for Internet Game Database numeric game ID (P9043):
- Try it!
SELECT ?item ?itemLabel ?IGDB_numeric_game_ID WHERE { ?item wdt:P31/wdt:P279* wd:Q7889. ?item p:P5794 ?statement. OPTIONAL { ?statement pq:P9043 ?IGDB_numeric_game_ID. } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }
- Regards Kirilloparma (talk) 02:57, 8 February 2022 (UTC)
- Using a SPARQL query service, we can easily detect numeric IDs and, thanks to Quickstatements, run a batch that will replace URL slugs with them. I hope I have better explained what this property is for and how it will be used. Regards Kirilloparma (talk) 13:26, 5 February 2022 (UTC)
- Support Sounds reasonable ; as said there’s precedent with at least Internet Game Database numeric game ID (P9043). Jean-Fred (talk) 20:24, 4 February 2022 (UTC)
- Why do we not just use the numerical value on the other property instead? @Kirilloparma:--Trade (talk) 01:13, 27 February 2022 (UTC)
- @Trade: The main property cannot be used as numeric ID, see the reason. Regards Kirilloparma (talk) 01:41, 27 February 2022 (UTC)
- Are the numeral values usable at this time? @Kirilloparma: --Trade (talk) 01:49, 27 February 2022 (UTC)
- @Trade: Yes, as a separate qualifier property (see the full discussion above). Regards Kirilloparma (talk) 02:16, 27 February 2022 (UTC)
- Are the numeral values usable at this time? @Kirilloparma: --Trade (talk) 01:49, 27 February 2022 (UTC)
- @Trade: The main property cannot be used as numeric ID, see the reason. Regards Kirilloparma (talk) 01:41, 27 February 2022 (UTC)
@Kirilloparma, Jean-Frédéric: Done--Trade (talk) 18:50, 1 March 2022 (UTC)