Amend example to use resource name instead of relationship name

Addresses issue #139.