Re: The RDF 1.1 Literal Quiz

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 UTC