W3C home > Mailing lists > Public > public-powderwg@w3.org > December 2007

RE: Open Issues: DR scope

From: Smith, Kevin, VF-Group <Kevin.Smith@vodafone.com>
Date: Thu, 6 Dec 2007 17:57:16 +0100
Message-ID: <BE5CA01EA47984458F205AE8C65E586F3C94C9@VF-MBX11.internal.vodafone.com>
To: "Andrea Perego" <andrea.perego@uninsubria.it>, <public-powderwg@w3.org>
Cc: "Public POWDER" <public-powderwg@w3.org>

Hi Andrea,

I was trying to follow the example in the OWL guide [1]:

<owl:Class rdf:ID="PotableLiquid"> 
  <rdfs:subClassOf rdf:resource="#ConsumableThing" />

<owl:Class rdf:ID="Wine"> 
  <rdfs:subClassOf rdf:resource="&food;PotableLiquid"/> 

So by my interpretation, "ResourceOnExampleDotOrg" is a subclass of the
class of all resources (or arguably of all resources at the top level
domain .org, but that has little semantic value)

Of course, my interpretation could be completely wrong :)



-----Original Message-----
From: public-powderwg-request@w3.org
[mailto:public-powderwg-request@w3.org] On Behalf Of Andrea Perego
Sent: 06 December 2007 13:47
To: public-powderwg@w3.org
Cc: Public POWDER
Subject: Re: Open Issues: DR scope

Hi, Kevin.

>> It is not clear to me why you're using here rdf:ID as an attribute to
> rdfs:subclassOf.
> Well spotted  - I meant rdf:resource :)

Thanks. So, the corrected version of your example should be:

 1  <owl:Class rdf:ID="ResourceOnExampleDotOrg">
 4    <rdfs:subClassOf rdf:resource="#AllResources">
 5       <owl:Restriction>
 6         <owl:onProperty rdf:resource="&wdr;includeHost" />
 7          <owl:hasValue>example.org</owl:hasValue>
 8         </owl:Restriction>
 9    </rdfs:subClassOf>
 12 </owl:Class>

But where the AllResources class is defined? Moreover, you cannot use
rdf:resource and then include the restriction - i.e., the rdf:resource
attribute is used to denote the object of the statement, but here there
is already an object, namely, owl:Restriction.

What you can write is:

<owl:Class rdf:ID="ResourceOnExampleDotOrg">
  <rdfs:subClassOf rdf:resource="#AllResources">

<owl:Restriction rdf:ID="AllResources">
  <owl:onProperty rdf:resource="&wdr;includeHost" />

but I'm not sure whether this is what you meant.

Received on Thursday, 6 December 2007 16:57:29 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:06:03 UTC