Merge pull request #652 from strangepleasures/JENA-1797

JENA-1797: Shapes with class-based targets (sh:targetClass) are not applied to subclass instances