Hi all,

If you try to run (apache-jena-4.7.0/bin/qparse --print=op --query=b.rq)
qparse on:
```
construct {
?s ?p ?o}
where {
?s ?p ?o
}
```

you get:
```
(bgp (triple ?s ?p ?o))
```

Notice only the where clause gets turned into SPARQL algebra.
I see <https://jena.apache.org/documentation/query/algebra.html> that
"Operations of CONSTRUCT, DESCRIBE and ASK are done on top of algebra
evaluation" which I believe explains why we don't see the construct clause
in the algebra.

I would like to have a Jena SSE style serialization for SPARQL construct
queries. Does anyone have any tips about how this might be done? Feels like
SSE could accommodate it with something like:

```
(construct (bgp (triple ?s ?p ?o))
  (bgp (triple ?s ?p ?o)))
```

Reply via email to