adapted queries to changes in knowrob_cram