Rank by Double
Description
Rank objects by the value of a double property compared to a given value.
Input
SOURCE [OBJ]
: the list of objects to rank
Output
CLOSE [OBJ]
: ranked objects, closest to the given value on topFAR [OBJ]
: ranked objects, farthest from the given value on top
Parameters
Property
: the double property to check.Use sub-properties
: when set totrue
, the values of all sub properties are also included. Sub-properties can be defined in the data with therdfs:subPropertyOf
relation.Value
: the value to compare each object's value againstHard filter
: optional hard filters to apply before rankingNo filter
Not greater than Value
Not smaller than Value
Slope
: positive value determining the slope of the ranking curve (which is a convex cusp). The higher the slope, the wider the ranking (i.e., the closer the resulting scores). Explicitly, at distanceSlope
away from the given value, the new rank is 0.5.