What is {inventor of} of {jigsaw}, that has {career} is {cartographer} ?
Which character who had the career of a cartographer was once the inventor of the jigsaw?
Which person who had the career of a cartographer was the inventor of the jigsaw?
SELECT ?w WHERE { ?w property:occupation resource:cartographer . resource:jigsaw_puzzle property:discoverer_or_inventor ?w }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q181008> . ?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> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P106> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q1734662> . }
SELECT ?answer WHERE { wd:Q181008 wdt:P61 ?answer . ?answer wdt:P106 wd:Q1734662}
John Spilsbury