W3C home > Mailing lists > Public > www-rdf-interest@w3.org > May 2004

Re: Partially defined concepts

From: Ander Altuna/LABEIN <aaltuna@labein.es>
Date: Mon, 17 May 2004 11:36:03 +0200
To: www-rdf-interest@w3.org
Message-ID: <OF2B8676EB.6E9C1070-ONC1256E97.0034453D@labein.es>

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 GMT

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