afs commented on a change in pull request #653: JENA-1797: Test for instance of subclass of implicit target URL: https://github.com/apache/jena/pull/653#discussion_r357991952
########## File path: jena-shacl/src/test/resources/local/additional/implicit-subclass-2.ttl ########## @@ -0,0 +1,51 @@ +PREFIX ex: <http://example/> + +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> +PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> + +PREFIX sh: <http://www.w3.org/ns/shacl#> +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> + +PREFIX sht: <http://www.w3.org/ns/shacl-test#> +PREFIX mf: <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#> + +ex:A rdf:type rdfs:Class . + +ex:B #rdf:type rdfs:Class ; + rdfs:subClassOf ex:A . + +ex:x rdf:type ex:B . + +ex:ShapeDef + sh:targetClass sh:Shape ; Review comment: Yes, it should be sh:NodeShape. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
