Wikidata:Property proposal/Gamepedia Article ID

From Wikidata
Jump to navigation Jump to search

Gamepedia Article ID

[edit]

Originally proposed at Wikidata:Property proposal/Creative work

   Done: no label (P6623) (Talk and documentation)
DescriptionGamepedia Article ID
Data typeExternal identifier
Domainvideo game character (Q1569167), esports team (Q61974339), fictional location (Q3895768) etc. anything that has an article in Gamepedia
Allowed values[a-z0-9\.-]+:[^\:\s]+ (syntax described here)
Example 1
Pikachu (Q9351)
pokemon:Pikachu [1]
Example 2
Jaina Proudmoore (Q819585)
wow:Jaina_Proudmoore [2]
Example 3
Minecraft (Q49740)
minecraft:Minecraft [3]
Example 4
OGN Entus (Q12580819)
lol:CJ_Entus [4]
Planned usea lot of items use already use described at URL (P973) to point to Gamepedia pages. these could be automatically replaced
Number of IDs in source277 (see query)
See alsoFandom article ID (P6262)

Notified participants of WikiProject Fictional universes

Notified participants of WikiProject Video games

Notified participants of WikiProject Pokémon

Shisma (talk) 13:50, 30 September 2018 (UTC) Nick (talk) LydiaPintscher (talk) Luca Mauri (talk) 2020-06-27 EEMIV (talk) 16:59, 30 June 2020 (UTC) DGtal (talk) GHA (talk) 11:00, 1 November 2021 (UTC)[reply]

Notified participants of WikiProject Star Trek (majority of current Gamepedia links using described at URL (P973) are Star Trek related)

Motivation

[edit]

Similar to Fandom (Q17459), Gamepedia often provides in-depth coverage for many topics that are not typically covered by Wikipedia. For entities that exist in Wikipedia/Wikidata it would be useful to link relevant Gamepedia article in a structured way.

Currently 277(query) items currently link to such articles using described at URL (P973).

The motivations for this property are the same as those for Fandom article ID (P6262)(discussion) and as such I have shamelessly borrowed @Shisma:'s layout. :)

Discussion

[edit]
# All gamepedia URLs 
SELECT ?item ?itemLabel (SAMPLE(?typeLabel) as ?nature) ?propertyLabel ?url
WITH {
  SELECT ?property WHERE {
    ?property rdf:type wikibase:Property.
    ?property wikibase:propertyType wikibase:Url .
  }
} AS %properties
WITH {
  SELECT ?item ?url ?property WHERE {
    INCLUDE %properties .
    ?property wikibase:directClaim ?wdt.
    ?item ?wdt ?url.
    FILTER regex (STR(?url), "gamepedia.com").
  }
} 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!

@Kristbaum, ElanHR, Lewis Hulbert, ديفيد عادل وهبة خليل 2, GPSLeo, Robin van der Vliet: @Wildly boy, Jean-Frédéric: The formatter URL for P6623 (P6623) now works. Usually Pintoch notifies all of the users in the discussion when he creates a property, but the property was created last week without the usual formalities. Jc86035 (talk) 15:28, 4 April 2019 (UTC)[reply]