what is the {for work} for {Matt Damon} has {nominated for} as {Academy Award for Best Supporting Actor} ?
For which film did Matt Damon get nominated for an Oscar for Best Supporting Actor?
What piece of work earned Matt Damon a nomination for the Academy Award for Best Supporting Actor?
SELECT ?m WHERE { ?q property:nominated_for resource:Academy_Award_for_Best_Supporting_Actor . ?q property:for_work ?m . resource:Matt_Damon property:nominated_for ?q }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q175535> .
?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/Q106291> .
?statement <http://www.wikidata.org/entity/P1686> ?value. 
} 

SELECT ?value WHERE { wd:Q175535 p:P1411 ?s . ?s ps:P1411 wd:Q106291 . ?s pq:P1686 ?value}