Redundant and missing info in rdf-schema from Jonas Liljegren on 2000-04-24 (www-rdf-comments@w3.org from April to June 2000) (original) (raw)

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 xml:lang="fr">type rdfs:commentIndicates membership of a class <rdfs:range rdf:resource="#Class"/>

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 xml:lang="fr">label <rdfs:domain rdf:resource="#Resource"/> rdfs:commentProvides a human-readable version of a resource name. <rdfs:range rdf:resource="#Literal"/>

This is a redundant declaration of the type as Property.

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

<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 xml:lang="fr">esDéfiniPar rdfs:commentIndicates a resource containing and defining the subject resource. <rdfs:range rdf:resource="#Resource"/> <rdfs:domain rdf:resource="#Resource"/>

Here is another redundant type declaration.

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

And here...

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

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 xml:lang="fr">Propriété rdfs:commentThe concept of a property. <rdfs:subClassOf rdf:resource="#Resource"/>

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 xml:lang="fr">Littéral <rdf:type resource="#Class"/> rdfs:commentThis represents the set of atomic values, eg. textual strings.

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 xml:lang="fr">prédicat <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"/>

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 xml:lang="fr">objet <rdfs:domain rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement"/>

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 UTC