W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > May 2001

Issue http://www.w3.org/2000/03/rdf-tracking/#rdfms-empty-property-elements

From: Jan Grant <Jan.Grant@bristol.ac.uk>
Date: Wed, 9 May 2001 16:51:53 +0100 (BST)
To: RDFCore Working Group <w3c-rdfcore-wg@w3.org>
Message-ID: <Pine.GSO.4.31.0105091625480.4145-100000@mail.ilrt.bris.ac.uk>
Ok, this should be a quick one.

We have interpretations for

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

  <random:someProperty rdf:resource="http://random.ioctl.org/#foo" />


...which pretty clearly sticks a resource at the sharp end of the
property arc. Similarly, we also have

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

  <random:someProperty rdf:parseType="Literal" />


...which fairly unambiguously makes the value on the end of the arc a
literal null string. The question is what to do with:

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"



There seem to be three options available:

- explicitly forbid this
- interpret it as having an anonymous resource as the value of the
- interpret it as having the null literal as the value of the property,
  as already suggested by Jos de Roo.

(in the last two cases, we may choose to deprecate this form)

There are arguments of ostensibly equal value for choosing either of
the latter two options; I'd lean towards Jos' point of view: that the
interpretation of


be a property arc pointing to the null literal; to generate an anonymous
resource without other properties, we can use

  <random:someProperty rdf:parseType="Resource"/>

- which is what I'd propose, together with weakly deprecating the
undifferentiated use in emitted RDF (see below for reasons).

There's a twist, by the way: if we have a parser with some schema
knowledge and we have the rdfs:range of random:someProperty defined to
be some subclass of rdf:Literal, it makes sense to use the literal
interpretation. Similarly, if the rdfs:range of random:someProperty is
not a literal class, then we might choose to use the "it's an anonymous
resource" interpretation. Such behaviour requires the parser to have
some knowledge of the schemas in use - I'm not aware of any from the
current crop that do this sort of thing; in the future, this might be
the "right" interpretation of this construct. Thus, I'd be inclined to
recommend that this form of a property be emitted with a parseType


jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287163 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk
stty intr ^m
Received on Wednesday, 9 May 2001 11:53:52 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:48 UTC