Property talk:P7597

From Wikidata
Jump to navigation Jump to search

Documentation

Lutris game ID
identifier of a video game in the Lutris database
Applicable "stated in" valueLutris database (Q75129027)
Data typeExternal identifier
Domainvideo game (Q7889), game creation system (Q5519929) or video game compilation (Q16070115)
Allowed values^[\-]?[a-z\d]+([\-]{1,2}[a-z\d]+)*[\-]?$
ExampleSekiro: Shadows Die Twice (Q54906424)sekirotm-shadows-die-twice
The Oregon Trail (Q1574053)the-oregon-trail
Agar.io (Q20012932)agario
Indiana Jones and the Fate of Atlantis (Q74401)indiana-jones-and-the-fate-of-atlantis
Resident Evil 2 (Q733992)resident-evil-2
Resident Evil 2 (Q54920200)resident-evil-2-biohazard-re2
Resident Evil 2: 1-Shot Demo (Q61448741)resident-evil-2-biohazard-re2-1-shot-demo
Prince of Persia (Q4047361)prince-of-persia
Prince of Persia (Q852583)prince-of-persia-2008
Tetris (Q3519191)tetris-game-boy
Tetris (Q4050885)tetris-the-soviet-mind-game
Sourcehttps://lutris.net/games/
Formatter URLhttps://lutris.net/games/$1
Lists
Proposal discussionProposal discussion
Current uses
Total63,899
Main statement61,758 out of 31,742 (195% complete)96.6% of uses
Qualifier11<0.1% of uses
Reference2,1303.3% 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). Known exceptions: Don't Starve Together (Q22344573)
List of violations of this constraint: Database reports/Constraint violations/P7597#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/P7597#Unique value, SPARQL (every item), SPARQL (by value)
Format “^[\-]?[a-z\d]+([\-]{1,2}[a-z\d]+)*[\-]?$: 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). Known exceptions: Quake II RTX (Q108025640)
List of violations of this constraint: Database reports/Constraint violations/P7597#Format, SPARQL
Item “instance of (P31): Items with this property should also have “instance of (P31)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P7597#Item P31, hourly updated report, search, 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/P7597#Entity types
Scope is as main value (Q54828448), 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/P7597#Scope, SPARQL
Label required in languages: en: Entities using this property should have labels in one of the following languages: en (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/P7597#Label in 'en' language, search, SPARQL

Importing Lutris IDs with a script[edit]

@Jean-Frédéric: Have you tried reaching out to the devs to get a dump of the Lutris DB? It seems like it should be pretty easy to write a script for importing any Lutris IDs based on Steam App IDs, PCGW IDs, and/or MobyGames IDs. May also be useful for getting data that Wikidata is missing? :) Nicereddy (talk) 03:18, 28 November 2019 (UTC)[reply]

@Nicereddy: That was on the back of my mind (matching through third-IDs) ; but I have not tried to reach out yet (just threw in a Scraper in Mix’n’match, but that would not be the most efficient way). Jean-Fred (talk) 10:59, 28 November 2019 (UTC)[reply]
By the way, I remade the Mix’n’match scraper to use the API − it’s conceptually horrendous (regexes to parse the JSON :D) but it works fairly ok :)
There are now 28,125 games in the catalog, which roughly matches the 28,161 from the API − while there are only 9,094 in the website front-end. I guess the difference is the unpublished games? Still seems like a lot. Jean-Fred (talk) 13:46, 14 April 2020 (UTC)[reply]