Question: What is the local dialing code for the capital of Uttar Pradesh, founded on 26th January 1950?
Choices:
232
0381
01522
01382
520
709
522
0116
01334
0391
Answer: 522
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> "Uttar Pradesh" . ?e_1 <inception> ?pv_1 . ?pv_1 <pred:date> "1950-01-26"^^xsd:date . ?e <local_dialing_code> ?pv .  }
Program:
function: Find
inputs: Uttar Pradesh
function: FilterDate
dependencies: 0
inputs: inception
1950-01-26
=
function: Relate
dependencies: 1
inputs: capital of
backward
function: FilterConcept
dependencies: 2
inputs: capital
function: QueryAttr
dependencies: 3
inputs: local dialing code