Question: does Dayton or Jackson (the one with the local dialing code of 517), have a lower elevation (above sea level)
Choices:
Boulder
Columbus
Franklin
Greenville
Oakland
Lansing
Waukegan
Dayton
New Haven
Compton
Program:
function: Find
inputs: Dayton
function: Find
inputs: Jackson
function: FilterStr
dependencies: 1
inputs: local dialing code
517
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dayton" . } UNION { ?e <pred:name> "Jackson" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "517" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Dayton