sparna-git / shacl-play

SHACL validation UI, SHACL documentation generator, SHACL generator from RDF.
http://shacl-play.sparna.fr
GNU Lesser General Public License v3.0
24 stars 15 forks source link

Wrong URL for Owl2ShaclStyle #104

Open arrascue opened 10 months ago

arrascue commented 10 months ago

We executed the provided JAR file (shacl-play-app-0.6.2-onejar.jar) and it failed with the following messages on each of the available styles:

java.io.FileNotFoundException: https://raw.githubusercontent.com/sparna-git/owl2shacl/main/owl2shacl-closed.ttl
java.io.FileNotFoundException: https://raw.githubusercontent.com/sparna-git/owl2shacl/main/owl2shacl-closed-ignoredProperties.ttl
java.io.FileNotFoundException: https://raw.githubusercontent.com/sparna-git/owl2shacl/main/owl2shacl-simple.ttl

We have noticed that the URLs are slightly different. So, it should be:

https://raw.githubusercontent.com/sparna-git/owl2shacl/main/owl2sh-closed.ttl https://github.com/sparna-git/owl2shacl/blob/main/owl2sh-open.ttl ... etc.

The place where these URLs are defined seem to be defined here: https://github.com/sparna-git/shacl-play/blob/112c1273330b13abb6a9000ee5a7946d11509e53/shacl-validator/src/main/java/fr/sparna/rdf/shacl/owl2shacl/Owl2Shacl.java#L25

Would you please have a look? Thank you.