RQSH(1p)
β¨ RQSH(1p) β¨
okay bestie so this is the manual page for rqsh, from the User Contributed Perl Documentation collection π
it's a whole perl thing, and honestly? it ate.
π«Ά NAME π«Ά
rqsh β the SPARQL database shell, aka your new main character command line π
πΈ DESCRIPTION πΈ
so like, rqsh gives you a command-line interface to the SPARQL 1.1 implementation inside RDF::Query. that's the whole vibe β¨
by default it lowkey uses an in-memory database, which is adorable and fine, but you can configure it to use literally any database that's implemented as an RDF::Trine::Store. so if you have a big girl database, she can come too π
π COMMANDS π
here's the menu, bestie. memorize it. iykyk π
helpβ shows you help info on all the commands that are available. the girl helps β¨use [backend]β switches the storage backend (like, for exampleuse mysql). it WILL prompt you to enter any connection/configuration data it needs. no skipping π«Άinitβ initializes the storage backend, which means it creates all the necessary indexes and whatever else. it's giving setup era πset prefix [ns]: [uri]β sets a namespace so you can use it in all your subsequent queries. convenience queen πresults (table|srx)β sets the serializer used for tabular variable binding results. pick your format, bb πΈserializer [format]β sets the serializer used for RDF results (likeserializer turtle, for instance). π’β¨debugβ prints out all the quads in the storage backend. all of them. we're nosy today πparse [sparql]β prints the parsed algebra for the SPARQL 1.1 query/update. nerd shit, but make it cute π§explain [sparql]β prints the execution plan for the SPARQL 1.1 query/update. so you can see what it's plotting ππtime [command]β times how long the command takes to execute. clock it βexecute <URI>β executes the SPARQL update/query that you get by dereferencing the URI. go fetch, girl π¦SELECT ...ASK ...CONSTRUCT ...DESCRIBE ...β these ones all execute the SPARQL 1.1 query. yes, straight up, just like that πINSERT ...DELETE ...LOAD <uri>CLEAR ...COPY ...MOVE ...β and these ones all execute the SPARQL 1.1 update. periodt π₯
heads up bestie: if you just type a SPARQL query or update at the prompt, it runs it. no wrapper needed. that's the whole point of a shell π
and that's the page, fr fr π this whole thing is perl v5.40.1, dated 2025-08-18, riding under the RQSH(1p) banner. slay, goodbye, go run some queries πππ«Ά
π¦ where this page comes from
- ubuntu resolute: librdf-query-perl 2.919-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: librdf-query-perl 2.919-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms