[ 
https://issues.apache.org/jira/browse/JENA-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13689234#comment-13689234
 ] 

Andy Seaborne commented on JENA-472:
------------------------------------

Try http://www.sparql.org/query-validator.html to see algebras you get for 
different ways of writing the part send as a SERVICE request.

{ {BGP} FILTER } is the same algebra as { BGP FILTER } after conversion to the 
SPARQL algebra.  Th optimizer only sees the algebra.

                
> Addition of braces around BGP for federated queries (SERVICE) with FILTER
> -------------------------------------------------------------------------
>
>                 Key: JENA-472
>                 URL: https://issues.apache.org/jira/browse/JENA-472
>             Project: Apache Jena
>          Issue Type: Bug
>    Affects Versions: TDB 0.10.2
>         Environment: Jena:       VERSION: 2.10.2-SNAPSHOT
> Jena:       BUILD_DATE: 20130620-0749
> ARQ:        VERSION: 2.10.2-SNAPSHOT
> ARQ:        BUILD_DATE: 20130620-0749
> RIOT:       VERSION: 2.10.2-SNAPSHOT
> RIOT:       BUILD_DATE: 20130620-0749
> TDB:        VERSION: 0.10.2-SNAPSHOT
> TDB:        BUILD_DATE: 20130620-0749
>            Reporter: Sarven Capadisli
>
> Query of the form:
> SELECT
>   SERVICE
>     SELECT
>     WHERE
>       BGP
>       FILTER
> is requested like the following at the endpoint:
>     SELECT
>     WHERE
>       { BGP }
>       FILTER
> Is the addition of {} braces necessary or should they be removed? While it 
> doesn't effect the result query, it had some impact on query time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to