semantic: Consolidate retrieve lookup functions