In RDF/RDFS/OWL, how can I tell if an entity is an purely an instance or also a class? I understand that class entities are also instances, since they are instances of the "class" entity and subclasses of other classes. However, I believe some entities are simply instances of a class, and not classes in themselves.
Right now, I'm thinking the only way to tell something is purely an instance is to look (within that entity's rdf data) for statements with the rdf:type
predicate and look for the absence of any statements with the rdfs:subClassOf
or equivalent predicate.
However, looking for the absence of statements isn't a good way to ensure something is truly a class or an instance.
Is there a better way to discern whether an entity is a class or purely an instance? Hoping there is perhaps something right under nose.