|Re: [rdf4j-dev] SHACL and checking rdfs:Resource|
Seems like it was a (automated ?) translation of the ontology into the SHACL file
(rdfs:range => sh:class, which is perfectly fine for other scenarios,
but in this case the intended rule is more akin to sh:nodeKind sh:IRI or sh:IRIOrLiteral)
Itâs been changed in the SHACL, but Iâll probably have to check other EU Core Vocabularies SHACLs 😊
Thanks for the heads-up on the reasoner, I think the console verify command doesnât enable this by default,
so Iâd better add a toggle or setting (and some documentation)
It should match everything as you say. And that might even work if you use it with the RDFS reasoner. Which I have not tried!
There is some rudimentary support for rdfs as part of the shacl standard, namely support for rdfs:subClassOf. Which is implemented. I donât know what they think about rdfs:Resource though.
In practice, right now, I think it would only match those subjects with explicit type for rdfs:Resource.