1. A method of generating a query for querying an ontology, the method comprising: receiving a first query in a first language, wherein the first language is a natural language; checking the first query to determine if the first query complies with a predefined grammar and to determine if the first query comprises one or more terms from a vocabulary used in the ontology; in response to determining that at least one aspect of the first query does not comply with the predetermined grammar and does not comprise one or more terms from the vocabulary used in the ontology, providing guiding formulation of the first query by providing one or more constraints, wherein the one or more constraints are based upon the predefined grammar and the vocabulary comprising terms used in the ontology, and the predefined grammar is based upon a set of one or more rules; based on the one or more constraints, constraining the first query to comply with the predetermined grammar and the vocabulary used in the ontology; and generating, based upon the constrained first query, a second query in a second language, wherein the second query complies with the predetermined grammar and the vocabulary used in the ontology, and wherein the second language is different from the first language and the ontology is capable of being queried using the second query in the second language.