supporting backward queries like https://raw.githubusercontent.com/josd/eyebmb/master/query.n3