- From: Leo Sauermann <leo@gnowsis.com>
- Date: Fri, 7 May 2004 10:32:27 +0200
- To: "'Damian Steer'" <damste@hplb.hpl.hp.com>, <kianoush.eshaghi@metadat.at>
- Cc: <www-rdf-interest@w3.org>
If you want to express the disjunctive way, you have to use OWL.
with owl:unionOf
http://www.w3.org/TR/2004/REC-owl-guide-20040210/#ComplexClasses
http://www.w3.org/TR/owl-test/byFunction#function-unionOf
<owl:Class rdf:ID="Fruit">
<owl:unionOf rdf:parseType="Collection">
<owl:Class rdf:about="#SweetFruit" />
<owl:Class rdf:about="#NonSweetFruit" />
</owl:unionOf>
</owl:Class>
and then use this as domain or range value.
cheers
Leo
> -----Ursprüngliche Nachricht-----
> Von: www-rdf-interest-request@w3.org
> [mailto:www-rdf-interest-request@w3.org] Im Auftrag von Damian Steer
> Gesendet: Donnerstag, 06. Mai 2004 19:04
> An: kianoush.eshaghi@metadat.at
> Cc: www-rdf-interest@w3.org
> Betreff: Re: rdf:domain & rdf:range
>
>
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Kianoush Eshaghi wrote:
> | Hi All,
> |
> | Is it possible that a rdf:Property can be constricted by multiple
> rdf:range
> | and rdf:domain? For exampel such as following RDF/XML:
> |
>
> Yes, but it's conjuctive, and I suspect you want disjunctive
> (though I may be wrong). That is you example says that
> subject of consultTo is a User and an IdTrigger and a
> DataTrigger, rather than a User or an IdTrigger or a DataTrigger.
>
> hth
>
> Damian
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFAmnAHAyLCB+mTtykRAhKnAJ0d/52VU9Vl3GfK1XaplV3/t6OKqgCgwKWl
> +AldddExwgqfIcrJUv4yHFk=
> =h9PE
> -----END PGP SIGNATURE-----
>
Received on Friday, 7 May 2004 04:34:52 UTC