PREFIX foaf: SELECT ?name ?mbox WHERE { ?x foaf:name ?name . { ?x foaf:mbox ?mbox } }