Adds a directory to contain the SPARQL queries for the CQs. I tried to keep things minimal. Each query is contained in a Python script named after the CQ itself, e.g. cq6.py, which contains:
A docstring with documentation on the CQ. Here it's important to link to the GitHub issue where we have the history of the discussion behind the final decision on the representation, see the two scripts added with this PR for an example.
The SPARQL query in a string variable named QUERY
The code needed to run the query and display the results on the terminal
There's a readme that explains the above and gives instructions on how to run the scripts. I've added a link after the CQ table that points to the new sparql directory.
Adds a directory to contain the SPARQL queries for the CQs. I tried to keep things minimal. Each query is contained in a Python script named after the CQ itself, e.g.
cq6.py
, which contains:QUERY
There's a readme that explains the above and gives instructions on how to run the scripts. I've added a link after the CQ table that points to the new sparql directory.