refactor/generalize term lookup. cascade ddg lookup with wikipedia