fix yarddocumentation, add DISTINCT and prettify SPARQL