Loosely matching rhymes for distributed database