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
25 stars 15 forks source link

Fix issue with blank nodes and sh:or #80

Closed agustaf9 closed 2 years ago

agustaf9 commented 2 years ago

getLocalName() was returning null when the property shapes containing the sh:or were blank nodes. This uses the propertyshape [id ](https://www.javadoc.io/static/org.apache.jena/jena-core/2.12.0/com/hp/hpl/jena/rdf/model/Resource.html#getId()) if there is not a localName to get.

Fixes #79

tfrancart commented 2 years ago

Thanks !