Question: Which state has a lower elevation above sea level, Mississippi, with a Dewey Decimal Classification of 2--762, or Colorado, which contains Weld County?
Choices:
New Mexico
Iowa
Florida
California
Illinois
Mississippi
Hawaii
Massachusetts
Colorado
New Jersey
Program:
function: Find
inputs: Mississippi
function: FilterStr
dependencies: 0
inputs: Dewey Decimal Classification
2--762
function: Find
inputs: Weld County
function: Relate
dependencies: 2
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Colorado
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mississippi" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> "2--762" . } UNION { ?e <pred:name> "Colorado" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Weld County" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Mississippi