Question: Among the states of the United States that shares border with Nevada (the one whose population is 110247),which one has the smallest area ?
Choices:
Arizona
Idaho
Massachusetts
California
Iowa
Hawaii
Colorado
Oregon
Florida
Utah
Answer: Idaho
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of the United States" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Nevada" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "110247"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Nevada
function: FilterNum
dependencies: 0
inputs: population
110247
=
function: Relate
dependencies: 1
inputs: shares border with
forward
function: FilterConcept
dependencies: 2
inputs: state of the United States
function: SelectAmong
dependencies: 3
inputs: area
smallest