added DISTINCT to rdf types query so less data returned