W3C home > Mailing lists > Public > semantic-web@w3.org > February 2020

Re: Unknown rule

From: Martynas Jusevičius <martynas@atomgraph.com>
Date: Fri, 28 Feb 2020 17:02:13 +0100
Message-ID: <CAE35VmwQC12rmyOOLQ+bu0LS=NgZfgy+5PMip4fqxj9+=zCMPg@mail.gmail.com>
To: hans.teijgeler@quicknet.nl
Cc: Semantic Web <semantic-web@w3.org>
It's probably the / or the # after xyz:P-101.

Try a full URI syntax (not prefixed) for those.

Also 14,7 seems like an invalid xsd:decimal value.

On Fri, Feb 28, 2020 at 4:54 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:02:37 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:42:09 UTC