What is the {spacecraft} for {manufacturer} of {SpaceX}
Which is the shuttle that's made by SpaceX?
Which is the spacecraft that is manufactured by SpaceX?
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:spacecraft . ?w property:manufacturer resource:SpaceX }
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/P176> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q193701> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q40218> } 
 select distinct ?sbj where { ?sbj wdt:P176 wd:Q193701 . ?sbj wdt:P31 wd:Q40218 } 
Starship upper stage Starship