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