rqsh - SPARQL database shell
rqsh provides a command-line interface to the SPARQL 1.1 implementation of RDF::Query. It defaults to using an in-memory database, but can be configured to use any database implemented as an RDF::Trine::Store.
Show help information on available commands.
Switch the storage backend (e.g. "use mysql"). You will be prompted to enter any necessary connection/configuration data.
Initialize the storage backend (creating necessary indexes, etc.).
Set a namespace for use in subsequent queries.
Set the serializer used for tabular variable binding results.
Set the serializer used for RDF results (e.g. "serializer turtle").
Print all the quads in the storage backend.
Print the parsed algebra for the SPARQL 1.1 query/update.
Print the execution plan for the SPARQL 1.1 query/update.
Time the execution of the command.
Execute the SPARQL update/query obtained by dereferencing URI.
Execute the SPARQL 1.1 query.
Execute the SPARQL 1.1 update.
To install RDF::Query, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RDF::Query
CPAN shell
perl -MCPAN -e shell install RDF::Query
For more information on module installation, please visit the detailed CPAN module installation guide.