On 15/02/2023 14:05, Mikael Pesonen wrote:

This works:
<https://www.example.com/-30>

but this results error Expected IRI for predicate: got: [INTEGER:-30]:

@prefix id: <https://www.example.com/> .
id:-30 a skos:Concept

Latter should be legal?

No.

https://www.w3.org/TR/turtle/#grammar-production-PN_LOCAL

Minus can not be the first character.

use an escape:

id:\-30 a skos:Concept

Reply via email to