Property talk:P9043

From Wikidata
Jump to navigation Jump to search

Documentation

Internet Game Database numeric game ID
numeric identifier for a game on IGDB; use as qualifier for P5794 "Internet Game Database game ID"
Associated itemInternet Game Database (Q20056333)
Applicable "stated in" valueInternet Game Database (Q20056333)
Data typeExternal identifier
Allowed values^[1-9]\d{0,5}$
Usage notesThe numeric ID can be found in two ways: 1. Just press Ctrl+F and search for "IGDB ID" directly on the game page or 2. Press Ctrl+U to view page source and use Ctrl+F to search for "data-game-id=" or "game_id=" .
ExampleSuper Mario Odyssey (Q28234671)26758
Half-Life 2 (Q193581)233
Portal 2 (Q279446)72
The Legend of Zelda: Breath of the Wild (Q17185964)7346
Sourcehttps://www.igdb.com
Formatter URLhttps://www.igdb.com/games/$1/presskit
See alsoInternet Game Database game ID (P5794)
Lists
Proposal discussionProposal discussion
Current uses
Total79,682
Qualifier79,662>99.9% of uses
Reference20<0.1% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Single value: this property generally contains a single value. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P9043#Single value, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P9043#Unique value, SPARQL (every item), SPARQL (by value)
Scope is as qualifier (Q54828449), as reference (Q54828450): the property must be used by specified way only (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P9043#Scope, SPARQL
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P9043#Entity types
Format “^[1-9]\d{0,5}$: value must be formatted using this pattern (PCRE syntax). (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P9043#Format, SPARQL

URL formatter[edit]

I've added a URL formatter that should handle all IDs except those that are exactly the same as the names of the games. Currently amongst IDs from 1 to 253670 (includes both games and companies) this is a problem for 82 out of 235988 game IDs (list below). I think it still makes sense to keep it, as for 38046 out of 38134 objects on wikidata the link will work correctly. List of IDs that will not work with this formatter:

Solidest (talk) 14:20, 18 June 2023 (UTC)[reply]

Updated the list. Solidest (talk) 19:31, 21 January 2024 (UTC)[reply]