@comunica/runner-cli

Comunica CLI runner that initializes and executes queries

npmmacoslinuxwindows
Try with needOr install directly
Source

About

A comunica runner that sends an 'init' event from a commandline process.

Commands

comunica-runner

Examples

Execute a SPARQL query against a remote endpoint$ comunica-runner sparql https://dbpedia.org/sparql 'SELECT * WHERE { ?s ?p ?o } LIMIT 10'
Query multiple RDF sources with a federated query$ comunica-runner sparql https://example.org/data1 https://example.org/data2 'SELECT ?name WHERE { ?s foaf:name ?name }'
Execute a query and output results in JSON format$ comunica-runner sparql https://dbpedia.org/sparql --output json 'SELECT * WHERE { ?s rdf:type foaf:Person } LIMIT 5'