Question: What city is capital of the sovereign state that has a license plate code of WAN?
Choices: Guatemala City
Ljubljana
Dakar
Genoa
Ho Chi Minh City
Oslo
Lagos
Havana
Baghdad
Georgetown
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 <licence_plate_code> ?pv . ?pv <pred:value> "WAN" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: licence plate code
WAN
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: Relate
dependencies: 2
inputs: capital
forward
function: FilterConcept
dependencies: 3
inputs: city
function: What
dependencies: 4
Answer: Lagos