Question: Does Texas (story setting of Hud) or North Carolina have a smaller proportion of water area?
Choices:
North Carolina
New Mexico
Florida
Texas
New Jersey
Hawaii
Illinois
Iowa
Massachusetts
California
Program:
function: Find
inputs: Hud
function: Relate
dependencies: 0
inputs: narrative location
forward
function: Find
inputs: Texas
function: And
dependencies: 1
2
function: Find
inputs: North Carolina
function: SelectBetween
dependencies: 3
4
inputs: water as percent of area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Texas" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "Hud" .   } UNION { ?e <pred:name> "North Carolina" .  } ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Texas