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

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

From: Toby A Inkster <tai@g5n.co.uk>
Date: Mon, 6 Jul 2009 15:53:56 +0100
Message-Id: <C1D17292-58FF-4D2C-BFA4-F4F5E0ABF924@g5n.co.uk>
Cc: Semantic Web <semantic-web@w3.org>, Siarhei Uladzimiravich Kuryla <s.kuryla@jacobs-university.de>
To: Christoph LANGE <ch.lange@jacobs-university.de>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 6 Jul 2009, at 14:34, Christoph LANGE wrote:

> p a rdf:Property ;
>   rdfs:domain rdfs:Literal ;
>   rdfs:range rdfs:Datatype .


In terms of RDF, this can't be done. Well, the property could be  
defined using RDFS, but it could never legally be used. The  
definition would imply that "p" is used like so:

	"2008-01-01" p xsd:date .

However, RDF doesn't allow a literal to be used as the subject of a  
triple. Hence there is no property defined like the "p" you describe.  
There are supersets of RDF (such as Notation 3) which relax this  
restriction and would allow a property "p" like you describe to be used.

- --
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkpSEAQACgkQzr+BKGoqfTnHfQCfV50trF0sL9InwG08FgvQfbDQ
mBQAnA3dot8UHlT5bmvLtUycwQhAwYSB
=cB/I
-----END PGP SIGNATURE-----
Received on Monday, 6 July 2009 14:53:18 UTC

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