Wikidata:Property proposal/angle

angle from vertical / slope edit

Originally proposed at Wikidata:Property proposal/Generic

Descriptionangle from vertical: angle the principle axis of an item makes with the vertical
Representsangle (Q11352)
Data typeQuantity
Allowed unitsdegree (Q28390), arcminute (Q209426), arcsecond (Q829073)
ExampleLeaning Tower of Pisa (Q39054) -> 3.97±0.01 degree

Originally proposed at Wikidata:Property proposal/Generic

   Done: slope (P4184) (Talk and documentation)
Descriptionslope: angle the surface of an item makes with the horizontal
Representsslope (Q275447)
Data typeQuantity
Template parameter"slope" in en:template:infobox pyramid
Allowed unitsdegree (Q28390), arcminute (Q209426), arcsecond (Q829073)
ExamplePyramid of Unas (Q1478801) -> 56.3 degree
Motivation

I was surprised to discover that we don't have a decent property to represent the angle of something. We currently have the odd situation that the angle of Leaning Tower of Pisa (Q39054) is represented by angular distance (P2212), which is an astronomical concept for the size of something on the sky! In Pyramid of Unas (Q1478801) the best I could find to represent the angle of the slope of the pyramid was average gradient (P2198), but that's not right (it's supposed to be a value between 0 and 1 to start with!). Ideally we could do with something that displays like half of a coordinate (DMS notation), but just allowing degrees/arcmins/arcsecs should be good enough for now. Mike Peel (talk) 11:20, 11 August 2017 (UTC)[reply]

Note I removed the example Pyramid of Unas (Q1478801) -> 56.3 degree as this doesn't match the current label. I also updated the description text. Not sure this is quite right yet though. ArthurPSmith (talk) 19:56, 17 August 2017 (UTC)[reply]
Discussion
Primarily, angle (Q11352) is a angle (Q11352) with unit 'DMS' or otherwise. Therefor, as a property it should not be limited into a specialised (limited) definition (this will run into trouble for the rest of its property life).
Best solution would be to add (require) a qualifier by QID (Pisa, pyramid). A tilted pyramid should have both. ArthurPSmith, is that possible (in WD design)? -DePiep (talk) 09:40, 12 August 2017 (UTC)[reply]
@DePiep, ArthurPSmith: I don't know if requiring qualifiers is possible. Converting between horizontal and vertical is trivial (one is 90 minus the other), so I'm not sure both values need to be recorded. I'm going to suggest we go with 'angle from vertical' for now, but let's keep the discussion going. Thanks. Mike Peel (talk) 22:44, 13 August 2017 (UTC)[reply]
It's not trivial in a property definition. You cannot leave it to the (automated) reader to do extra calculations to get it right (and left wrong if not done). This would be an example of Wikidata not taking responsibility of providing incomplete data BTW. See also my opposition below. -DePiep (talk) 19:20, 16 August 2017 (UTC)[reply]
  •   Oppose. An angle in itself cannot be a property. It always needs a specification: angle between what? For Leaning Tower of Pisa (Q39054) it would be "Angle with the vertical", for Pyramid of Unas (Q1478801) it is "angle with the horizon (slope)" etc. So either we need two properties (for these), or this one must require a specifier.
IOW: angle (Q11352) is a quantity (think measured), but it is useless without specification. Similar: a property "speed" would not be helpful (and so: dangerously wrong) without specifiers like "max", "at take-off", etc. -DePiep (talk) 19:20, 16 August 2017 (UTC)[reply]