SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/birthPlace> <http://dbpedia.org/resource/Athens> . ?x <http://dbpedia.org/ontology/formerTeam> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/BasketballPlayer>}
What is the former team of the Athens borned basketball players?
SELECT DISTINCT ?s WHERE { ?m property:birth_place resource:Athens . ?m rdf:type ontology:Basketball_Player . ?m property:former_team ?s }
Near East B.C., Peristeri B.C., Maroussi B.C., AEK B.C., Egaleo B.C., Iraklis Thessaloniki B.C., Panellinios B.C., Sporting B.C.
The former teams of the basketball players born in Athens are [Near East B.C., Peristeri B.C., Maroussi B.C., AEK B.C., Egaleo B.C., Iraklis Thessaloniki B.C., Panellinios B.C., Sporting B.C.].
Former teams of Athens-born basketball players are [Near East B.C., Peristeri B.C., Maroussi B.C., AEK B.C., Egaleo B.C., Iraklis Thessaloniki B.C., Panellinios B.C., Sporting B.C.].