Demo for Bug in Literal Parser#

The rdfs:label value "42F" is wrongly interpreted as a number. It should be a String!

  • "42F" must not be interpreted as number, but string
  • "123" and "456" are correctly parsed as string and number, respectively
  • age is correctly parsed as integer

litbug
litbug
lns.age
:age
rdf.type
rdf:type
owl.DatatypeProperty
owl:DatatypeProperty
.
lns.joba
:joba
rdf.type
rdf:type
owl.Class
owl:Class
;
rdfs.label
rdfs:label
"42F"
;
lns.age
:age
42
;
rdfs.label
rdfs:label
"123"^^xsd:string
;
rdfs.label
rdfs:label
"456"^^xsd:number
.