You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by GitBox <gi...@apache.org> on 2019/12/14 23:25:12 UTC
[GitHub] [jena] strangepleasures commented on a change in pull request #653:
JENA-1797: Test for instance of subclass of implicit target
strangepleasures 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_r357943756
##########
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:
Did you mean `rdf:type sh:Shape ;`?
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services