SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/deputy> <http://dbpedia.org/resource/Piotr_GliÅ„ski> . ?uri <http://dbpedia.org/property/leaderName> ?x . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Country>}
Name the country whose leader's deputy is Piotr Glinski?
SELECT DISTINCT ?q WHERE { ?q property:leader_name ?c . ?q rdf:type ontology:Country . ?c property:deputy resource:Piotr_GliÅ„ski }
Poland
The country whose leader's deputy is Piotr Gliski is [Poland].
The country of which Petro Poroshenko is a deputy is [Poland].
The country whose leader name's deputy is Piotr Gliski is [Poland].
The country of which Petro Poroshenko is a deputy is [Poland].