Question: Does the lower elevation belong to Warwick, at 11 meters above sea level, or Bloomington (telephone area code 952)?
Choices:
Greenville
Boulder
Columbus
Compton
Warwick
Waukegan
Bloomington
Oakland
New Haven
Franklin
Answer: Warwick
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Warwick" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "11"^^xsd:double . } UNION { ?e <pred:name> "Bloomington" . ?e <local_dialing_code> ?pv_2 . ?pv_2 <pred:value> "952" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Warwick
function: FilterNum
dependencies: 0
inputs: elevation above sea level
11 metre
=
function: Find
inputs: Bloomington
function: FilterStr
dependencies: 2
inputs: local dialing code
952
function: SelectBetween
dependencies: 1
3
inputs: elevation above sea level
less