1. A computer-implemented method, comprising: iteratively inputting a batch of as yet unprocessed equivalence pairs from a semantic model to operating memory; until no further batches remain, building, in operating memory, one or more cliques for the input batch, where a clique designates a canonical representative resource for a group of equivalent resources as determined from the equivalence pairs; appending the one or more cliques built for the batch to a clique map in remote access memory; until a stop criteria is met, iteratively transferring a batch of merge candidate cliques from the clique map to operating memory; merging the input cliques in operating memory; updating the clique map with the merged cliques; and returning the clique map for use by the semantic model.