What is {nominated for} of {John Mills} that is {for work} is {Ryan's Daughter} ?
Name the category for which John mills got shortlisted for his art work on Ryan's Daughter.
What was John Mills nominated for in recognition of his work on Ryan's Daughter?
SELECT ?g WHERE { resource:John_Mills property:nominated_for ?t . ?t property:for_work resource:Ryan's_Daughter . ?t property:nominated_for ?g }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q315728> .
?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> ?obj .
?statement <http://www.wikidata.org/entity/P1686> <http://wikidata.dbpedia.org/resource/Q1423795>
} 

SELECT ?obj WHERE { wd:Q315728 p:P1411 ?s . ?s ps:P1411 ?obj . ?s pq:P1686 wd:Q1423795 }