Wikidata:Property proposal/MobyGames genre ID

From Wikidata
Jump to navigation Jump to search

MobyGames genre ID[edit]

Return to Wikidata:Property proposal/Authority control

   Ready Create
Descriptionidentifier of a video game genre in the MobyGames database
Data typeExternal identifier
Domainvideo game series (Q7058673)
Allowed values\w+
Example 1platform game (Q828322)platform
Example 2simulation video game (Q1610017)simulation
Example 3role-playing video game (Q744038)role-playing-rpg/
External linksUse in sister projects: [de][en][es][fr][it][ja][ko][nl][pl][pt][ru][sv][vi][zh][commons][species][wd].
Number of IDs in source45
Expected completenesseventually complete (Q21873974)
Formatter URLhttps://www.mobygames.com/browse/games/$1
See alsoMobyGames ID (P1933)

Motivation[edit]

We really need some more video game genre identifiers. MobyGames are a good candidate. Trade (talk) 20:57, 2 May 2019 (UTC)

Discussion[edit]

ΛΧΣ21 Vacation9 John F. Lewis (talk) Bene* talk #Reaper (talk) Josve05a (talk) Chris Mason (talk) FunPika Arthena (talk) Wangxuan8331800 (talk) Sjoerd de Bruin (talk) Zerabat (talk) Nicereddy (talk) Syum90 (talk) DrakeCaiman (talk) --George (Talk · Contribs · CentralAuth · Log) Andreasburmeister (talk) Danrok (talk) 18:20, 30 October 2015 (UTC) Macrike (talk) Dispenser (talk) 16:56, 7 July 2017 (UTC) --Zache (talk) 13:34, 12 July 2017 (UTC) Mohammed Adam (T) SharkD  Talk  06:41, 9 November 2017 (UTC) ZebaX2010 (talk) 00:49, 21 November 2017 (UTC) Sight Contamination (talk) Lewis Hulbert (talk) 20:26, 13 December 2017 (UTC) Jean-Fred (talk) 10:48, 28 February 2018 (UTC) Santer (talk) Cloaker416 (talk) 22:18, 12 June 2018 (UTC) Rampagingcarrot (talk) 19:57, 28 June 2018 (UTC) Diggr (talk) 08:07, 3 July 2018 (UTC) Harsh Rathod Poke me! 09:42, 7 July 2018 (UTC) Kirilloparma (talk) 00:30, 5 August 2018 (UTC) Sir Lothar (talk) 10:10, 10 August 2018 (UTC) Cwf97 (talk) 14:33, 22 October 2018 (UTC) Esteban16 (talk) 00:08, 27 October 2018 (UTC) Peterchanws Brasig Le Yota de Mars YotaMoteuchi (talk) 08:09, 22 May 2019 (UTC) Pictogram voting comment.svg Notified participants of WikiProject Video games

  • Symbol support vote.svg Support --Misc (talk) 23:59, 2 May 2019 (UTC)
  • Symbol support vote.svg Support David (talk) 08:31, 3 May 2019 (UTC)
  • Symbol support vote.svg Support.--Vulphere 12:40, 27 May 2019 (UTC)
  • Pictogram voting comment.svg Comment There are already some usage via described at URL (P973):
    SELECT ?item ?itemLabel (SAMPLE(?typeLabel) as ?nature) ?url
    WITH {
      SELECT ?item ?url ?property WHERE {
        ?item wdt:P973 ?url.
        FILTER regex (STR(?url), "mobygames.com/browse/games/").
      }
    } AS %items
    WHERE {
      INCLUDE %items.
      ?item wdt:P31 ?type.
      SERVICE wikibase:label {
        bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". 
        ?type rdfs:label ?typeLabel.
        ?item rdfs:label ?itemLabel.
        ?property rdfs:label ?propertyLabel.
      }
    } GROUP BY ?item ?itemLabel ?propertyLabel ?url
    
    Try it!
  • Pictogram voting comment.svg Comment I had a look at that some time ago, and I think this needs some more thinking:
    MobyGames has the following 'primary fields' (ie, which can be used as first-level facet search):
    Should we cover all of Genres/Sports/Themes? @Trade:, how did you end up with 45 as number of ids?
    (Slightly off-topic: I find it interesting that MobyGames has sports has a separate field entirely − something which was done here too [1], and from which we moved away [2], and with [at least for now] less success [3])
    Jean-Fred (talk) 18:21, 6 June 2019 (UTC)


  • [1]
    SELECT ?sport ?sportLabel (COUNT(?item) as ?count) WHERE {
      SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
      ?item wdt:P31 wd:Q7889.
      ?item wdt:P641 ?sport.
    }GROUP BY ?sport ?sportLabel
    
    Try it!
  • [2]
    #defaultView:Graph
    SELECT DISTINCT ?genre ?genreLabel ?rgb ?OLAC ?_subclass_of ?_subclass_ofLabel WHERE {
      ?genre wdt:P279 wd:Q868217.
      OPTIONAL {
        ?genre wdt:P279 ?_subclass_of.
      }
      SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
    }|
    
    Try it!
  • [3]
    SELECT ?genre ?genreLabel (COUNT(?item) as ?count) WHERE {
      SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
      ?genre wdt:P279* wd:Q868217.
      ?item wdt:P136 ?genre.
    }GROUP BY ?genre ?genreLabel
    
    Try it!
I tried to count the number of genres and ignore everything else. Unfortunately, i forgot to view the complete list. --Trade (talk) 00:30, 8 June 2019 (UTC)
Jean-Fred, most of these themes can easily be considered vidoe game genres so yes i do belive they should be included. --Trade (talk) 23:23, 8 June 2019 (UTC)
As I remembered there was a potentially nicer formatter URL (P1630), I found back the /genre/sheet − eg for a “Basic genre”: action, for a “Theme/Gameplay” 4x. This made me rediscover the additional dimensions that Mobygames uses under the “Genre” umbrella:
There might be more that I missed :-) Jean-Fred (talk) 09:25, 9 June 2019 (UTC)