Question: What city's elevation above sea level is under 14000 feet and area is less than 42000 square miles?
Choices:
Verona
Westport
Saginaw
Montgomery County
San Francisco
Durham
Maryland
Canberra
Ulm
Innsbruck
Answer: Saginaw
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> "foot" . ?pv <pred:value> ?v . FILTER ( ?v < "14000"^^xsd:double ) . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square mile" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "42000"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: elevation above sea level
14000 foot
<
function: FilterConcept
dependencies: 1
inputs: city
function: FindAll
function: FilterNum
dependencies: 3
inputs: area
42000 square mile
<
function: FilterConcept
dependencies: 4
inputs: city
function: And
dependencies: 2
5
function: What
dependencies: 6