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