Question: Does the city that is located in Kerala (the one whose native label is കേരളം) have more than 95000 people?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Kerala" . ?e_1 <native_label> ?pv_1 . ?pv_1 <pred:value> "കേരളം" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "95000"^^xsd:double ) .  }
Program:
function: Find
inputs: Kerala
function: FilterStr
dependencies: 0
inputs: native label
കേരളം
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: city
function: QueryAttr
dependencies: 3
inputs: population
function: VerifyNum
dependencies: 4
inputs: 95000
>