You can use the same technique I demonstrated in this thread.
The relationships show up in vCard based output like this.
It would be a case of parsing the vCard for the specific relationship you want, or enumerating the item# pairs of data.
Hope that helps.