Question: Does Lexington (whose official website is http://www.lexingtonma.gov/) or Frankfort have the lower elevation above sea level?
Choices:
New Haven
Frankfort
Columbus
Compton
Franklin
Boulder
Lexington
Waukegan
Lansing
Oakland
Answer: Lexington
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lexington" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.lexingtonma.gov/" . } UNION { ?e <pred:name> "Frankfort" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Lexington
function: FilterStr
dependencies: 0
inputs: official website
http://www.lexingtonma.gov/
function: Find
inputs: Frankfort
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
less