Hi all,
I'd like to create a test case that makes sure some arbitrary number of SPARQL queries, when executed, produce at least 1 result each. Sounds easy enough.
The hitch is that these SPARQL queries are defined as dash:SPARQLSelectTemplates with a sh:select triple connecting to the string literal of the query itself. This string literal will include all prefixes, result variables, and where clause - that is, it is good to execute as is. (Parameters can come later!).
So, I'd like a test case that:
1. Finds all of the SPARQLSelectTemplates in a graph
2. Executes each one
3. Passes if each returns at least one answer, fails otherwise.
Seems like I might be in the intersection of a few technologies I don't know very well including ADS and the dash TestSuites, but I have a feeling this is pretty doable.
If someone could point me in the right direction, I'd be grateful. Thanks!
Adam