justin2004 commented on issue #3866:
URL: https://github.com/apache/jena/issues/3866#issuecomment-4263251791
> What if you make the bnodes variables as well?
@namedgraph
```
prefix u: <uri:>
construct {
u:a u:b ?b .
?b u:time ?then .
}
where {
bind(now() as ?now)
bind(if(bound(?then),bnode(), 1/0 ) as ?b)
}
```
it works but it is more verbose and i have to specify lots of intermediate
structure.
the `[ ]` notation in the construct head is _so_ close to doing the ideal
thing for terse conditional structure.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]