1roqet(1)                    General Commands Manual                   roqet(1)
2
3
4

NAME

6       roqet - Rasqal RDF query utility
7

SYNOPSIS

9       roqet [OPTIONS] <query-URI> [base-URI]
10       roqet [OPTIONS]--exec query-string [base-URI]
11

EXAMPLE

13       roqet example.rdql
14       roqet -q -i rdql x.rdql http://example.org/base/
15       roqet -i sparql -r xml http://example.org/query.rq
16

DESCRIPTION

18       The  roqet  utility allows querying of RDF content using the Rasqal RDF
19       query library, printing the results in variable bindings, RDF graph  or
20       boolean  format.   The  query  is  read from query-URI and the optional
21       base-URI is used as the base URI of the query if present.
22

OPTIONS

24       roqet uses the usual GNU command line syntax, with long options  start‐
25       ing  with  two  dashes  (`-') if supported by the getopt_long function.
26       Otherwise only the short options are available.
27
28       -h, --help
29              Show a summary of the options.  -i,  --input  LANGUAGE  Set  the
30              input  query  LANGUAGE  to one of'sparql' (SPARQL Query Language
31              for RDF, default) or 'rdql' (RDF  Data  Query  Language).    The
32              list  of  supported languages is given in the help summary given
33              by -h.
34
35       -r, --results FORMAT
36              Set the query results format.
37
38              For variable bindings, the  values  of  FORMAT  vary  upon  what
39              Rasqal  supports  but  include 'simple' for a simple text format
40              (default), 'xml' for the SPARQL Query Results XML format,  'xml-
41              v2'  for the version of the 2005-05-27 working draft, and 'json'
42              for a JSON version of the results.  The older xml formats may be
43              removed in future releases.
44
45              For  RDF  graph results, the values of FORMAT are 'ntriples' (N-
46              Triples,  default),   'rdfxml-abbrev'   (RDF/XML   Abbreviated),
47              'rdfxml'  (RDF/XML), or 'rss-1.0' (RSS 1.0, also an RDF/XML syn‐
48              tax).
49
50              The exact list of formats depends on what libraptor(3) was built
51              with but is given correct in the usage message with -h.
52
53       -c, --count
54              Only count the triples and produce no other output.
55
56       -d, --dump-query FORMAT
57              Print  the  parsed  query  out in a given FORMAT one of 'debug',
58              'structure' or 'sparql'
59
60       -e, --exec QUERY
61              Execute the query in the argument QUERY instead of  reading  the
62              query from a URI.
63
64       -f, --feature NAME(=VALUE)
65              Set  query  feature  NAME  to the VALUE or integer 1 if omitted.
66              The known features can be shown with -f help or --feature help.
67
68       -n, --dryrun
69              Prepare the query but do not execute it.
70
71       -q, --quiet
72              No extra information messages.
73
74       -s, --source URI
75              Query against RDF data at source URI by adding it to the list of
76              query  data  source URIs.  FORMAT to 'simple' (default) or 'xml'
77              (an experimental XML format)
78
79       -v, --version
80              Print the rasqal library version and exit.
81
82       -w, --walk-query
83              Walk the query and display it using the API.
84

CONFORMING TO

86       SPARQL Query Language for RDF, Eric  Prud'hommeaux  and  Andy  Seaborne
87       (eds),     W3C     Candidate     Recommendation,    6    April    2006.
88       http://www.w3.org/TR/2006/CR-rdf-sparql-query-20060406/
89http://www.w3.org/TR/2006/CR-rdf-sparql-query-20060406/
90
91       SPARQL Query Results XML Format, Jeen Broekstra and Dave Beckett (eds),
92       W3C      Candidate      Recommendation,       6       April       2006.
93       http://www.w3.org/TR/2006/CR-rdf-sparql-XMLres-20060406/
94http://www.w3.org/TR/2006/CR-rdf-sparql-XMLres-20060406/
95
96       SPARQL Query Results XML Format, Edited by Dave  Beckett,  W3C  Working
97       Draft,  27  May  2005. Work in progress.  http://www.w3.org/TR/2005/WD-
98       rdf-sparql-XMLres-20050527/   ⟨http://www.w3.org/TR/2005/WD-rdf-sparql-
99       XMLres-20050527/⟩
100
101       SPARQL Variable Binding Results XML Format, Edited by Dave Beckett, W3C
102       Working    Draft,    21    December    2004.    Work    in    progress.
103       http://www.w3.org/TR/2004/WD-rdf-sparql-XMLres-20041221/
104http://www.w3.org/TR/2004/WD-rdf-sparql-XMLres-20041221/
105
106       RDQL - A Query Language for RDF, Andy Seaborne, W3C Member Submission 9
107       January    2004   http://www.w3.org/Submission/2004/SUBM-RDQL-20040109/
108http://www.w3.org/Submission/2004/SUBM-RDQL-20040109/
109

SEE ALSO

111       librasqal(3),rasqal-config(1),libraptor(3)
112

CHANGES

AUTHOR

115       Dave          Beckett           -           http://purl.org/net/dajobe/
116http://purl.org/net/dajobe/
117
118
119
120                                  2007-02-17                          roqet(1)
Impressum