Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [rdf4j-dev] validating a file with shacl sail

Btw. The ShaclSail doesn’t support sh:node yet. Which I can see is used in your file. 

Håvard

On 29 Mar 2019, at 00:05, Bart Hanssens (BOSA) <bart.hanssens@xxxxxxxxxxxx> wrote:

Hi  Håvard,

 

 

Some initial feedback on the ShaclSail

 

Minor issue: typo’s in the Exception messages in “sail/shacl/AST/ShaclProperties.java” , often the message contains “aleady” (r is missing)

 

As mentioned before, I’m (ab)using the ShaclSail to validate a larger data set (600 K triples loaded into a MemStore) at once, instead of validating small changes,

with this set of rules from the European Semic/Joinup platform: https://github.com/SEMICeu/dcat-ap_shacl/blob/master/shacl/dcat-ap.shapes.ttl

 

It didn’t work initially, because the SHACL rules don’t explicitly set a targetClass (they rely on implicit class targets instead => NoShapesLoadedException),

So I added a targetClass on dcat:Catalog, dcat:Dataset and dcat:Distribution.

 

With the 3.0-snapshot it took about 13 minutes to load and validate on an old Core i5 Windows laptop, which is acceptable for my purposes.

With the experimental parallel validation enabled it took 11 minutes.

 

I’ll have to dig into the report to verify the validation errors, but it looks promising.

 

 

Best regards

 

Bart

 

_______________________________________________
rdf4j-dev mailing list
rdf4j-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/rdf4j-dev

Back to the top