What is the {work location} and the {location of formation} of {Gloria_Estefan} ?
Where does Gloria Estefan work and where did her formation occur?
Where does Gloria Estefan work and where did her formation occur?
SELECT ?q ?k WHERE { resource:Gloria_Estefan property:work_location ?q . resource:Gloria_Estefan property:location_of_formation ?k }
 SELECT ?ans_1 ?ans_2 WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q184697> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P937> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?ans_1. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q184697> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P740> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?ans_2. } 
SELECT ?ans_1 ?ans_2 WHERE { wd:Q184697 wdt:P937 ?ans_1 . wd:Q184697 wdt:P740 ?ans_2 }