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

Andy Seaborne commented on JENA-1543:
-------------------------------------

and via RDFConnection:
{noformat}
        try ( RDFConnection conn = 
RDFConnectionFactory.connect("http://localhost:3030/ds";) ) {
            try ( QueryExecution qExec = conn.query(query) ) {
                // qexec.execJson + printing
                QueryExecUtils.executeQuery(qExec);
            }
        }
{noformat}

> 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