Open LaurensRietveld opened 3 years ago
It would be valuable to see an example.
tl;dr; the spec requires values of certain properties to be lists. If it's any of those cases, we'd likely. just trade the error message for something more informative
I was able to reproduce this with the following MWE:
prefix : <https://triply.cc/>
prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
prefix sh: <http://www.w3.org/ns/shacl#>
:x a :X.
:lst
rdf:first rdf:type;
rdf:rest rdf:nil.
:model {
:lst
rdf:first rdf:type;
rdf:rest rdf:nil.
:X
sh:closed true;
sh:ignoredProperties :lst;
sh:targetNode :x.
}
Depending on the structure of your SHACL shape and its list definitions, you may get obscure errors such as this:
This seems to be caused by the clownface
list()
implementation returningnull
instead of an iterable (see hereI would have expected no error, or a more informative error instead.
Let me know if you need an MWE, and I'll see whether I can add the
M
to myWE