virtuoso-opensource icon indicating copy to clipboard operation
virtuoso-opensource copied to clipboard

Variable name cannot start with ú

Open jakubklimek opened this issue 4 years ago • 1 comments

When a variable name starts with ú, e.g.

select * where {?ú ?p ?o} LIMIT 100

On https://data.gov.cz/sparql I get

Virtuoso 37000 Error SP030: SPARQL compiler, line 0: Bad character '�' (0xc3) in SPARQL expression at '�'

SPARQL query:

#output-format:text/html
define sql:signal-void-variables 1 select * where {?ú ?p ?o} LIMIT 100

and on https://dbpedia.org/sparql I get

Virtuoso 37000 Error SP030: SPARQL compiler, line 0: Bad character 'Ã' (0xc3) in SPARQL expression at 'Ã'

SPARQL query:
#output-format:text/html
define sql:signal-unconnected-variables 1
define sql:signal-void-variables 1
define input:default-graph-uri <http://dbpedia.org>
select * where {?ú ?p ?o} LIMIT 100

jakubklimek avatar Jan 26 '21 10:01 jakubklimek

On Tue, 26 Jan 2021 at 10:05, Jakub Klímek [email protected] wrote:

When a variable name starts with ú, e.g.

select * where {?ú ?p ?o} LIMIT 100

On https://data.gov.cz/sparql I get

Virtuoso 37000 Error SP030: SPARQL compiler, line 0: Bad character '�' (0xc3) in SPARQL expression at '�'

Hi, The way I read the SPARQL spec, this looks like a bug. Have raised a bug internally for tracking.

Cheers,

~Tim

Tim Haynes Product Development Consultant OpenLink Software http://www.openlinksw.com/ http://twitter.com/openlink

timhaynesopenlink avatar Jan 26 '21 11:01 timhaynesopenlink