Jump to content

Wikidata:Property proposal/Panoramax picture ID

From Wikidata

Panoramax picture ID

[edit]

Return to Wikidata:Property proposal/Sister projects

   Under discussion
DescriptionPersistent identifier for images on Panoramax (Q120971923)
Data typeExternal identifier
Domainmedia info, image (Q478798)
Example 1File:Sughera monumentale (Isola Bella).jpg6f92f088-afd0-4471-af2c-d675bb852254
Example 2File:Autoroute_A623.jpge7b30691-8dc8-40f3-a9e2-f8c711542803
Example 3File:Poudrière de Roc'h-Ru, Saint-Riom (île de Bréhat).jpg9545ac97-fba6-4e6d-986b-77688ebf0850
Example 4File:CAU_Pathway_Mural_01.jpgcbd4ab61-6775-4c5e-b824-cadb6e3c72f6
Allowed values[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12} [1]
Sourcehttps://api.panoramax.xyz
External linksUse in sister projects: [ar][az][bn][de][en][es][fa][fr][he][hi][it][ja][ka][kn][ko][ml][mr][nl][pl][pt][ro][ru][sv][te][tr][ur][vi][zh][commons][species][wd][en.wikt][fr.wikt].
Planned useLink commons images that were imported from Panoramax to their source
Number of IDs in sourcemore than 80 million [2]
Expected completenessalways incomplete (Q21873886)
Implied notabilityWikidata property for an identifier that does not imply notability (Q62589320)
Formatter URLhttps://api.panoramax.xyz/?focus=pic&pic=$1
URL match pattern^https?:\/\/[^\/]*panoramax[^\/]*\/?[?#].*focus=pic.*pic=([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})
Single-value constraintyes
Distinct-values constraintyes

Motivation

[edit]

Even though it is currently possible to extract the ID from file summaries, doing so involves quite some effort due to the quite differing formats of the URLs provided. File:Sughera monumentale (Isola Bella).jpg for example links to https://panoramax.mapcomplete.org/?s=fp;s2;p6f92f088-afd0-4471-af2c-d675bb852254;c296.32/-23.44/36;m17/45.894133/8.527781 which appears to be an older format that gets redirected. I was able to extracted 150 picture ids and visually ensured the images on commons and panoramax match but having these in a more machine readable format and being able to query them would be amazing.

Discussion

[edit]
  1. https://gitlab.com/panoramax/server/api/-/blob/develop/migrations/20221201_01_wpCGc-initial-schema.sql?ref_type=heads#L23
  2. https://api.panoramax.xyz/api/stats