Re: Unknown rule

Jerven Bolleman <[email protected]>
Newsgroups gmane.org.w3c.semantic-web
Message-ID <[email protected]>
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, [email protected] 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!
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.