Re: Unknown rule
Martynas Jusevičius <[email protected]>
| Newsgroups | gmane.org.w3c.semantic-web |
|---|---|
| Message-ID | <CAE35VmwQC12rmyOOLQ+bu0LS=NgZfgy+5PMip4fqxj9+=zCMPg@mail.gmail.com> |
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 <[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!