Question: Which has greater elevation above sea level, Albany whose official website is http://www.albany.ga.us) or Hartford?
Choices:
Oakland
New Haven
Franklin
Columbus
Lansing
Waukegan
Greenville
Albany
Compton
Hartford
Answer: Albany
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Albany" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.albany.ga.us" . } UNION { ?e <pred:name> "Hartford" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Albany
function: FilterStr
dependencies: 0
inputs: official website
http://www.albany.ga.us
function: Find
inputs: Hartford
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
greater