Add support for namespace prefixes containing digits
Closed this issue · 1 comments
aslakjohansen commented
Currently, it seems, that namespace prefixes containing digits are not supported.
The attached minimal_case.zip contains a TTL file and matching query (the a
variant) which gives a simple result, and a version of the same TTL file and query containing a single digit in a used namespace prefix (the b
variant). This gives a syntax error instead of the same result:
Error parsing: syntax error. Current line 29:33. Recent token 'ns2:Large_City'
As a query (like the following) can generate results in the affected namespace if it doesn't reference the affected namespace I suspect the issue is limited to the parser generator of the query language.
SELECT ?city
WHERE {
?city owl:subClassOf brick:City .
};