AKSW / RDFUnit

An RDF Unit Testing Suite
http://RDFUnit.aksw.org
Apache License 2.0
150 stars 42 forks source link

SHACL support #62

Open jimkont opened 8 years ago

jimkont commented 8 years ago

This issue tracks SHACL support in RDFUnit

Scopes

SHACL Core Constraint Components

SPARQL-based Constraints

SPARQL-based Constraint Components

Actually, all of the supported SHACL-Core is defined in this document which are SPARQL-based Constraint Components

Some pre-binding corner cases are not covered yet and are under development (see implementation report (to be submitted soon))

akuckartz commented 8 years ago

:+1:

chile12 commented 8 years ago

awesome, good work

nandana commented 7 years ago

:+1:

jimkont commented 6 years ago

Hi, for those following this issue (cc/ @akuckartz , @nandana , @chile12 , @gcpdev, @seebi) the description is now updated to the latest SHACL support from RDFUnit. Thanks to @neradis an implementation report will be submitted soon and a new artifact will be published to maven central after some polishing. Until then, you can use latest master branch for testing.

Any feedback / bug reports are more than welcome

tomas-knap commented 6 years ago

Great, we will try it out!

ktk commented 9 months ago

Hi @jimkont, great meeting you at Semantics! I had a look at RDF Unit & SHACL & found this issue. Is this still representing the level of the current implementation? This is great but I think I won't get around logical constraints at some point, any plans in that regard?

jimkont commented 9 months ago

Hi @ktk , great meeting you in person as well. IIRC logical constraints were (fully?) implemented but cannot recall about qualified shapes. It has been a while but can try regenerating the implementation report and check which tests fail and you can take a look and judge based on that

jimkont commented 9 months ago

So, I rerun the SHACL test suite and the results are improved compared to the submitted compliance report. As an aggregate there are: tests passed: 73, failed: 10 and partial: 37 (errors detected but there is some mismatch in the exact expected reporting). The failing ones are mainly related to prebinding and qualified cardinality, here's the full list rdfunit-shacl-earl.ttl.zip

If you decide to try it out, you might want to use the aggregate reports when testing SPARQL endpoints directly. The results in that mode are much more useful to process than individual instance errors, especially when you expect a lot of violations

ktk commented 9 months ago

Great, thanks for the update!