- From: Ander Altuna/LABEIN <aaltuna@labein.es>
- Date: Mon, 17 May 2004 11:36:03 +0200
- To: www-rdf-interest@w3.org
Thank you David, that was exactly what I was looking for. Now I see that is imposible to do it with rdf. Cheers, Ander David Menendez wrote: >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 Monday, 17 May 2004 05:44:44 UTC