What is {award received} of {Daniel McFadden} that is {together with} is {James Heckman} ?
What award did Daniel McFadden and James Heckman receive?
What is the award that Daniel McFadden got with James Heckman?
SELECT ?r WHERE { ?h property:award_received ?r . resource:Daniel_McFadden property:award_received ?h . ?h property:together_with resource:James_Heckman }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q312560> .
?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> ?obj .
?statement <http://www.wikidata.org/entity/P1706> <http://wikidata.dbpedia.org/resource/Q312561>
} 

SELECT ?obj WHERE { wd:Q312560 p:P166 ?s . ?s ps:P166 ?obj . ?s pq:P1706 wd:Q312561 }