Open m1ci opened 5 years ago
I don't think this can be done in SHACL but in the RDFUnit test case format you can put any SPARQL query and that should be easily implemented
ok, thanks for the info. Can you please provide a pointer to some hello world example of an RDFUnit test case?
ok, thanks for the info. Can you please provide a pointer to some hello world example of an RDFUnit test case?
Here are some example tests that includes SPARQL queries:
https://github.com/dbpedia/ontology-tracker/blob/master/guidelines/dbo.tests.shapes.ttl
there are many examples in the rdfunit-manual module as well. e.g. for nif
Is it possible to implement in SHACL/RDFUnit a validaiton rule that in the graph there must be 8 instances of some class? Thanks!