.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "RQSH 1p" .TH RQSH 1p 2024-04-12 "perl v5.38.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME rqsh \- SPARQL database shell .SH DESCRIPTION .IX Header "DESCRIPTION" 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. .SH COMMANDS .IX Header "COMMANDS" .IP help 4 .IX Item "help" Show help information on available commands. .IP "use [backend]" 4 .IX Item "use [backend]" Switch the storage backend (e.g. "use mysql"). You will be prompted to enter any necessary connection/configuration data. .IP init 4 .IX Item "init" Initialize the storage backend (creating necessary indexes, etc.). .IP "set prefix [ns]: [uri]" 4 .IX Item "set prefix [ns]: [uri]" Set a namespace for use in subsequent queries. .IP "results (table|srx)" 4 .IX Item "results (table|srx)" Set the serializer used for tabular variable binding results. .IP "serializer [format]" 4 .IX Item "serializer [format]" Set the serializer used for RDF results (e.g. "serializer turtle"). .IP debug 4 .IX Item "debug" Print all the quads in the storage backend. .IP "parse [sparql]" 4 .IX Item "parse [sparql]" Print the parsed algebra for the SPARQL 1.1 query/update. .IP "explain [sparql]" 4 .IX Item "explain [sparql]" Print the execution plan for the SPARQL 1.1 query/update. .IP "time [command]" 4 .IX Item "time [command]" Time the execution of the command. .IP "execute " 4 .IX Item "execute " Execute the SPARQL update/query obtained by dereferencing URI. .IP "SELECT ..." 4 .IX Item "SELECT ..." .PD 0 .IP "ASK ..." 4 .IX Item "ASK ..." .IP "CONSTRUCT ..." 4 .IX Item "CONSTRUCT ..." .IP "DESCRIBE ..." 4 .IX Item "DESCRIBE ..." .PD Execute the SPARQL 1.1 query. .IP "INSERT ..." 4 .IX Item "INSERT ..." .PD 0 .IP "DELETE ..." 4 .IX Item "DELETE ..." .IP "LOAD " 4 .IX Item "LOAD " .IP "CLEAR ..." 4 .IX Item "CLEAR ..." .IP "COPY ..." 4 .IX Item "COPY ..." .IP "MOVE ..." 4 .IX Item "MOVE ..." .PD Execute the SPARQL 1.1 update.