Question: Which has fewer inhabitants: Anderson (110.772099 square kilometres in area) or Fresno, the twinned administrative body of Lahore?
Choices:
Greenville
Franklin
Oakland
Fresno
New Haven
Anderson
Waukegan
Compton
Lansing
Columbus
Answer: Anderson
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Anderson" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "110.772099"^^xsd:double . } UNION { ?e <pred:name> "Fresno" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Lahore" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Anderson
function: FilterNum
dependencies: 0
inputs: area
110.772099 square kilometre
=
function: Find
inputs: Lahore
function: Relate
dependencies: 2
inputs: twinned administrative body
forward
function: Find
inputs: Fresno
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: population
less