fix search and addition of turtle option for sparql