When I use a (complex) SPARQL query to infer something (e.g., a is in some relation to b that is only given through the query), is the execution of the query / retrieving the information considered to be a form of reasoning?
So only through the expert knowledge that let me define the query, I am able to get a relation between two things: a and b which are connected via a lot of relationships. Also, my SPARQL query uses OR operators and AND operators. The knowledge is already modelled in the knowledge graph/ontology/knowledge base. But it is not known that it is in the relationship I retrieve through my SPARQL query. So I think it needs to be some form of reasoning.
Are there any sources about this and how this is called in the literature?