query: SELECT DISTINCT ?obj ?objLabel ?objDescription ?nom ?nomLabel ?nomDescription
  WHERE {
  {?obj wdt:P31/wdt:P279* wd:Q40218 } # type of spacecraft
  UNION { ?obj wdt:P31/wdt:P279* wd:Q13226541 } # or spaceflight programme
  ?obj wdt:P138 ?nom #named after
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" }
  } ORDER BY ASC(?objLabel)