what is the {for work} for {Alan Rickman} has {nominated for} as {MTV Movie Award for Best Villain} ?
What movie was Alan Rickman nominated for Best Villain at the MTV Movie Awards?
For what did Alan Rickman was in nomination at the MTV Movie Awards for Best Villain?
SELECT ?d WHERE { ?f property:for_work ?d . ?f property:nominated_for resource:MTV_Movie_Award_for_Best_Villain . resource:Alan_Rickman property:nominated_for ?f }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q106481> .
?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/Q1062026> .
?statement <http://www.wikidata.org/entity/P1686> ?value. 
} 

SELECT ?value WHERE { wd:Q106481 p:P1411 ?s . ?s ps:P1411 wd:Q1062026 . ?s pq:P1686 ?value}