What is {award} of {Al Gore}, that has {1st place medalist} is {David Trimble} ?
What is the award of Al Gore whose 1st vicinity medalist is David Trimble?
What is the award of Al Gore whose 1st place medalist is David Trimble?
SELECT ?y WHERE { resource:Al_Gore property:award_received ?y . ?y property:winner resource:David_Trimble }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q19673> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P166>. ?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/P1346> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q192556> . }
SELECT ?answer WHERE { wd:Q19673 wdt:P166 ?answer . ?answer wdt:P1346 wd:Q192556}
Nobel Peace Prize