sh:focusNode <https://example.org/big> ;
sh:resultMessage "Value must be <https://example.org/small>" ;
appears as a detail of the correct main violation ("ex:city should be sh:IRI" ).
Notice that the phantom result disappears if we swap small and big in the shape. Likely it is a temporary result of the sh:or evaluation, which should be discarded as soon as the second alternative satisfies the constraint.
Also worth noting that the phantom result is not there if we fix the main issue ("ex:city should be sh:IRI" ).
For certain violations, the report includes completely unrelated result details.
repro:
A phantom violation:
appears as a detail of the correct main violation ("ex:city should be sh:IRI" ).
Notice that the phantom result disappears if we swap
small
andbig
in the shape. Likely it is a temporary result of thesh:or
evaluation, which should be discarded as soon as the second alternative satisfies the constraint.Also worth noting that the phantom result is not there if we fix the main issue ("ex:city should be sh:IRI" ).