Question: Is the city of Kampalan’s elevation less than 1900 metres?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> "Kampalan" . ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> ?v . FILTER ( ?v < "1900"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
Kampalan
function: FilterConcept
dependencies: 1
inputs: city
function: QueryAttr
dependencies: 2
inputs: elevation above sea level
function: VerifyNum
dependencies: 3
inputs: 1900 metre
<
Answer: yes