Question: What is the area for the state that shares a border with Afghanistan (the subject of this statement is Afghanistan–Tajikistan border)?
Choices: 1929 square kilometre
143100.0 square kilometre
9767 square kilometre
6909 square kilometre
8600000 square kilometre
18339 square kilometre
316.87918 square kilometre
349389396 square metre
10.503553 square kilometre
7779.63 square kilometre
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Afghanistan" .  [ <pred:fact_h> ?e ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> "Afghanistan–Tajikistan border" . ?e <area> ?pv .  }
Program:
function: Find
inputs: Afghanistan
function: Relate
dependencies: 0
inputs: shares border with
backward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
Afghanistan–Tajikistan border
function: FilterConcept
dependencies: 2
inputs: state
function: QueryAttr
dependencies: 3
inputs: area
Answer: 143100.0 square kilometre