Pavel Mikhailovskii created JENA-1797:
-----------------------------------------

             Summary: Shapes with class-based targets (sh:targetClass) are not 
applied to subclass instances
                 Key: JENA-1797
                 URL: https://issues.apache.org/jira/browse/JENA-1797
             Project: Apache Jena
          Issue Type: Bug
          Components: SHACL
            Reporter: Pavel Mikhailovskii
         Attachments: TargetsTest.java

Shapes with class-based targets (sh:targetClass) should target subclass 
instances. See [https://www.w3.org/TR/shacl/#targetClass]. Currently it is not 
the case. 
The bug is caused by wrong checks in ValidationProc.getFocusNodes/isFocusNode. 
The attached test illustrates the issue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to