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

-----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