Skip to content

Script: cache queries.sh

timrdf edited this page Mar 2, 2011 · 16 revisions

See Querying datasets created by csv2rdf4lod.

$CSV2RDF4LOD_HOME/bin/util/cache-queries.sh

usage: cache-queries.sh <endpoint> [-p {output,format}] [-o {sparql,gvds,xml,exhibit,csv}+] [-q a.sparql b.sparql ...]*
    execute SPARQL queries against an endpoint requesting the given output formats
            -p : the URL parameter name used to request a different output/format.
    default -p : output
            -o : the URL parameter value(s) to request.
    default -o : sparql xml
    default -q : *.sparql *.rq

Generalized to handle LOGD's SparqlProxy and DBpedia (they use different att-vars to control output).

Clone this wiki locally