- I have only just seen this. Wolfgang Amadeus Mozart (Q254) is not a programme. I suggest we use "BBC PID". Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 15:36, 17 September 2016 (UTC)
Should the formatter be for the information resource (i.e., the document describing the programme), or should it be used to generate the URI of the identified programme itself?
Because bbc.co.uk/programmes is linked data-savvy, it has specific URIs for the programmes which are distinct from those of the documents. For brands, series, episodes and clips (i.e., all of the PIDs that one would typically encounter in the wild), the programme URI is identical to the programme page URL, but has the fragment "#programme" appended to it.
Given this, should the formatter URL be "http://www.bbc.co.uk/programmes/$1", or should it be "http://www.bbc.co.uk/programmes/$1#programme"? If the formatter will be ultimately used to generate coreferences from Wikidata, then it should surely be the latter (otherwise the coreference statement would assert that the Wikidata *entity* is the same as the BBC programmes *page*, which is not desirable).
- @Nevalicori: Late reply: the latter URL is used in URI used in RDF (P1921). However, I see that we also have http://www.bbc.co.uk/programmes/$1.json which should presumably also be moved to P1921? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 15:40, 17 September 2016 (UTC)
Note that PIDs do not have a defined maximum length: although they are padded to a *minimum* length, eventually they will overflow the eight-character space and spill into nine characters. Internal BBC systems are supposed to not be picky about the length of a PID. Behind the scenes, they're generated by concatenating a single-character authority prefix (the 'b' or 'p') with a padded base32-encoded version of an internal sequential counter (although the sequencing is determined by the generation time, which may precede publication time by some days, weeks, or even months). Given this, at some point in the future the length constraint applied here will fail on some legitimate PIDs.