Question: Which area is smaller, Melbourne (the one whose inception time is 1867) or Canton?
Choices:
Lansing
Franklin
Columbus
Greenville
Canton
Boulder
New Haven
Oakland
Compton
Melbourne
Program:
function: Find
inputs: Melbourne
function: FilterYear
dependencies: 0
inputs: inception
1867
=
function: Find
inputs: Canton
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Melbourne" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1867 . } UNION { ?e <pred:name> "Canton" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Canton