what is the {statement is subject of} for {Helen Hayes} has {nominated for} as {Academy Award for Best Actress} ?
For which movie did Helen Hayes receive a Best Actress nomination?
What was Helen Hayes in that she was nominated for Academy Award for Best Actress?
SELECT ?l WHERE { ?a property:statement_is_subject_of ?l . ?a property:nominated_for resource:Academy_Award_for_Best_Actress . resource:Helen_Hayes property:nominated_for ?a }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q213302> .
?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/Q103618> .
?statement <http://www.wikidata.org/entity/P805> ?value. 
} 

SELECT ?value WHERE { wd:Q213302 p:P1411 ?s . ?s ps:P1411 wd:Q103618 . ?s pq:P805 ?value}