Question: Telephone area code 042 applies to which city?
Choices:
Trieste
Cork
Allahabad
Cairo
Kingston
Dehradun
Lahore
Victoria
Helsingborg
Sofia
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: local dialing code
042
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 <local_dialing_code> ?pv . ?pv <pred:value> "042" .  }
Answer: Lahore