Wikidata:Property proposal/position

position within image edit

Originally proposed at Wikidata:Property proposal/Commons

   Not done
DescriptionPosition of a person or an object on a photo where there are multiple persons or objects
Data typeItem
Domainqualifier
Allowed valuespositions: e.g. left, right, top, bottom, top left: down (Q15332388), lower part (Q17525439), bottom (Q16421635), up (Q15332375), upper part (Q17525438), center (Q23595), left (Q13196750), left part (Q17525441), right (Q14565199), right part (Q17525442), upper left part (Q27956549), upper right part (Q27956533), lower left part (Q27956553), and lower right part (Q27956561)
Example 1File:Myrthe Morrees, Lynn Wilms en Joelle Smits - 1578063654.JPG depicts (P180) Myrthe Moorrees (Q2145911) -> left (Q13196750)
Example 2File:Myrthe Morrees, Lynn Wilms en Joelle Smits - 1578063654.JPG depicts (P180) Lynn Wilms (Q56676525) -> middle
Example 3File:Myrthe Morrees, Lynn Wilms en Joelle Smits - 1578063654.JPG depicts (P180) Joëlle Smits (Q56676398) -> right (Q14565199)
Example 4Lynn Wilms (Q56676525) image (P18) File:Myrthe Morrees, Lynn Wilms en Joelle Smits - 1578063654.JPG -> middle
Format and edit filter validationonly as a qualifier
Planned useUsage as qualifier for SDOC
See also

Motivatie edit

There is currently no good way to describe which person is where on a photo with multiple persons. Eg. File:Myrthe Morrees, Lynn Wilms en Joelle Smits - 1578063654.JPG, how to say in Structured data that Myrthe is on the left, Lynn in the middle and Joëlle on the right? series ordinal (P1545) isn't suited, because why should we start counting on the left? Mbch331 (talk) 19:04, 7 January 2020 (UTC)[reply]

Discussion edit

────────────────────────────────────────────────────────────────────────────────────────────────────
  • Perhaps the label "descriptive position within image", to indicate that the property doesn't intend to actually give the subject's location, but just a vague description. My understanding is that this proposal is purely intended for human readable description and is applicable only to limited images with distinct and few subjects. The specific position coordinates can already be compared to generate such descriptions. --SilentSpike (talk) 11:52, 20 June 2020 (UTC)[reply]
    • Well, Wikipedia infoboxes generally have such descriptions, so the number isn't that limited. Oddly, the feature you describe doesn't seem to exist or be used there. Can we see it somewhere in action or is it just an abstract possibility, unlikely to be implemented? --- Jura 12:08, 20 June 2020 (UTC)[reply]
      • By limited I just meant a limited subset comparatively to the set of all images, a good example of why implicit points of reference are easy to misinterpret (especially for a machine). As for how that would be implemented, I'm not experienced with editing wikipedia, but my understanding is that they can access Wikidata via a Lua Scribunto interface. Looking at the docs, it seems they could access the statements with mw.wikibase.entity:getBestStatements and compare the x/y coordinates as needed to categorise them corresponding to a lua table of descriptive position strings (or even the above Wikidata items). I'm familiar with lua and it seems like a basic operation, but perhaps (likely) there's some wiki specific implementation complexities I wouldn't know about. --SilentSpike (talk) 16:52, 20 June 2020 (UTC)[reply]
  Oppose per Jarekt. NMaia (talk) 06:36, 18 August 2020 (UTC)[reply]