Wikidata:Property proposal/startrekdb.se query

From Wikidata
Jump to navigation Jump to search

startrekdb.se query[edit]

Return to Wikidata:Property proposal/Creative work

   Under discussion
RepresentsStar Trek character (Q73502569), Star Trek episode (Q61220733), astronomical object from the Star Trek multiverse (Q57083319), fictional spacecraft (Q14637321), Robert Duncan McNeill (Q508333), Star Trek novel (Q72996181)
Data typeExternal identifier
Domainitem
Allowed values([\w]+)\/\1\.php\?([\w]+\=[\w\d]+)(&[\w]+\=[\.\d\w]+)?
Example 1Who Mourns for Adonais? (Q3487403)avsnitt/avsnitt.php?trek=tos&avsnitt=2.2
Example 2Borg cube (Q11338913)skepp/skepp.php?klass=21
Example 3Robert Duncan McNeill (Q508333)personer/personer.php?person=618
Formatter URLhttps://www.startrekdb.se/$1
See alsostartrek.com Database ID (P7512)

Motivation[edit]

startrekdb.se is a fan-curated fairly complete database of things related to Star Trek (Q1092). Unfortunately they don't seem to have a URI system or Canonical link element (Q1033568). This has the disadvantage that its not an id in that there is no single canonical string that represents an article. For instance these two ids:

 avsnitt/avsnitt.php?trek=tos&avsnitt=2.2
 avsnitt/avsnitt.php?avsnitt=2.2&trek=tos

are different but they refer to the same entry. Also there is a lot of redundancy in every value. -- Shisma (talk) 10:16, 9 February 2020 (UTC)

Discussion[edit]

  • The datatype should be URL.--GZWDer (talk) 00:42, 10 February 2020 (UTC)