No there isn't.  It is an oversight.  Looks like QueryBuilder needs to have
a group pattern.  I think that this could be done by using a SelectBuilder
as a container the group pattern as we can get a WhereHandler from it and
that seems to have all the bits that are needed.

Claude

On Sat, Sep 19, 2015 at 3:10 PM, Andy Seaborne <[email protected]> wrote:

> how do I add
>
> OPTIONAL {
>     ?s <q> 123 .
>     ?s <v> ?x .
>     FILTER(?x>56)
> }
>
> i.e a compound OPTIONAL pattern?
>
> There seems to be no concept of a group pattern (do not confuse with GROUP
> BY).
>
> (This applies all places group patterns occur, which is quite a few in
> SPARQL)
>
>         Andy
>



-- 
I like: Like Like - The likeliest place on the web
<http://like-like.xenei.com>
LinkedIn: http://www.linkedin.com/in/claudewarren

Reply via email to