[
https://issues.apache.org/jira/browse/JENA-1724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16869364#comment-16869364
]
Andy Seaborne edited comment on JENA-1724 at 6/21/19 10:08 AM:
---------------------------------------------------------------
This affects arq.query, tdbquery as well as tdb2.tdbquery (the issue is
arq.query which is the in the super class of the TDB commands).
It is probably better to print the query to stderr.
was (Author: andy.seaborne):
This affects arq.query, tdbquery as well as tdb2.tdbquery (the issue is
arq.query which is the in the super class of the TDB commands).
> tdb2.tdbquery -v option writes query to stdout before results
> -------------------------------------------------------------
>
> Key: JENA-1724
> URL: https://issues.apache.org/jira/browse/JENA-1724
> Project: Apache Jena
> Issue Type: Bug
> Components: TDB2
> Affects Versions: Jena 3.12.0
> Reporter: Rhys Owen
> Assignee: Andy Seaborne
> Priority: Minor
>
> command wasÂ
> tdb2.tdbquery --loc=artifacts/B --query=ontos.rq --results=JSON >ontos.srj
> ontos.srj then contains this:
> {quote}1 PREFIX rdf:
> <[http://www.w3.org/1999/02/22-rdf-syntax-ns#|http://www.w3.org/1999/02/22-rdf-syntax-ns]>
> 2 PREFIX rdfs:
> <[http://www.w3.org/2000/01/rdf-schema#|http://www.w3.org/2000/01/rdf-schema]>
> ...
> 20 BIND(datatype(?v) AS ?range)
> 22 }
> {
> "head": {
> "vars": [ "domain" , "arrow" , "range" ]
> {quote}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)