Question: What is the area for Sarajevo (the one that is the twinned administrative body of Stockholm)?
Choices:
576 square kilometre
128.584744 square kilometre
15.032655 square kilometre
161760000 square kilometre
207.2 square kilometre
1563 square kilometre
17236 square kilometre
319.35 square kilometre
141.5 square kilometre
741 square kilometre
Program:
function: Find
inputs: Stockholm
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Sarajevo
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: area
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Sarajevo" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Stockholm" .  ?e <area> ?pv .  }
Answer: 141.5 square kilometre