adding better handling for bnodes in QaRdf search