Question: What city is the origin of the name Madagascar (whose nominal GDP is 3594868208.41885 United States dollars)?
Choices: Aarhus
Kilkenny
Santo Domingo
Bergen
Trieste
Cork
Abidjan
Kingston
Christchurch
Mogadishu
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <named_after> ?e . ?e_1 <pred:name> "Madagascar" . ?e_1 <nominal_GDP> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> "3594868208.41885"^^xsd:double .   }
Program:
function: Find
inputs: Madagascar
function: FilterNum
dependencies: 0
inputs: nominal GDP
3594868208.41885 United States dollar
=
function: Relate
dependencies: 1
inputs: named after
forward
function: FilterConcept
dependencies: 2
inputs: city
function: What
dependencies: 3
Answer: Mogadishu