Question: Which city's nickname is Pearl of the Far East and is the birthplace of Tsui Hark ?
Choices:
Santo Domingo
Cairo
Kingston
Trieste
Bergen
Kilkenny
Dundee
Abidjan
Ho Chi Minh City
Cork
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: nickname
Pearl of the Far East
function: FilterConcept
dependencies: 1
inputs: city
function: Find
inputs: Tsui Hark
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: city
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <nickname> ?pv . ?pv <pred:value> "Pearl of the Far East" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Tsui Hark" .  }
Answer: Ho Chi Minh City