What is {name after} of {Carnot heat engine}, that has {Christian name} is {Nicolas} ?
"What is {title after} of {Carnot warm motor}, which has {Christian title} is {Nicolas} ?"
"What is {name after} of {Carnot heat engine}, which has {Christian name} is {Nicolas} ?"
SELECT ?h WHERE { ?h property:given_name resource:Nicolas . resource:Carnot_heat_engine property:named_after ?h }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1335241> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P138>. ?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/P735> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q7029481> . }
SELECT ?answer WHERE { wd:Q1335241 wdt:P138 ?answer . ?answer wdt:P735 wd:Q7029481}
Nicolas Carnot