roqet − Rasqal RDF parser utility |
roqet [OPTIONS] <query-URI> [base-URI] |
roqet example.rdql roqet -q x.rdql http://example.org/base/ roqet -i sparql http://example.org/query.sparql |
The roqet utility allows the querying of RDF content using the Rasqal RDF query library, emitting the results as variable bindings (at present). The query is read from query-URI and the optional base-URI is used as the base URI if present. |
roqet uses the usual GNU command line syntax, with long options starting with two dashes (‘-’) if supported by the getopt_long function. Otherwise the short options are only available. |
−h, −−help |
Show a summary of the options. |
−i, −−input LANGUAGE |
Set the input query LANGUAGE to one of ’rdql’ (RDF Data Query Language, default) and ’sparql’ (SPARQL Query Language for RDF). The list of supported languages is given in the help summary given by −h. |
−o, −−output FORMAT |
Set the query result output FORMAT to ’simple’ (default) or ’xml’ (an experimental XML format) |
−c, −−count |
Only count the triples and produce no other output. |
−d, −−dump-query |
Print a debugging dump of the constructed query. |
−q, −−quiet |
No extra information messages. |
−s, −−source URI |
Query against RDF data at source URI by adding it to the list of query data source URIs. FORMAT to ’simple’ (default) or ’xml’ (an experimental XML format) |
−v, −−version |
Print the rasqal library version and exit. |
RDQL RDF Data Query Language, HP Labs, http://www.w3.org/Submission/2004/SUBM-RDQL-20040109/ |
librasqal(3),rasqal-config(1) |
Dave Beckett |
Copyright 2002-2004 Dave Beckett, Institute for Learning and Research Technology, University of Bristol