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