Question: Which city that is part of Manitoba has the official name City of Winnipeg?
Choices: Abidjan
Dundee
Chihuahua
Santo Domingo
Winnipeg
Cork
Kingston
Bergen
Trieste
Kilkenny
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <part_of> ?e_1 . ?e_1 <pred:name> "Manitoba" .  ?e <official_name> ?pv . ?pv <pred:value> "City of Winnipeg" .  }
Program:
function: Find
inputs: Manitoba
function: Relate
dependencies: 0
inputs: part of
backward
function: FilterConcept
dependencies: 1
inputs: city
function: FindAll
function: FilterStr
dependencies: 3
inputs: official name
City of Winnipeg
function: FilterConcept
dependencies: 4
inputs: city
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: Winnipeg