Higher-order frameworks for profiling and matching heterogeneous data