what is the {for work} for {David Mitchell} has {nominated for} as {Guardian First Book Award} ?
David Mitchell was nominated for the Guardian First Book Award for which work?
For what work was David Mitchell nominated for the Guardian First Book Award?
SELECT ?h WHERE { resource:David_Mitchell property:nominated_for ?a . ?a property:nominated_for resource:Guardian_First_Book_Award . ?a property:for_work ?h }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q40479> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1411> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q153296> .
?statement <http://www.wikidata.org/entity/P1686> ?value. 
} 

SELECT ?value WHERE { wd:Q40479 p:P1411 ?s . ?s ps:P1411 wd:Q153296 . ?s pq:P1686 ?value}