Open enridaga opened 3 years ago
I resumed this issue as I would like to see whether can be addressed. I had a look at the SHACL specification which seems to me unsuitable for defining a constraint that validates Facade-X. Maybe I have misunderstood something, but it seems to me that it is not possible to define constraints such as:
xyz:
or xhtml:
(see HTML triplifier) as namespace I don't know if someone with more familiarity with SHACL is able to translate these constraints into shapes.
Otherwise, these could be written as AS SPARQL queries.
Anyway, 35edfd4 introduces the method AbstractTriplifierTester.assertConformanceToFxShapes()
which validates the resulting dataset graph against the shapes declared in sparql-anything-testutils/src/main/resources/Facade-X-shapes.ttl
So, if anyone comes up with a shape for Facade-X this can be included there.
It would be a useful tool for validating the output of sparql.anything transformers.