What is {governor} of {Aosta Valley}, that has {employment} is {veterinarian} ?
What representative of Aosta Valley was too a veterinarian?
What governor of Aosta Valley was also a veterinarian?
SELECT ?o WHERE { resource:Aosta_Valley property:head_of_government ?o . ?o property:occupation resource:veterinarian }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1222> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P6>. ?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/Q202883> . }
SELECT ?answer WHERE { wd:Q1222 wdt:P6 ?answer . ?answer wdt:P106 wd:Q202883}
Augusto Rollandin