Question: Is the elevation higher in Baton Rouge, or in Highland Park in the USA?
Choices:
New Haven
Highland Park
Oakland
Waukegan
Lansing
Boulder
Columbus
Franklin
Greenville
Baton Rouge
Answer: Highland Park
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Baton Rouge" .  } UNION { ?e <pred:name> "Highland Park" . ?e <country> ?e_1 . ?e_1 <pred:name> "United States of America" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Baton Rouge
function: Find
inputs: United States of America
function: Relate
dependencies: 1
inputs: country
backward
function: Find
inputs: Highland Park
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
greater