I have an ontology about Fruit. Here I classify a fruit as TropicalFruit class which only contain the fruits which are grows in Tropical Region. But In this class I do not add individuals but it contains individuals by inference. Now I want to access this TropicalFruit by sparql query in protege editor.
EDIT copied from answer:
I have found individual from PomeFruit class by this query where I add individual like Apple.
But I can not found TropicalFruit by this query where by inference have Apple individual.
Which version of protege are you running?
If you run the inference in Protege do you get individuals in the TropicalFruit Class? (Show in yellow background in Protege 4)
What are you using for SPARQL queries - SPARQL tab in Protege 3 or a plugin in Protege 4
Have you been able to issue simpler SPARQL queries eg. select all / select all instances of Fruit? eg.
If you have inferencing capabilities, you should be able to issue a simple