Closed nchauvat closed 2 months ago
Hi Thomas,
Thank you for shacl-play.
Using it to generate shapes from an ontology with a DatatypeProperty of range rdf:langString, such as
my:title a owl:DatatypeProperty ; rdfs:domain my:ClassyClass ; rdfs:range rdf:langString.
we got
sh:class rdf:langString
instead of the expected
sh:datatype rdf:langString
see https://www.w3.org/TR/rdf12-concepts/#section-Graph-Literal about rdf:langString.
After changing sh:class to sh:datatype, the data is correctly validated by shacl-play.
Hello @nchauvat and thanks for stopping by. Indeed I think the problem is here
This was fixed, could you give it another try ? if it works for you, could you close the issue ? Thanks !
Hi Thomas,
Thank you for shacl-play.
Using it to generate shapes from an ontology with a DatatypeProperty of range rdf:langString, such as
we got
instead of the expected
see https://www.w3.org/TR/rdf12-concepts/#section-Graph-Literal about rdf:langString.
After changing sh:class to sh:datatype, the data is correctly validated by shacl-play.