first pass at tiedot query wrapper