fix queries for new erfurt virtuoso module