what is the {category for recipients of this award} for {Tim Minchin} has {award received} as {Green Room Awards} ?
Tim Minchin received the Green Room Awards for what category?
What award category did Tim Minchin receive for the Green Room Awards?
SELECT ?d WHERE { ?d property:award_received resource:Green_Room_Awards . resource:Tim_Minchin property:award_received ?d . ?d property:category_for_recipients_of_this_award ?d }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q23527> .
?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> <http://wikidata.dbpedia.org/resource/Q5603157> .
?statement <http://www.wikidata.org/entity/P2517> ?value. 
} 

SELECT ?value WHERE { wd:Q23527 p:P166 ?s . ?s ps:P166 wd:Q5603157 . ?s pq:P2517 ?value}