Wikidata:Property proposal/NAIF ID

NAIF IDEdit

   Done: NAIF ID (P2956) (Talk and documentation)
DescriptionThe integer code assigned by NASA's Navigation and Ancillary Information Facility to solar system objects, reference frames, and instruments that it tracks.
Data typeExternal identifier
DomainAll items for which an w:ephemeris can be calculated, including but not limited to astronomical object (Q6999)
Allowed values^-?(0|[1-9][0-9]*)$ (all integers, negative and positive)
Allowed unitsNone
Example
Sourcehttps://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/req/naif_ids.html
Robot and gadget jobsAccording to the specification linked above, for asteroids (and comets?), the NAIF ID can be used as the input variable to the JPL Small-Body Database Browser. That variable, in turn, is also the input variable of the formatter URL of JPL Small-Body Database ID (P716). TLDR: NAIF ID equals JPL Small-Body Database ID (P716) for asteroids and comets.
See alsoJPL Small-Body Database ID (P716), COSPAR ID (P247), SCN (P377)
Motivation

NAIF IDs are widely used in the astronomy and space exploration communities to obtain ephemerides (or "SPKs") from NASA/JPL data, including by the JPL HORIZONS service available online. A number of tools can process SPKs, including many of the ones listed here. With this property, automated tools could be made to calculate things like observation times and sky positions of Wikidata items like planets etc. Anders Feder (talk) 21:04, 18 June 2016 (UTC)

Discussion
  Support this looks like a good resource. There doesn't seem to be a URL available to resolve each individual item to, any idea if there's a plan to support that in future (i.e. so we could add a formatter URL in wikidata to link them directly?) ArthurPSmith (talk) 15:11, 27 June 2016 (UTC)
The JPL HORIZONS service is unfortunately built around a rather odd cookie-based pattern that doesn't allow for the construction of a formatter URL. Though I have no knowledge of the plans for the service, I do not think there is any intention to add new functionality, since the service has been essentially unchanged for many years.--Anders Feder (talk) 09:27, 14 July 2016 (UTC)
It is, yes. Spacecraft ID codes are negative.--Anders Feder (talk) 09:27, 14 July 2016 (UTC)