You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Laura Morales <la...@mail.com> on 2018/04/23 14:50:31 UTC

[Fuseki] Stream query results

    SELECT *
    WHERE { ?s ?p ?o }


Is it possible to stream queries results with Fuseki? It feels like what Fuseki is doing is 1) retrieve all results first 2) send all results at once second. Is this correct?
In particular, what I'm trying to do is to loop through a large set of triples using either Python or PHP, so what I'd need is some kind of "iterator" to read data (query results) in a streaming fashion.

Any hints? Thanks a lot.

Re: [Fuseki] Stream query results

Posted by Andy Seaborne <an...@apache.org>.

On 23/04/18 15:50, Laura Morales wrote:
>      SELECT *
>      WHERE { ?s ?p ?o }
> 
> 
> Is it possible to stream queries results with Fuseki? It feels like what Fuseki is doing is 1) retrieve all results first 2) send all results at once second. Is this correct?

Results for a query such as that one are streamed.

Whether you local HTTP library passes them to the application streamed 
or waits until all the results have been received, is a local matter.

     Andy


> In particular, what I'm trying to do is to loop through a large set of triples using either Python or PHP, so what I'd need is some kind of "iterator" to read data (query results) in a streaming fashion.
> 
> Any hints? Thanks a lot.
>