Question: Which U.S. city has an elevation (above sea level) of less than 740 metres and a postal code of 60601?
Choices:
Waukegan
Chicago
Columbus
Bloomington
Annapolis
Franklin
Fontana
Florence
New Haven
Gulfport
Answer: Chicago
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> ?v . FILTER ( ?v < "740"^^xsd:double ) . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "60601" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: elevation above sea level
740 metre
<
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: FindAll
function: FilterStr
dependencies: 3
inputs: postal code
60601
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: And
dependencies: 2
5
function: What
dependencies: 6