Issues a SPARQL 1.1 query or update against your target world. The CLI
intelligently determines if the input is a raw query string or a local filepath
to a .rq file.
The unique system identifier of the target world. Alias: -w
The raw SPARQL string, or a relative/absolute path to a file containing a
SPARQL query. Alias: -q
Usage
# Executing an inline string
worlds sparql --world my-world --query "SELECT * WHERE { ?s ?p ?o } LIMIT 10"
# Executing from a file
worlds sparql --world my-world --query ./queries/get_users.rq