Question: What city is the capital of the sovereign state having nepal as its CIVICUS Monitor country entry?
Choices:
Canberra
Lancaster
Buenos Aires
Caracas
Seoul
Kabul
Srinagar
Yangon
Kathmandu
St. Catharines
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: CIVICUS Monitor country entry
nepal
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: Relate
dependencies: 2
inputs: capital
forward
function: FilterConcept
dependencies: 3
inputs: city
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <capital> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "sovereign state" . ?e_1 <CIVICUS_Monitor_country_entry> ?pv . ?pv <pred:value> "nepal" .   }
Answer: Kathmandu