W3C home > Mailing lists > Public > public-rdf-wg@w3.org > May 2011

Re: The RDF 1.1 Literal Quiz

From: Pat Hayes <phayes@ihmc.us>
Date: Thu, 19 May 2011 09:58:01 -0500
Cc: <richard@cyganiak.de>, <public-rdf-wg@w3.org>
Message-Id: <25BF4CF4-DE05-401D-AD9F-90ADF522530F@ihmc.us>
To: Peter Frederick Patel-Schneider <pfps@research.bell-labs.com>

On May 18, 2011, at 2:24 PM, Peter Frederick Patel-Schneider wrote:

> From: Pat Hayes <phayes@ihmc.us>
> Subject: Re: The RDF 1.1 Literal Quiz
> Date: Wed, 18 May 2011 14:18:07 -0500
> 
> 
>>> Q3. Is this be a valid Turtle file?
>>> 
>>> <a> <b> "foo"^^rdf:PlainLiteral .
>> 
>> No.  "foo@"^^rdf:PlainLIteral is barely legal but strongly deprecated in favor of the plain literal syntax.
> 
> Huh?  Isn't this legal?
> 
> However, "foo" is not in the lexical space of rdf:PlainLiteral, so the
> interpretation is not what one might expect.

Sorry, I was using "legal' loosely. It is, as you say, not what one might expect. For example

_:x owl:sameAs "foo"^^rdf:PlainLiteral .
_:x rdf:type rdf:PlainLIteral .

is inconsistent.

I suspected that Richard meant to write it with a trailing @, but that was only a guess.

Pat

> 
> peter
> 

------------------------------------------------------------
IHMC                                     (850)434 8903 or (650)494 3973   
40 South Alcaniz St.           (850)202 4416   office
Pensacola                            (850)202 4440   fax
FL 32502                              (850)291 0667   mobile
phayesAT-SIGNihmc.us       http://www.ihmc.us/users/phayes
Received on Thursday, 19 May 2011 14:58:44 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:25:42 GMT