Add queries to monetdb