Use DISTINCT in Sparql query.
Added code coverage to build.