Add action "queries" to obtain a TSV with all warmup queries (one line each, description and SPARQL). This is used by the qlever script for action autocompletion-warmup. TODO: This requires a special access token, which is currently hard-coded in backend/views.py; instead, this should be taken from the backend configuration or some other safe mechanism.
Clean up the code and add documentation. In the example command, remove trailing whitespace from the normalized query.
For PubChem, add SELECT ?type (COUNT(?subject) AS ?count) { ?subject rdf:type ?type } GROUP BY ?type to warmup queries [experimental]
Add action "queries" to obtain a TSV with all warmup queries (one line each, description and SPARQL). This is used by the qlever script for action
autocompletion-warmup
. TODO: This requires a special access token, which is currently hard-coded inbackend/views.py
; instead, this should be taken from the backend configuration or some other safe mechanism.Clean up the code and add documentation. In the
example
command, remove trailing whitespace from the normalized query.For PubChem, add
SELECT ?type (COUNT(?subject) AS ?count) { ?subject rdf:type ?type } GROUP BY ?type
to warmup queries [experimental]