What is {medals} of {discoverer of} of {typewriter} ?
What awards did the creator of the typewriter receive?
What medals did the inventor of the typewriter receive?
SELECT ?v WHERE { resource:typewriter property:discoverer_or_inventor ?f . ?f property:award_received ?v }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q46335> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P61>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P166> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q46335 wdt:P61 ?X . ?X wdt:P166 ?answer}
National Inventors Hall of Fame John Scott Medal