- From: David Menendez <zednenem@psualum.com>
- Date: Fri, 14 May 2004 01:42:27 -0400
- To: Ander Altuna/LABEIN <aaltuna@labein.es>
- Cc: www-rdf-interest@w3.org
Ander Altuna/LABEIN writes: > > But then, if australian employee is a just a subclass of employee, we > can`t define the value of the property nationality. The subclass > australian employee would have the propertiy nationality without > defining. Can't we define a subconcept associating a value to some > properties, so any instance of this subconcept would have some values > predefined? You want OWL for this. <owl:Class rdf:about='http://example.org#australian'> <rdfs:subClassOf rdf:resource='http://example.org#employee'/> <rdfs:subClassOf> <owl:Restriction> <owl:onProperty rdf:resource='http://example.org#nationality'/> <owl:hasValue>australian</owl:hasValue> </owl:Restriction> </rdfs:subClassOf> </owl:Class> With this definition, if you have: _:x rdf:type example:australian. You can infer: _:x example:nationality "australian". -- David Menendez <zednenem@psualum.com> <http://www.eyrie.org/~zednenem/>
Received on Friday, 14 May 2004 01:43:58 UTC