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

AW: rdf:domain & rdf:range

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>
Message-ID: <001f01c4340d$d45f2180$0c01a8c0@Bundeslade>

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 GMT

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