What is {is in the county of} of {Jigawa State}, that has {administrative centre} is {Abuja} ?
What nation is Abuja the capitol of?
What country is Abuja the capitol of?
SELECT ?j WHERE { resource:Jigawa_State property:located_in_the_administrative_territorial_entity ?j . ?j property:capital resource:Abuja }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q682691> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P131>. ?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/P36> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q3787> . }
SELECT ?answer WHERE { wd:Q682691 wdt:P131 ?answer . ?answer wdt:P36 wd:Q3787}
Nigeria