You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When validated together, they return a bunch of results, some of which have the sh:focusNode looking like
[ a sh:ValidationResult ;
sh:focusNode ( "Male""Female""Other""Prefer not to tell" ) ;
sh:resultMessage "Less than 1 values" ;
sh:resultPath <http://www.w3.org/2006/vcard/ns#language> ;
sh:resultSeverity sh:Violation ;
sh:sourceConstraintComponent sh:MinCountConstraintComponent ;
sh:sourceShape <http://example.com/SpokenLanguagesProperty> ],
What's with the list? It is by no means the "focus node that has caused the result" but also not completely random, given that it's clearly the sh:in list from another field.
Is this blank nodes IDs clashing?
The text was updated successfully, but these errors were encountered:
I could not reproduce that. The blank node clash hypothesis seems very likely to me. Are you using the same factory for the data and shapes datasets? Can you maybe provide a code sample?
Yes, it definitely if the shapes and data graphs getting mixed up and if they have blank nodes with same label, it looks as though they are used in place of one another. Here's a minimal example: https://runkit.com/embed/yxnja9rhg077 (run with node 13+)
I don't understand but there seems to be a bug in the validation results. Here's an example shapes graph:
and data graph
When validated together, they return a bunch of results, some of which have the
sh:focusNode
looking likeWhat's with the list? It is by no means the "focus node that has caused the result" but also not completely random, given that it's clearly the
sh:in
list from another field.Is this blank nodes IDs clashing?
The text was updated successfully, but these errors were encountered: