What is {alma mater} of {David Spade}, that has {based in} is {Arizona} ?
What is the alma mater of David Spade, based in Arizona?
Based in Arizona, what is David Spade's alma mater?
SELECT ?p WHERE { resource:David_Spade property:educated_at ?p . ?p property:located_in_the_administrative_territorial_entity resource:Arizona }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q298658> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P69>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P131> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q816> . }
SELECT ?answer WHERE { wd:Q298658 wdt:P69 ?answer . ?answer wdt:P131 wd:Q816}