incubator-jena-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Damian Steer (JIRA)" <>
Subject [jira] [Commented] (JENA-238) construct query where clause does not seem to work as advertised
Date Thu, 26 Apr 2012 21:52:50 GMT


Damian Steer commented on JENA-238:


"A short form for the CONSTRUCT query form is provided for the case where the template and
the pattern are the same and the pattern is *just a basic graph pattern* (no FILTERs and no
complex graph patterns are allowed in the short form)."

Unless this has changed that would mean no OPTIONAL or UNION in the where clause.
> construct query where clause does not seem to work as advertised
> ----------------------------------------------------------------
>                 Key: JENA-238
>                 URL:
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: ARQ, LARQ
>    Affects Versions: ARQ 2.9.0, LARQ 1.0.0
>         Environment: Windows Vista 32-bit
>            Reporter: Andrew Crapo
> Here are two queries:
> select ?o ?o1 ?o2 where {<> 
> 	<> ?o  . 
> 	OPTIONAL {?o <> ?o1}
> 	OPTIONAL {?o <>
> construct where {<> 
> 	<> ?o  . 
> 	OPTIONAL {?o <> ?o1}
> 	OPTIONAL {?o <>
> My understanding is that the where clause for construct should handle OPTIONAL. The first
query works fine, the second query has a parse error. The same is true if I try to use a construct
query with a UNION in it--it will not parse.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message