Base query fact with variable and repeated callback