I'm using Stardog Studio (online) to query an ontology developed as part of a research project. I have a series of queries that I use to answer specific questions. I want to further refine the results of my queries so it only includes the results that are under a specific sub-class of the ontology. However, I can't find where I should be looking in the Stardog documentation to figure out how to do this or what commands can help me do this.
I do see that the particular elements I want are in the CSV file (using run to file). And I know that these elements are all subclasses of a particular class in my ontology. So they are there, they are in the results. So I'm not sure how this is called but I want to get only the answers that correspond to the particular leaves of a specific branch of the ontology if this makes sense.