in REST data method, also look for the URI in predicate and object position. Fixes #8