make base query for citation and thesis tab configurable