Question: What local phone code designates the city where New Zealand citizen Michael Jackson was born?
Choices:
03
6101
022
07383
08937
302
231
01424
01642
01709
Answer: 03
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Michael Jackson" . ?e_1 <country_of_citizenship> ?e_2 . ?e_2 <pred:name> "New Zealand" .  ?e <local_dialing_code> ?pv .  }
Program:
function: Find
inputs: New Zealand
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Michael Jackson
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: city
function: QueryAttr
dependencies: 5
inputs: local dialing code