1. A system comprising: a storage device storing a data structure comprising a plurality of mesh entities, the data structure associating each of the plurality of mesh entities with a respective name and a respective one or more attribute values, and associating each of the plurality of mesh entities with one or more relations to one or more other ones of the plurality of mesh entities; a computing device comprising: a memory system storing processor-executable program code; and a processor to execute the processor-executable program code in order to cause the computing device to: receive a file comprising text; identify text entities from the text; identify first mesh entities of the plurality of mesh entities based on the identified text entities; determine, for each of the first mesh entities, a name and one or more attribute values; and determine a relevance associated with each identified text entity based on the determined name and one or more attribute values; the system further comprising: a map associating each of two or more text entity types with one or more attributes of the data structure, and assigning a weight to each association between a text entity type and an attribute, where, for each of the attributes, a sum of weights assigned to its associations equals a predetermined number, the processor further to execute the processor-executable program code in order to cause the computing device to: for each of n ones of the identified text entities associated with n highest relevance, wherein n is an integer: determine a type of the identified text entity; create a query for the identified text entity on each of one or more attributes with which the determined type is associated, where the query on each attribute is weighted by the weight assigned to the association between the type and the attribute; determine a number of occurrences of the identified text entity in the file; and weight the one or more weighted queries for the identified text entity based on the number of occurrences of the identified text entity in the file; and join the weighted one or more weighted queries using the OR operator.