Question: Is the smaller area covered by Richmond, at 14 meters above sea level, or by Bismarck, capital of North Dakota?
Choices: Boulder
Greenville
Waukegan
New Haven
Compton
Bismarck
Oakland
Franklin
Lansing
Columbus
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Richmond" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "14"^^xsd:double . } UNION { ?e <pred:name> "Bismarck" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> "North Dakota" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Richmond
function: FilterNum
dependencies: 0
inputs: elevation above sea level
14 metre
=
function: Find
inputs: North Dakota
function: Relate
dependencies: 2
inputs: capital of
backward
function: Find
inputs: Bismarck
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
less
Answer: Bismarck