r gram-rel (v gram-rel , see Equation (12)) uses the obliqueness hierarchy (Keenan and Comrie 1977) to rank paths according to the salience of their grammatical relations.
each path is assigned the value of its most salient grammatical relation (subjects are more salient than objects, which are more salient than other noun phrases).