Question: Which has lower elevation above sea level, Fort Worth whose area is 909.611027 square kilometres or Gary where The Jackson 5 were formed?
Choices:
Boulder
Lansing
Greenville
Columbus
New Haven
Waukegan
Compton
Franklin
Fort Worth
Gary
Program:
function: Find
inputs: Fort Worth
function: FilterNum
dependencies: 0
inputs: area
909.611027 square kilometre
=
function: Find
inputs: The Jackson 5
function: Relate
dependencies: 2
inputs: location of formation
forward
function: Find
inputs: Gary
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fort Worth" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "909.611027"^^xsd:double . } UNION { ?e <pred:name> "Gary" . ?e_1 <location_of_formation> ?e . ?e_1 <pred:name> "The Jackson 5" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Gary