what is the {together with} for {Kid Cudi} has {award received} as {Grammy Award for Best Rap/Sung Performance} ?
Which was the song that gave Kid Cudi the Grammy Award for Best Rap/Song Performance?
For what song did Kid Cudi receive the Grammy Award for Best Rap/Sung Performance?
SELECT ?o WHERE { resource:Kid_Cudi property:award_received ?w . ?w property:together_with ?o . ?w property:award_received resource:Grammy_Award_for_Best_Rap/Sung_Performance }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q299138> .
?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/Q1542172> .
?statement <http://www.wikidata.org/entity/P1706> ?value. 
} 

SELECT ?value WHERE { wd:Q299138 p:P166 ?s . ?s ps:P166 wd:Q1542172 . ?s pq:P1706 ?value}