Question: Which has more percent of water area, Tennessee birthplace of Hugh Hunt or Nevada whose ISO 3166-2 code is US-NV?
Choices:
Hawaii
Nevada
New Jersey
Colorado
Florida
Illinois
Tennessee
Massachusetts
New Mexico
California
Program:
function: Find
inputs: Hugh Hunt
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Tennessee
function: And
dependencies: 1
2
function: Find
inputs: Nevada
function: FilterStr
dependencies: 4
inputs: ISO 3166-2 code
US-NV
function: SelectBetween
dependencies: 3
5
inputs: water as percent of area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tennessee" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Hugh Hunt" . } UNION { ?e <pred:name> "Nevada" . ?e <ISO_3166-2_code> ?pv_1 . ?pv_1 <pred:value> "US-NV" . } ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Tennessee