19. A non-transitory computer readable medium embodying instructions for comparing data records, the instructions when executed by a processor comprising functionality for: extracting alphanumeric tokens from a plurality of data records, wherein the plurality of data records is generated by a plurality of entities, wherein the plurality of entities includes network devices, wherein the plurality of data records includes semi-structured data records and network management messages; generating a plurality of indexes each referencing an entity of the plurality of entities by at least one of the alphanumeric tokens that is associated with the entity; extracting target alphanumeric tokens from a target data record of a target entity; identifying a candidate entity from the plurality of entities based on the target alphanumeric tokens and a first index of the plurality of indexes; calculating a first score representing a first similarity measure between a candidate data record selected from the plurality of data records that belongs to the candidate entity and the target data record of the target entity; and the instructions when executed by the processor further comprising functionality for: storing, in response to the first score exceeding a first pre-determined threshold, a combination of a portion of the target data record and a portion of the candidate data record as an expanded profile of the target entity.
20. The method of claim 19 , the instructions when executed by the processor further comprising functionality for: identifying, in response to the first score being less than a first pre-determined threshold, a middle-man entity from the plurality of entities based on the target alphanumeric tokens and a second index of the plurality of indexes; calculating a second score representing a second similarity measure between a middle-man data record selected from the plurality of data records that belongs to the middle-man entity and the target data record of the target entity; calculating, in response to the second score exceeding a second pre-determined threshold, a third score representing a third similarity measure between the candidate data record and the middle-man data record; and storing, in response to the third score exceeding a third pre-determined threshold, a combination of a portion of the target data record and a portion of the candidate data record as an expanded profile of the target entity.