Question: Does Springfield (the one whose elevation (above sea level) is 182 metre) or Columbia (the one that is the birthplace of Stanley Donen) have the greater population?
Choices:
The Poseidon Adventure
Al Green
Springfield
Cheyenne
Columbia
Chad Smith
Paul
Trevor Rabin
Michael Lerner
Hyderabad
Answer: Columbia
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Springfield" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "182"^^xsd:double . } UNION { ?e <pred:name> "Columbia" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Stanley Donen" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Springfield
function: FilterNum
dependencies: 0
inputs: elevation above sea level
182 metre
=
function: Find
inputs: Stanley Donen
function: Relate
dependencies: 2
inputs: place of birth
forward
function: Find
inputs: Columbia
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: population
greater