sparql.anything icon indicating copy to clipboard operation
sparql.anything copied to clipboard

[CLI] parametrised queries: give the option to join the output

Open enridaga opened this issue 3 years ago • 2 comments

At the moment, parameterized queries (using options -v,-i,-p) are producing separate output/files for each one of the input bindings. It would be useful to give the user the opportunity to get them all in the same resultset/graph/file

enridaga avatar Feb 17 '22 09:02 enridaga

This may be trivial for some formats:

  • Turtle (and Star...)
  • N-Quads (and Star...)
  • N-Triples (and Star...)
  • Trig (and Star...)

Also, raise an error or stop if any other format is requested. Future work (issues to open) is to add support for tabular data output (CSV only)

enridaga avatar Sep 02 '22 14:09 enridaga

Other formats may require to join the whole data in memory, which could be problematic in some scenarios (but we can still support it)

enridaga avatar Sep 02 '22 14:09 enridaga