Question: Does Sedona with a population of 10031 or Knoxville have greater area?
Choices:
Lansing
New Haven
Boulder
Waukegan
Oakland
Knoxville
Greenville
Columbus
Franklin
Sedona
Answer: Knoxville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sedona" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "10031"^^xsd:double . } UNION { ?e <pred:name> "Knoxville" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Sedona
function: FilterNum
dependencies: 0
inputs: population
10031
=
function: Find
inputs: Knoxville
function: SelectBetween
dependencies: 1
2
inputs: area
greater