Question: Which has lower elevation above sea level, Texas (the one whose population is 4663228) or Louisiana (the one whose short name is LA)?
Choices:
Florida
Texas
Iowa
Illinois
Hawaii
New Jersey
Colorado
California
Massachusetts
Louisiana
Program:
function: Find
inputs: Texas
function: FilterNum
dependencies: 0
inputs: population
4663228
=
function: Find
inputs: Louisiana
function: FilterStr
dependencies: 2
inputs: short name
LA
function: SelectBetween
dependencies: 1
3
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Texas" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "4663228"^^xsd:double . } UNION { ?e <pred:name> "Louisiana" . ?e <short_name> ?pv_2 . ?pv_2 <pred:value> "LA" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Louisiana