While developing fs-traversal we had a need to describe arbitrary relationships. We came up with a similar notation with letters representing each step. Though we wanted to know both the direction and gender (if possible) so we came up with:
s = son
d = daughter
c = child
m = mother
f = father
h = ...