- From: Jerven Bolleman <jerven.bolleman@sib.swiss>
- Date: Fri, 28 Feb 2020 17:07:30 +0100
- To: semantic-web@w3.org
Hi Hans, I think it is because '/' and '#' are not allowed in a local prefixed name in turtle. These need to be in <> without the prefixed name. https://www.w3.org/TR/turtle/#grammar-production-PN_LOCAL for the details. Regards, Jerven On 2/28/20 4:48 PM, hans.teijgeler@quicknet.nl wrote: > Dear all, > > Can anybody tell me why the following doesn't pass any RDF validator? > > xyz:P-101/40000512 ex:propertyValueInBarGauge "14,7"^^xsd:decimal . > > or > > xyz:P-101#40000512 ex:propertyValueInBarGauge "14,7"^^xsd:decimal . > > It seems to me that the subject is a perfect URI, but apparently it > violates some rule. > > But no validator tells me which rule. > > I got: > > Unexpected "string" on line 208. > > Syntax error: unexpected "string" on line 208. > > Error! $resource should be either IRI, blank-node identifier or > EasyRdf_Resource. got empty string > > Please enlighten me! >
Received on Friday, 28 February 2020 16:07:54 UTC