What is {godmother} of {Camillo Benso di Cavour}, that has {craft} is {politician} ?
"Which is {adoptive parent} of {Camillo Benso di Cavour}, whose {make} is {lawmaker} ?"
"Which is {godmother} of {Camillo Benso di Cavour}, whose {craft} is {politician} ?"
SELECT ?n WHERE { resource:Camillo_Benso_di_Cavour property:godparent ?n . ?n property:occupation resource:politician }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q166092> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1290>. ?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/Q82955> . }
SELECT ?answer WHERE { wd:Q166092 wdt:P1290 ?answer . ?answer wdt:P106 wd:Q82955}
Pauline Bonaparte