[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [rdf4j-dev] SHACL and checking rdfs:Resource

Hi Bart,

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. 


On 18 Jun 2019, at 16:42, Bart Hanssens (BOSA) <bart.hanssens@xxxxxxxxxxxx> wrote:



A quick question about the SHACL validator in 3.0-snapshot, or SHACL In general

Iâve noticed that the new EU DCAT-AP 1.2 has a few shapes with a class constraint like


sh:path â

sh:class rdfs:Resource



which IMHO does not make sense (since rdfs:Resource is, well, anythingâ),

but the validator does seem to generate a violation if this class is not explicitly set.


So would it be appropriate to just ignore this rule in the validator ? Or am I missing something here ?



Best regards



rdf4j-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit