What is {award received} of {Annie Hall} that is {winner} is {Woody Allen} ?
What award did Annie Hall and Woody Allen both win?
What award did Annie Hall receive that Woody Allen won?
SELECT ?t WHERE { ?t property:winner resource:Woody_Allen . ?t property:award_received ?t . resource:Annie_Hall property:award_received ?t }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q233464> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P166> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P1346> <http://wikidata.dbpedia.org/resource/Q25089>
} 

SELECT ?obj WHERE { wd:Q233464 p:P166 ?s . ?s ps:P166 ?obj . ?s pq:P1346 wd:Q25089 }