Question: Which American state the Sara Palin lives in has the lowest above sea level elevation?
Choices:
Florida
Alaska
Illinois
Iowa
Idaho
New Mexico
Massachusetts
Hawaii
Colorado
New Jersey
Program:
function: Find
inputs: Sarah Palin
function: Relate
dependencies: 0
inputs: residence
forward
function: FilterConcept
dependencies: 1
inputs: state of the United States
function: SelectAmong
dependencies: 2
inputs: elevation above sea level
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of the United States" . ?e_1 <residence> ?e . ?e_1 <pred:name> "Sarah Palin" .  ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Alaska