My question is about superclass inheritance. My understanding says that if I have instances that belong to Class B, then Class A which is the mother class of Class B will also have these instances. For instance: suppose I have a superclass called Car, and two subclass classes Sedan and SUV. The instances of classes Sedan and SUV are also instances of the class Car, is that correct? If it is the case, then I cannot see any return of my sparql query when I say give me all instances of class Car. Am I missing anything here?
I am using Topbraid editor.
Actually this is the definition of superclass/subclass --- that all instances of a subclass are instances of a superclass.
Don't know why the sparql query is not working. It's only going to work if the engine is inferencing, though, I think.