removed BlankNodeOrIRI in favour of just Resource