On Mon, Mar 28, 2016 at 6:43 AM, Andy Seaborne <[email protected]> wrote:
> Encountered " "distinct" "DISTINCT "" at line 6, column 129
>
> Check the syntax at that point.
>
> (GROUP_CONCAT DISTINCT (?x) ...
>
> is wrong.

Andy,

I actually started another thread about this (not knowing about this
one), and that error looks like it might on Jena's end.  If you throw,
e.g.,

    select (group_concat(distinct ?x) as ?y) {}

into the validator on sparql.org, it parses it and formats it as

    select (group_concat distinct (?x) as ?y) where {}

If Jena's parsing it and sending the re-formatted query along, the
remote endpoint would complain about the injected syntax error.


>
>         Andy
>
>
> On 28/03/16 11:39, Andy Seaborne wrote:
>>
>> Hi there,
>>
>> You don't appear to be subscribed to the [email protected] mailing
>> list, or you sent a message before replying to the acknowledgement. Your
>> email has ended up in the moderators inbox.  If you are not subscribed,
>> you will not see replies to your question.
>>
>> Please could you subscribe by sending an email to
>>
>> [email protected]
>>
>> then reply to the confirmation.
>>
>> After that, please could you re-send the message.
>>
>> You will then receive all replies that are sent to the list.
>>
>> More details:
>>
>> http://jena.apache.org/help_and_support/index.html
>>
>>      Andy
>>
>>
>>
>> On 28/03/16 11:37, [email protected] wrote:
>>>
>>> Dears,
>>>
>>> I've been having this problem since a long time and unfortunately no
>>> one on StackOverFlow could find the solution. It is definitely a bug
>>> in Jena, could you have a look please?
>>>
>>>
>>> https://stackoverflow.com/questions/36137483/sparql-query-works-on-the-fuseki-interface-but-in-jena
>>>
>>
>



-- 
Joshua Taylor, http://www.cs.rpi.edu/~tayloj/

Reply via email to