W3C home > Mailing lists > Public > semantic-web@w3.org > July 2009

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

From: Steve Harris <steve.harris@garlik.com>
Date: Mon, 6 Jul 2009 19:14:00 +0100
Cc: Pat Hayes <phayes@ihmc.us>, Toby A Inkster <tai@g5n.co.uk>, Christoph LANGE <ch.lange@jacobs-university.de>, Semantic Web <semantic-web@w3.org>, Siarhei Uladzimiravich Kuryla <s.kuryla@jacobs-university.de>
Message-Id: <31A9202B-9CD2-443E-AF7D-B59787E2F37D@garlik.com>
To: Jeremy Carroll <jeremy@topquadrant.com>
On 6 Jul 2009, at 18:43, Jeremy Carroll wrote:

> Pat Hayes wrote:
>>>
>>>> p a rdf:Property ;
>>>> rdfs:domain rdfs:Literal ;
>>>> rdfs:range rdfs:Datatype .
>>>
>>
>>
>> _:x p xsd:date .
>> _:x :seenAsLiteral  "2008-01-01" .
> I tend to write these examples as
>
> _: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

--  
Steve Harris
Garlik Limited, 2 Sheen Road, Richmond, TW9 1AE, UK
+44(0)20 8973 2465  http://www.garlik.com/
Registered in England and Wales 535 7233 VAT # 849 0517 11
Registered office: Thames House, Portsmouth Road, Esher, Surrey, KT10  
9AD
Received on Monday, 6 July 2009 18:14:38 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 07:42:13 UTC