Question: What is the U.S. town whose elevation above sea level is not 180 metres and that is located in the Mountain Time Zone?
Choices:
Fairfield
Florence
Salt Lake City
Hanover
Ridgefield
Kensington
Huntington
Logan
Prescott
Great Falls
Answer: Florence
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town of the United States" . ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> ?v . FILTER ( ?v != "180"^^xsd:double ) . ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> "Mountain Time Zone" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: elevation above sea level
180 metre
!=
function: FilterConcept
dependencies: 1
inputs: town of the United States
function: Find
inputs: Mountain Time Zone
function: Relate
dependencies: 3
inputs: located in time zone
backward
function: FilterConcept
dependencies: 4
inputs: town of the United States
function: And
dependencies: 2
5
function: What
dependencies: 6