Question: Is the elevation lower in the Surrey officially named City of Surrey, or in Ballarat?
Choices:
Kingston
Trieste
Bergen
Dundee
Cork
Kilkenny
Abidjan
Santo Domingo
Chihuahua
Surrey
Answer: Surrey
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Surrey" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> "City of Surrey" . } UNION { ?e <pred:name> "Ballarat" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Surrey
function: FilterStr
dependencies: 0
inputs: official name
City of Surrey
function: Find
inputs: Ballarat
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
less