[ 
https://issues.apache.org/jira/browse/JENA-1543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16465661#comment-16465661
 ] 

ASF GitHub Bot commented on JENA-1543:
--------------------------------------

Github user kinow commented on a diff in the pull request:

    https://github.com/apache/jena/pull/415#discussion_r186369795
  
    --- Diff: 
jena-arq/src/main/java/org/apache/jena/sparql/util/QueryExecUtils.java ---
    @@ -191,6 +197,11 @@ private static void doSelectQuery(Prologue prologue, 
QueryExecution qe, ResultsF
             outputResultSet(results, prologue, outputFormat) ;
         }
     
    +    private static void doJsonQuery(Prologue prologue, QueryExecution 
queryExecution, ResultsFormat outputFormat) {
    +        JsonArray results = queryExecution.execJson();;
    --- End diff --
    
    Double `;`.  Nit-pick, as it's normally harmelss (unless after some "end" 
statements like `return`, `break`, etc, I think?)


> Remote execution of JSON queries
> --------------------------------
>
>                 Key: JENA-1543
>                 URL: https://issues.apache.org/jira/browse/JENA-1543
>             Project: Apache Jena
>          Issue Type: Improvement
>          Components: ARQ
>    Affects Versions: Jena 3.8.0
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>            Priority: Major
>             Fix For: Jena 3.8.0
>
>
> Provide remote execution of JSON queries (JENA-632).
> {noformat}
> String qs= "JSON { 'abc': ?X } WHERE {BIND (now() As ?X)}";
> Query query = QueryFactory.create(qs, Syntax.syntaxARQ);
> try ( QueryExecution qExec = 
> QueryExecutionFactory.sparqlService("http://localhost:3030/ds";, query)) {
>     QueryExecUtils.executeQuery(qExec);
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to