Wikidata:Property proposal/USGS earthquake id

USGS earthquake ID edit

Originally proposed at Wikidata:Property proposal/Event

Descriptionidentifier for an earthquake or other seismic event, in the United States Geological Survey database
Data typeExternal identifier
Domainearthquakes
Example2014 South Napa earthquake (Q17602018)nc72282711
Sourcehttp://earthquake.usgs.gov/earthquakes
Planned usecross-reference items on earthquakes with their official USGS entry
Formatter URLhttp://earthquake.usgs.gov/earthquakes/eventpage/$1
Motivation

Cross-referencing items on earthquakes with their official USGS entry will allow bots to retrieve and verify additional technical data (such as modified Mercalli intensity scale (P2784), see property proposal discussion) from a canonical source. The identifier consists of a 2-letter prefix that identifies the catalog followed by an alphanumeric sequence identifying the event. For example: pr16237000 refers to the entry 16237000 from the Puerto Rico Seismic Network catalog (pr) --DarTar (talk) 04:22, 24 August 2016 (UTC).[reply]

A web service (FDSN-WS) maintained by USGS can be used to look up properties of any event by passing the identifier.

Discussion
  •   Support. I've changed the datatype to external ID. The regex is slightly more complicated than described above though, e.g. us10006fik and us10006g7d are other recent quakes. Thryduulf (talk) 10:40, 24 August 2016 (UTC)[reply]
@Thryduulf: updated the format description, thank you.--DarTar (talk)
@Thryduulf: I just got a response from USGS's official Twitter handle about the format: [1] [2] [3]  – The preceding unsigned comment was added by DarTar (talk • contribs).
So is it definitely 2 alphabetic characters followed by exactly 8 alphanumeric characters (i.e. [a-z]{2}[a-z0-9]{8})? Thryduulf (talk) 21:40, 24 August 2016 (UTC)[reply]
I asked for a confirmation but haven't got any reply yet [4] --DarTar (talk) 03:21, 26 August 2016 (UTC)[reply]
@Daniel Mietchen: good point.--DarTar (talk) 16:28, 28 August 2016 (UTC)[reply]