return UNDEFINED_VALUE if the pre-defined inquery functions fail to find a good value to ground variable