what is the {country} for {Pius IX} has {place of birth} as {Senigallia} ?
Which country for Pius IX holds the place of birth of Senigallia?
What country for Pius IX has the birth place of Senigallia?
SELECT ?u WHERE { ?o property:country ?u . ?o property:place_of_birth resource:Senigallia . resource:Pius_IX property:place_of_birth ?o }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q43720> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P19> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q124925> .
?statement <http://www.wikidata.org/entity/P17> ?value. 
} 

SELECT ?value WHERE { wd:Q43720 p:P19 ?s . ?s ps:P19 wd:Q124925 . ?s pq:P17 ?value}