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