implement analog mapping query