Question: Is the elevation relative to sea level smaller for Chihuahua (local dialing code 614) or Casablanca, which is Jakarta's twinned administrative body?
Choices:
Cork
Kilkenny
Trieste
Cairo
Dundee
Abidjan
Chihuahua
Casablanca
Bergen
Santo Domingo
Answer: Casablanca
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chihuahua" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "614" . } UNION { ?e <pred:name> "Casablanca" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Jakarta" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Chihuahua
function: FilterStr
dependencies: 0
inputs: local dialing code
614
function: Find
inputs: Jakarta
function: Relate
dependencies: 2
inputs: twinned administrative body
forward
function: Find
inputs: Casablanca
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: elevation above sea level
less