[proj] from DB terms to PHOAS terms