what is the {for work} for {Joss Whedon} has {nominated for} as {Nebula Award for Best Script} ?
Joss Whedon has been nominated for a Nebula Award for Best Script, for which type  of work?
Joss Whedon has been nominated for a Nebula Award for Best Script, for what piece of work?
SELECT ?j WHERE { ?g property:nominated_for resource:Nebula_Award_for_Best_Script . resource:Joss_Whedon property:nominated_for ?g . ?g property:for_work ?j }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q298025> .
?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/Q644077> .
?statement <http://www.wikidata.org/entity/P1686> ?value. 
} 

SELECT ?value WHERE { wd:Q298025 p:P1411 ?s . ?s ps:P1411 wd:Q644077 . ?s pq:P1686 ?value}