W3C home > Mailing lists > Public > public-owl-dev@w3.org > July to September 2007

Re: Why the encapsulation?

From: Danny Ayers <danny.ayers@gmail.com>
Date: Sun, 23 Sep 2007 19:19:00 +0200
Message-ID: <1f2ed5cd0709231019r7f18de76xa44ea246d39a9ac0@mail.gmail.com>
To: "Michael Schneider" <schneid@fzi.de>
Cc: "Emanuele D'Arrigo" <manu3d@gmail.com>, "public-owl-dev-request@w3.org" <public-owl-dev@w3.org>

On 23/09/2007, Michael Schneider <schneid@fzi.de> wrote:

> ><owl:ObjectProperty rdf:ID="hasBankAccount">
> > <rdfs:domain>
> >       <owl:Class rdf:about="#Person"/>
> >       <owl:Class rdf:about="#Corporation"/>
> > </rdfs:domain>
>
> This is simply a syntax error: You have to give a /single/ resource to the
> 'rdfs:domain' property, but you put in /two/ of them.

I'm curious, would I be missing something in saying:

<owl:ObjectProperty rdf:ID="hasBankAccount">
    <rdfs:domain rdf:resource="#Person"/>
    <rdfs:domain rdf:resource="#Corporation"/>
</owl:ObjectProperty>

- is ok syntax, but the meaning would be different, in that the object
of an hasBankAccount statement in this case would be both a Person and
a Corporation, rather than a Person and/or a Corporation in the union
version?

Cheers,
Danny.

-- 

http://dannyayers.com
Received on Sunday, 23 September 2007 17:19:09 GMT

This archive was generated by hypermail 2.3.1 : Wednesday, 27 March 2013 09:32:55 GMT