Question: Which area has lower elevation above sea level Anchorage or Nashville (the one that is the residence of Kelly Clarkson)?
Choices:
Columbus
Greenville
Oakland
Franklin
Boulder
Waukegan
Nashville
New Haven
Anchorage
Compton
Program:
function: Find
inputs: Anchorage
function: Find
inputs: Kelly Clarkson
function: Relate
dependencies: 1
inputs: residence
forward
function: Find
inputs: Nashville
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Anchorage" .  } UNION { ?e <pred:name> "Nashville" . ?e_1 <residence> ?e . ?e_1 <pred:name> "Kelly Clarkson" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Anchorage