Re: RDFS bug "A property can have at most one range property"


I'm inclined to agree.

A similar problem comes from implied rdfs:range constraints when an
application defines an rdfs:subPropertyOf some already-constrained

example (to use an eg from the old MCF submission


...locally specialised as follows for some 2nd vocabulary:


(in some cartoon world where the technical-author of things will always
be engineers)

From one perspective, there are now two rdf:range constraints in effect
against technicalAuthor, which is fine so long as
rdfs:subClassOf(s2:Engineer,util:Person). This isn't what the spec says;
as currently specified, 'there can only be one'. This makes it difficult
to exchange partial knowledge, such as the claim that the technicalAuthor
of a resource will always be a Person.

It seems to me cleaner to allow multiple range statements, and be clear
about what they allow you to infer, rather than assert baldly that 'there
can only be one'. 

Regarding rdfs:domain's weak semantics (as specified it might be useful
for hinting to a GUI about possible classes, for eg, but not for
inference), Ralph's msg is at
and was crossposted to www-rdf-interest, www-rdf-comments, and the RDF
Schema WG list. There was only one reply.

I'd encourage anyone who shares Tim's concern that rdfs:domain be
redefined to followup up the above post (citing implementation experience
details etc if possible). Ditto for the rdfs:range concern. It's pretty
late in the process with RDFS. All specs get last minute rushed in bugfix
and enhancement suggestions. If we want to change things at this late
stage, we'll need to amass a persuasive case that this is the right thing
to do.


On Mon, 11 Sep 2000, Tim Berners-Lee wrote:

> Apologies for the late submission of this comment on RDF-Schema
> On looking at the excellent analysis
> "A Logical Interpretation of RDF" Wolfram Conen
> and Reinhold Klapsing can be accessed at:
> (Postscript-Format)
> (PDF-Format)
> (HTML-Format)
> see
> (an great sort of thing to happen during CR period , BTW), I find that it
> points out where there is clearly a bug in
>  in that it says that "A property can have at most one range property. "
> This basically doens't mean anything on the web.
> (Why haven't I spotted that before? I guess just skipped over range and
> domain
> assuming they had their normal meanings).
> An redfs:range statement about a Property allows one to infer a Class of
> anything which is the value of that property. The semantics are
>           rdf:type(x,s)   <= rdfs:range(p,s)  & p(y,x)
> For example, if s is a range of p, then also so is any t superset of s.
> It is quite reasonable to make two range statements, which together
> of course imply that any value must be in the intersection of the ranges
> given.
> Saying range(p,t)  should not be illegal! In other words, Conen & Klapsing's
> range_cardinality_violation (equation 22) should not be a violation of
> anything.
> Ironically, an example of the correct semnatics fo range is actually given:
> "The rdfs:range of rdfs:range is the class rdfs:Class. This indicates that
> any resource that is the value of a range property will be a class. "
> This is a closed world type of problem.  The "it is not permitted to express
> two or more range constraints on a property"  doesn't specify a scope within
> which those delcarations are made. A global scope is of course impossible to
> ever validate - how can you know whether anyone else has expressed a range
> constraint on a given property?
> The note in the spec deals with the problem of expressing the range being a
> union and mentions that you can't (of course) do that with mutiple range
> statements.
> Please remove the offending wording from the spec.
>   Tim BL
> ________________________________________________________________
> PS: The analysis also demonstrates the problem with domain in the not sign
> in eqn20, showing domain is meaningless as stated in the spec, but this bug
> has been documented already in comments to the spec.

Received on Monday, 11 September 2000 13:06:46 UTC