Question: Which city's dialing code is 245 and demonym is Hanoians ?
Choices:
Chihuahua
Cork
Kingston
Abidjan
Trieste
Kilkenny
Bergen
Hanoi
Cairo
Dundee
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: local dialing code
245
function: FilterConcept
dependencies: 1
inputs: city
function: FindAll
function: FilterStr
dependencies: 3
inputs: demonym
Hanoians
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 <local_dialing_code> ?pv . ?pv <pred:value> "245" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> "Hanoians" .  }
Answer: Hanoi