Running the “Minidumps with RDFUnit/SHACL” test with given example returns the following error:
- Minidumps with RDFUnit/SHACL *** FAILED ***
[ShaclTestCaseResultImpl(resultAnnotations=[PropertyValuePair(property=http://www.w3.org/ns/shacl#resultPath, values=[http://dbpedia.org/property/location]),
PropertyValuePair(property=http://www.w3.org/ns/shacl#sourceConstraintComponent, values=[http://www.w3.org/ns/shacl#HasValueConstraintComponent]),
PropertyValuePair(property=http://www.w3.org/ns/shacl#sourceShape, values=[b4326c0d67404a6b5d32cddd7322097a]),
PropertyValuePair(property=http://www.w3.org/ns/shacl#focusNode, values=[http://books.google.com/books%3Fvid=ISBN978-0-8014-4515-6]),
PropertyValuePair(property=http://www.w3.org/ns/shacl#resultSeverity, values=[http://www.w3.org/ns/shacl#Violation]),
PropertyValuePair(property=http://www.w3.org/ns/shacl#resultMessage, values=[should have value: {$hasValue}])])] was not empty (MinidumpTests.scala:222)
But citation-data dataset contains extracted triple with parameters described in shapes graph. The extracted triple:
<http://books.google.com/books%3Fvid=ISBN978-0-8014-4515-6> <http://dbpedia.org/property/location> "Ithaca" .
“Minidumps with RDFUnit/SHACL” test returns unexpected error.
E.g. we have shapes graph like this:
Running the “Minidumps with RDFUnit/SHACL” test with given example returns the following error:
But citation-data dataset contains extracted triple with parameters described in shapes graph. The extracted triple:
<http://books.google.com/books%3Fvid=ISBN978-0-8014-4515-6> <http://dbpedia.org/property/location> "Ithaca" .
And that’s why it have not to return any errors.