Rank by Date
Description
Rank objects by the value of a date 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, furthest from the given value on top
Parameters
Property
: the date property to check. Use*
to consider all properties.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 later than Value
Not earlier 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, atSlope
many days away from the given date, the new rank is 0.5.