Re: Explicit RDF property for "literal has datatype D"?

On Mon, Jul 6, 2009 at 4:54 PM, Pat Hayes<phayes@ihmc.us> wrote:
>
> On Jul 6, 2009, at 1:48 PM, Jeremy Carroll wrote:
>
>> Steve Harris wrote:
>>>
>>>>>>
>>>>>>> p a rdf:Property ;
>>>>>>> rdfs:domain rdfs:Literal ;
>>>>>>> rdfs:range rdfs:Datatype .
>>>>
>>>> _:x p xsd:date .
>>>> _:x owl:sameAs  "2008-01-01" .
>>>
>>> did you mean:
>>>
>>> _:x p xsd:date .
>>> _:x owl:sameAs "2008-01-01"^^xsd:date .
>>>
>>> otherwise you get some odd conclusions.
>>>
>>> - Steve
>>
>> I don't see any odd conclusions ... we have not said anything about the
>> realtionship between the subject and object of a p triple, other than the
>> usual they are related by the p-property.
>>
>
> Right. BTW, you could now say that the domain of p was rdf:PlainLiteral :-)
>
> http://www.w3.org/TR/rdf-plain-literal/

Yes, except isn't that exactly wrong? At least by the desired sense
noted in the topic of the mail message "literal has datatype D".

A plain literal had datatype http://www.w3.org/TR/rdf-plain-literal/
which isn't any datatype other than itself. It certainly isn't and
xsd:date.

Is what's trying to be said that a certain string should be
interpreted as a certain datatype? But if that's the case, why not
just write it "certain string"^^datatype? (if it is malformed, you
will get an inconsistency, which is good!)

Sorry if I'm being dense.

-Alan




>
> Pat
>
>
>> Jeremy
>>
>>
>>
>>
>
> ------------------------------------------------------------
> 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 Monday, 6 July 2009 21:48:46 UTC