You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Paolo Castagna <ca...@googlemail.com> on 2012/02/02 10:11:46 UTC

Prefixes and s-query vs. tdbquery...

Hi,
I know this is not important and it's probably not even an issue nor a problem...

However, when I run SPARQL queries from a command line or from a shell script
and write stuff out as "text" I noticed that s-query seems to ignore prefixes
in the output:

s-query --service=... --output=text "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> ..."
I see http://www.w3.org/1999/02/22-rdf-syntax-ns#... in the output.

tdbquery --loc=... "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> ..."
I see rdf:... in the output.

Is there a way I can have prefixes displayed in the text output with s-query?

Thanks,
Paolo