Question: Does Birmingham, occupying 12.441939 square km, or Reno, in Washoe County, have the lower elevation?
Choices:
Reno
New Haven
Birmingham
Compton
Boulder
Greenville
Lansing
Oakland
Franklin
Waukegan
Answer: Birmingham
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Birmingham" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "12.441939"^^xsd:double . } UNION { ?e <pred:name> "Reno" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Washoe County" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Birmingham
function: FilterNum
dependencies: 0
inputs: area
12.441939 square kilometre
=
function: Find
inputs: Washoe County
function: Relate
dependencies: 2
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Reno
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: elevation above sea level
less