Question: Which telephone area code belongs to the US city twinned as an administrative body to Darwin, population 146245?
Choices:
505
05309
01254
907
542
785
519-226
07223
0252
818
Answer: 907
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Darwin" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "146245"^^xsd:double . ?e <local_dialing_code> ?pv .  }
Program:
function: Find
inputs: Darwin
function: FilterNum
dependencies: 0
inputs: population
146245
=
function: Relate
dependencies: 1
inputs: twinned administrative body
backward
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: QueryAttr
dependencies: 3
inputs: local dialing code