Question: Which has less area, Aurora (the one whose inception time is 1835) or Fayetteville (the one whose area is 387.425611 square kilometre)?
Choices:
New Haven
Compton
Greenville
Fayetteville
Lansing
Waukegan
Franklin
Oakland
Aurora
Columbus
Answer: Aurora
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Aurora" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1835 . } UNION { ?e <pred:name> "Fayetteville" . ?e <area> ?pv_2 . ?pv_2 <pred:unit> "square kilometre" . ?pv_2 <pred:value> "387.425611"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Aurora
function: FilterYear
dependencies: 0
inputs: inception
1835
=
function: Find
inputs: Fayetteville
function: FilterNum
dependencies: 2
inputs: area
387.425611 square kilometre
=
function: SelectBetween
dependencies: 1
3
inputs: area
less