W3C home > Mailing lists > Public > www-rdf-interest@w3.org > October 2002

Properties for multiple resources

From: Nick Bassiliades <nbassili@csd.auth.gr>
Date: Mon, 07 Oct 2002 14:44:15 +0300
Message-ID: <3DA1738F.7080600@csd.auth.gr>
To: www-rdf-interest@w3.org

I would like to ask, which is the best way to "assign" a property to 
multiple (unrelated)
classes. Obviously, having multiple domain entries for the property does 
not solve
the problem due to conjunctive semantics.

One possible solution would be to create a "dummy" superclass of all those
unrelated classes and make the domain of the property "point" to that 
new class.

For example, if one wants to "assign" the property foo:q to classes 
foo:A and
foo:B, he/she could write:

foo:A_or_B rdf:type rdfs:Class

foo:A rdfs:subClassOf foo:A_or_B
foo:B rdfs:subClassOf foo:A_or_B

foo:q rdf:type rdf:Property
foo:q rdfs:domain foo:A_or_B

Is there another (more elegant) solution?

Thanks in advance

Nick Bassiliades

* Dr. Nick Bassiliades                                       *
*                                                            *
* Programming Languages And Software Engineering (PLASE) Lab *
* Logic Programming and Intelligent Systems (LPIS) Group     *
*                                                            *
* Dept. of Informatics, Aristotle University of Thessaloniki *
* 54006 Thessaloniki, Greece                                 *
*                                                            *
* Tel: +30310998418    E-mail: nbassili@csd.auth.gr          *
* Fax: +30310998419    URL:    http://www.csd.auth.gr/~nick  *
Received on Monday, 7 October 2002 07:42:19 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:07:42 UTC