Merging of overlapping and inconsistent data