Question: Does Kentucky, abbreviated KY, or Nevada (demonym Nevadan) have a lower elevation relative to sea level?
Choices:
Kentucky
Colorado
Florida
New Mexico
Massachusetts
Nevada
Illinois
New Jersey
Hawaii
California
Answer: Kentucky
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kentucky" . ?e <short_name> ?pv_1 . ?pv_1 <pred:value> "KY" . } UNION { ?e <pred:name> "Nevada" . ?e <demonym> ?pv_2 . ?pv_2 <pred:value> "Nevadan" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Kentucky
function: FilterStr
dependencies: 0
inputs: short name
KY
function: Find
inputs: Nevada
function: FilterStr
dependencies: 2
inputs: demonym
Nevadan
function: SelectBetween
dependencies: 1
3
inputs: elevation above sea level
less