Added sparql trials, fixed bugs