Question: Which has a lower percentage of water area, Louisiana (has Louisiana Tech University), or Kentucky (shares border with Missouri)?
Choices:
Colorado
California
Florida
Iowa
New Mexico
Hawaii
Massachusetts
Illinois
Kentucky
Louisiana
Answer: Kentucky
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Louisiana" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Louisiana Tech University" .   } UNION { ?e <pred:name> "Kentucky" . ?e <shares_border_with> ?e_2 . ?e_2 <pred:name> "Missouri" .  } ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Louisiana Tech University
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Louisiana
function: And
dependencies: 1
2
function: Find
inputs: Missouri
function: Relate
dependencies: 4
inputs: shares border with
backward
function: Find
inputs: Kentucky
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: water as percent of area
less