1. A computer device for generating a classifier for performing a query to a given knowledge base, the given knowledge base including a plurality of predicates, a plurality of subjects and a plurality objects related to each other, the computer device comprising: a processor configured to: select one predicate from the plurality of predicates; generate, based on the given knowledge base, a plurality of triples, each triple of the plurality of triples including the one selected predicate, and a subject of the plurality of subjects and an object of the plurality of objects related to the one selected predicate; generate a list of properties, each property of the list of properties being correlated to the subject and the object of the triple of the plurality of triples, the generation of the list of properties comprising performance of a context-based query within the given knowledge base; generate a classifier having the list of properties related to the one selected predicate; and transform a question or a portion of a document based on the generated classifier such that the question or the portion of the document includes a predefined predicate.
1. A computer device for generating a classifier for performing a query to a given knowledge base, the given knowledge base including a plurality of predicates, a plurality of subjects and a plurality objects related to each other, the computer device comprising: a processor configured to: select one predicate from the plurality of predicates; generate, based on the given knowledge base, a plurality of triples, each triple of the plurality of triples including the one selected predicate, and a subject of the plurality of subjects and an object of the plurality of objects related to the one selected predicate; generate a list of properties, each property of the list of properties being correlated to the subject and the object of the triple of the plurality of triples, the generation of the list of properties comprising performance of a context-based query within the given knowledge base; generate a classifier having the list of properties related to the one selected predicate; and transform a question or a portion of a document based on the generated classifier such that the question or the portion of the document includes a predefined predicate. 4. The computer device of claim 1 , wherein the processor is further configured to process a reference text of the given knowledge base to find at least one sentence with an occurrence of the subject and the object of one triple of the plurality of triples.