What is the {nuclear weapon} for {designed by} of {Manhattan Project}
Who is the { nuclear weapon } of the { Manhattan Project }
Who is the  {nuclear weapon} for {designed by} of {Manhattan Project}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:nuclear_weapon . ?p property:designed_by resource:Manhattan_Project }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P287> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q127050> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q12802> } 
 select distinct ?sbj where { ?sbj wdt:P287 wd:Q127050 . ?sbj wdt:P31 wd:Q12802 } 
The Gadget