A Framework for Predictive Similarity Queries Over Heterogeneous Metric Spaces (IEEE Open Journal of the Computer Society, 2026)