Question: What is the city that has a country named Suriname?
Choices:
Dutch
Palmerston North
Indigenous peoples of the Americas
Paramaribo
Suriname
Peterborough
Djibouti
Kagoshima
Trier
Turku
Program:
function: Find
inputs: Suriname
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: city
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <country> ?e_1 . ?e_1 <pred:name> "Suriname" .   }
Answer: Paramaribo