what is the {for work} for {Hayley Williams} has {award received} as {Grammy Award for Best Rock Song} ?
Hayley Williams received the Grammy Award for which Best Rock Song?
For which song did Hayley Williams receive the Grammy Award for Best Rock Song?
SELECT ?c WHERE { ?p property:for_work ?c . resource:Hayley_Williams property:award_received ?p . ?p property:award_received resource:Grammy_Award_for_Best_Rock_Song }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q201562> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P166> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q282636> .
?statement <http://www.wikidata.org/entity/P1686> ?value. 
} 

SELECT ?value WHERE { wd:Q201562 p:P166 ?s . ?s ps:P166 wd:Q282636 . ?s pq:P1686 ?value}