1. A computer-implemented method, comprising: iteratively inputting batches of unprocessed equivalence pairs from a semantic model to an operating memory; building, in the operating memory, one or more cliques for the input batches until no further batches remain, 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 batches to a clique map in a remote access memory; iteratively transferring merge candidate cliques that still have equivalent resources for the input batches that can be merged from the clique map to the operating memory until determining no further merges can be made to the one or more cliques in the clique map; merging the merge candidate cliques in the operating memory; updating the clique map with the merged cliques; and returning the clique map for use by the semantic model.