PREFIX : SELECT ?s WHERE { ?s :p ?o . } ORDER BY str(?o)