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

Andy Seaborne commented on JENA-1429:
-------------------------------------

You have to encode
{{#}} marks the URI fragment. A SPARQL query involving a {{#}} must encode it 
as {{%23}} in the HTTP query string otherwise it is a URL fragment. URI 
Fragments are not set by the client in HTTP.


> Error with # comments in SPARQL
> -------------------------------
>
>                 Key: JENA-1429
>                 URL: https://issues.apache.org/jira/browse/JENA-1429
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Fuseki
>         Environment:  Fuseki 3.4.0 
>            Reporter: Karima Rafes
>            Priority: Trivial
>
> A comment in SPARQL queries take the form of '#', outside an IRI or string, 
> and continue to the end of line[1] but Fuseki sends a parse error (Fuseki 
> 3.4.0 (Build date: 2017-07-17T11:43:07+0000)).
> [1] https://www.w3.org/TR/rdf-sparql-query/#grammarComments



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to