what is the {for work} for {Frances Marion} has {nominated for} as {Academy Award for Best Story} ?
What is the name of Frances Marion's work that nominated him for the Oscar for Best Story?
What work of Frances Marion's was nominated for an Academy Award for Best Story?
SELECT ?d WHERE { ?w property:for_work ?d . ?w property:nominated_for resource:Academy_Award_for_Best_Story . resource:Frances_Marion property:nominated_for ?w }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q463883> .
?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/Q504298> .
?statement <http://www.wikidata.org/entity/P1686> ?value. 
} 

SELECT ?value WHERE { wd:Q463883 p:P1411 ?s . ?s ps:P1411 wd:Q504298 . ?s pq:P1686 ?value}