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

RE: Classes in OWL

From: Prajakta Nivargi <Prajakta.Nivargi@asu.edu>
Date: Sun, 29 Aug 2004 20:07:47 -0700
To: "Zhu, Bin" <zhubin@uclab.org>
Cc: www-rdf-interest@w3.org
Message-id: <9EAE2E44897BC749ACB3A62683B2C8D10455A62E@ex4.asurite.ad.asu.edu>
Well, basically what I am trying to do is create policies. So when I have class A ,B,C where C is subclass of B and B is subclass of A. Now I have a policy defined for objects of type A. So I need to check if my instance of class C is of type class A. That is why I needed to use that predicate. So can I do the check that if - instanceOfC is of rdf;type classA 

That is what I am not sure of.

Thanks,

Prajakta

 

  _____  

From: Zhu, Bin [mailto:zhubin@uclab.org] 
Sent: Sunday, August 29, 2004 7:35 PM
To: Prajakta Nivargi
Cc: www-rdf-interest@w3.org
Subject: RE: Classes in OWL

 

I think generally URI identifies rdf:Resource. You needn’t declare.

When you use “<WineGrape rdf:ID=”CabernetSauvignonGrape”/>, the OWL parser will consider it as that CabernetSauvignonGrape is an instance of WineGrape.

 

Best regards,

Zhu, Bin

 

http://www.uclab.org/zhubin/


 

--

Ubiquitous Computing Lab (http://www.uclab.org)

 

-----Original Message-----
From: www-rdf-interest-request@w3.org [mailto:www-rdf-interest-request@w3.org] On Behalf Of Prajakta Nivargi
Sent: 2004年8月30日 9:26
To: www-rdf-interest@w3.org
Subject: Classes in OWL

 

If I create a class in OWL e.g.   <owl:Class rdf:ID="WineGrape"/>

 

Then I create an instance  <WineGrape rdf:ID="CabernetSauvignonGrape" />

 

Can I check whether Subject: CabernetSauvignonGrape is Predicate: rdf:resource=http://www.w3.org/1999/02/22-rdf-syntax-ns#type of Object:WineGrape?

 

Basically can I use the rdf:resource=http://www.w3.org/1999/02/22-rdf-syntax-ns#type predicate on these OWL classes which have not been declared as a subclass of rdfs;Resource ?

 

Prajakta

Received on Monday, 30 August 2004 03:09:24 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:57 UTC