Wikidata:Property proposal/CAMRA Experience pub ID

From Wikidata
Jump to navigation Jump to search

‎CAMRA Experience pub ID

[edit]

Originally proposed at Wikidata:Property proposal/Place

   Not done
Descriptionidentifier for a pub on the CAMRA Experience website
RepresentsCAMRA Experience (Q126195897)
Data typeExternal identifier
Example 1Jamaica Inn (Q1328052)138910
Example 2Aberdare Hotel (Q29489492)170283
Example 3Bar Three (Q26428465)177607
Sourcehttps://www1.camra.org.uk/pubs
Formatter URLhttps://www1.camra.org.uk/pubs/$1
URL match pattern^https?:\/\/www1\.camra\.org\.uk\/pubs\/(?:[a-z-]+)?([1-9]\d*)
web page title extract pattern (P10999) ^(.+)\ -\ CAMRA\ Experience$
See also‎WhatPub pub ID (P12496)
Single-value constraintyes
Distinct-values constraintyes

Motivation

[edit]

Currently in beta, but this new website by CAMRA appears to be a replacement to WhatPub (Q112305367) along with a new identifier system. I have plans to automatically add these IDs to items with an existing ‎WhatPub pub ID (P12496) statement.

There are currently redirects in place from WhatPub IDs to the new numeric identifier, e.g. https://www1.camra.org.uk/COR/23 resolves to https://www1.camra.org.uk/pubs/jamaica-inn-bolventor-138910.

-- Lewis Hulbert (talk) 17:06, 30 May 2024 (UTC)[reply]

Discussion

[edit]