added snippet rrgetrelations

Signed-off-by: Bruno Perner <b.perner@gmx.de>