CONSTRUCT { ?s ?s . } WHERE { ?s ?p ?o . } GROUP BY ?s