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 example use 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 (like serializer 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