PREFIX sioc: <http://rdfs.org/sioc/ns#> SELECT ?grp ?username FROM <http://demo.openlinksw.com/phpBB3_v/> WHERE { ?group a sioc:Usergroup . optional{ ?group sioc:name ?grp }. optional{ ?group sioc:has_member ?member} . optional{ ?member sioc:name ?username} . }