Question: What is the area of the first-level administrative country subdivision that shares a border with Punjab (which in turn shares a border with Khyber Pakhtunkhwa)?
Choices: 3279 square kilometre
306.014258 square kilometre
176.221195 square kilometre
27.220477 square kilometre
74521.0 square kilometre
204010000 square metre
207600.496983 square kilometre
5.6 square kilometre
2193 square kilometre
493.82 square kilometre
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "first-level administrative country subdivision" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Punjab" . ?e_1 <shares_border_with> ?e_2 . ?e_2 <pred:name> "Khyber Pakhtunkhwa" .  ?e <area> ?pv .  }
Program:
function: Find
inputs: Khyber Pakhtunkhwa
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Punjab
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: shares border with
backward
function: FilterConcept
dependencies: 4
inputs: first-level administrative country subdivision
function: QueryAttr
dependencies: 5
inputs: area
Answer: 74521.0 square kilometre