Re: An object belongs to a set

On Oct 27, 2014, at 12:53 PM, Victor Porton <porton@narod.ru> wrote:

> If I want to assert that an object :x belongs to a set :set is the best method to write this in triples `:x :set true .`?

No. You need to use an explicit membership property. If you care to identify your sets with RDFS or OWL classes, you can use the rdf:type property, which serves exactly this purpose:

:x rdf:type :set .

but if you want to keep your sets distinct from classes, use a different membership property:

:x :member :set .

Pat Hayes


> 
> Other ways?
> 
> --
> Victor Porton - http://portonvictor.org
> 
> 

------------------------------------------------------------
IHMC                                     (850)434 8903 home
40 South Alcaniz St.            (850)202 4416   office
Pensacola                            (850)202 4440   fax
FL 32502                              (850)291 0667   mobile (preferred)
phayes@ihmc.us       http://www.ihmc.us/users/phayes

Received on Monday, 27 October 2014 18:24:54 UTC