Property talk:P2677

From Wikidata
Jump to: navigation, search

Documentation

relative position within image
position of a motif within a larger image
Data type String
Allowed values pct:((100|[1-9]?\d(\.\d+)?),){3}(100|[1-9]?\d(\.\d+)?)
Usage notes use as a qualifier on P180 statements
Example Idleness (Q19953492) → pct:65,81,35,15
Source Primarily likely to be user-supplied using a specific tool; but in some cases might possibly be available from external references (note: this information should be moved to a property statement; use property source website for the property (P1896))
Formatter URL https://tools.wmflabs.org/zoomviewer/proxy.php?iiif=$P18/$1/,240/0/default.jpg (where $P18 is the value of property P18). (note: this information should be moved to a property statement; use property formatter URL (P1630))
Robot and gadget jobs correspondsI would imagine a tool similar to the crop-tool on Commons, challenging the user whether can they find this item as a detail in this image, and to move a rectangle around the detail if they can.
See also depicts (P180)
Lists
Proposal discussion Property proposal/Archive/48#P2677
Current uses 134
[create] Create a translatable help page (preferably in English) for this property to be included here
Qualifier: this property can only be used as a qualifier. (Help)
List of this constraint violations: Database reports/Constraint violations/P2677#Qualifier, hourly updated report, SPARQL
Format “pct:((100|[1-9]?\d(\.\d+)?),){3}(100|[1-9]?\d(\.\d+)?)”: value must be formatted using this pattern (PCRE syntax). (Help)
List of this constraint violations: Database reports/Constraint violations/P2677#Format, hourly updated report, SPARQL

How to[edit]

The value format is based on IIIF standard, pct corresponds to percent (so it it's possible to change the image file with an image at the same ratio but not the same dimensions in pixels) and w,x,y,z numbers delimit a rectangle. Example for Idleness (Q19953492), with depicts (P180) qualifier house cat (Q146) value "pct:65,81,35,15" → https://tools.wmflabs.org/zoomviewer/proxy.php?iiif=Godward_Idleness_1900.jpg/pct:65,81,35,15/,240/0/default.jpg .
A specific tool on Crotos IIIF Cropper can be used to get the adapted values. In the same tool, it's possible to display the result ; for example : depicted items in Ancient Rome (Q14619165). --Shonagon (talk) 01:18, 22 November 2016 (UTC)

Second property needed[edit]

I just encountered this use of the property referring to a specific image file. As pointed out in the proposal discussion if we want to provide this functionality we need another property for that. --Marsupium (talk) 15:48, 19 September 2017 (UTC)