W3C home > Mailing lists > Public > www-rdf-interest@w3.org > April 2000

Redundant and missing info in rdf-schema

From: Jonas Liljegren <jonas@paranormal.se>
Date: Mon, 24 Apr 2000 23:09:42 +0200
Message-ID: <3904B816.EFD22ED2@paranormal.se>
To: www-rdf-comments@w3.org, RDF Intrest Group <www-rdf-interest@w3.org>
I am looking at this page:
	http://www.w3.org/2000/01/rdf-schema#

That has almost the same content as Appendix A here:
	http://www.w3.org/TR/2000/CR-rdf-schema-20000327/


Would anyone here accept a corrected version?



> <rdf:Property about="http://www.w3.org/1999/02/22-rdf-syntax-ns#type">
>   <rdfs:label xml:lang="en">type</rdfs:label>
>   <rdfs:label xml:lang="fr">type</rdfs:label>
>   <rdfs:comment>Indicates membership of a class</rdfs:comment>
>   <rdfs:range rdf:resource="#Class"/>
> </rdf:Property>

All other properties has the domain specified, even when it is
#Resource.


> <rdf:Property ID="label">
>  <rdf:type resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
>  <rdfs:label xml:lang="en">label</rdfs:label>
>  <rdfs:label xml:lang="fr">label</rdfs:label>
>  <rdfs:domain rdf:resource="#Resource"/>
>  <rdfs:comment>Provides a human-readable version of a resource name.</rdfs:comment>
>  <rdfs:range rdf:resource="#Literal"/>
> </rdf:Property>

This is a redundant declaration of the type as Property.


> <rdfs:Class rdf:ID="Class">
>   <rdfs:label xml:lang="en">Class</rdfs:label>
>   <rdfs:label xml:lang="fr">Classe</rdfs:label>
>   <rdfs:comment>The concept of Class</rdfs:comment>
>   <rdfs:subClassOf rdf:resource="#Resource"/>
> </rdfs:Class>
> 

> <rdf:Property ID="isDefinedBy">
>   <rdf:type resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
>   <rdfs:subPropertyOf rdf:resource="#seeAlso"/>
>   <rdfs:label xml:lang="en">isDefinedBy</rdfs:label>
>   <rdfs:label xml:lang="fr">esD&#233;finiPar</rdfs:label>
>   <rdfs:comment>Indicates a resource containing and defining the subject resource.</rdfs:comment>
>   <rdfs:range rdf:resource="#Resource"/>
>   <rdfs:domain rdf:resource="#Resource"/>
> </rdf:Property>

Here is another redundant type declaration.


> <rdfs:Class rdf:ID="ConstraintResource">
>   <rdfs:label xml:lang="en">ConstraintResource</rdfs:label>
>   <rdfs:label xml:lang="fr">RessourceContrainte</rdfs:label>
>   <rdf:type resource="#Class"/>
>   <rdfs:subClassOf rdf:resource="#Resource"/>
>   <rdfs:comment>Resources used to express RDF Schema constraints.</rdfs:comment>
> </rdfs:Class>

And here...


> <rdfs:ConstraintProperty rdf:ID="domain">
>   <rdfs:label xml:lang="en">domain</rdfs:label>
>   <rdfs:label xml:lang="fr">domaine</rdfs:label>
>   <rdfs:comment>This is how we associate a class with properties that its instances can have</rdfs:comment>
> </rdfs:ConstraintProperty>

Shouldn't this one have a domain and range?


> <rdfs:Class rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property">
>   <rdfs:label xml:lang="en">Property</rdfs:label>
>   <rdfs:label xml:lang="fr">Propri&#233;t&#233;</rdfs:label>
>   <rdfs:comment>The concept of a property.</rdfs:comment>
>   <rdfs:subClassOf rdf:resource="#Resource"/>
> </rdfs:Class>

Isn't all classes a subClassOf #Resource? Only some classes has this
subClassOf declaration.

> 
> <rdfs:Class rdf:ID="Literal">
>   <rdfs:label xml:lang="en">Literal</rdfs:label>
>   <rdfs:label xml:lang="fr">Litt&#233;ral</rdfs:label>
>   <rdf:type resource="#Class"/>
>   <rdfs:comment>This represents the set of atomic values, eg. textual strings.</rdfs:comment>
> </rdfs:Class>

This class doesn't have the explicit subClassOf. But it do have a
redundant type declaration.


> <rdf:Property about="http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate">
>   <rdfs:label xml:lang="en">predicate</rdfs:label>
>   <rdfs:label xml:lang="fr">pr&#233;dicat</rdfs:label>
>   <rdf:type resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
>   <rdfs:domain rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement"/>
>   <rdfs:range rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
> </rdf:Property>

Another double type. No comment here?


> <rdf:Property about="http://www.w3.org/1999/02/22-rdf-syntax-ns#object">
>   <rdfs:label xml:lang="en">object</rdfs:label>
>   <rdfs:label xml:lang="fr">objet</rdfs:label>
>   <rdfs:domain rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement"/>
> </rdf:Property>

The range is missing. But I guess it's a little hard to express the
range here. ;)
No comment?
Received on Monday, 24 April 2000 17:08:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:43 GMT