added example for repository and room/location relation getter, including templating