Question: Which occupies a smaller area, Pittsburgh (twinned administrative body of Zagreb) or Scranton?
Choices:
Greensburg
York
Johnstown
Harrisburg
Bethlehem
Pittsburgh
Scranton
Chester
Wilkes-Barre
Erie
Program:
function: Find
inputs: Zagreb
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Pittsburgh
function: And
dependencies: 1
2
function: Find
inputs: Scranton
function: SelectBetween
dependencies: 3
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pittsburgh" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Zagreb" .   } UNION { ?e <pred:name> "Scranton" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Scranton