Merge pull request #653 from afs/shacl-target-test

JENA-1797: Test for instance of subclass of implicit target