Question: Does Irvine (official website http://www.irvineayrshire.org/) or Watford have a higher elevation relative to sea level?
Choices:
Wimbledon
Macclesfield
Blackburn
Colchester
Wigan
South Shields
Doncaster
Royal Tunbridge Wells
Irvine
Watford
Answer: Watford
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Irvine" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.irvineayrshire.org/" . } UNION { ?e <pred:name> "Watford" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Irvine
function: FilterStr
dependencies: 0
inputs: official website
http://www.irvineayrshire.org/
function: Find
inputs: Watford
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
greater