Question: Is the area of the landform that has the capital Havana (whose local dialing code is 7) greater than 7600 square kilometres?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "landform" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Havana" . ?e_1 <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "7" . ?e <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> ?v . FILTER ( ?v > "7600"^^xsd:double ) .  }
Program:
function: Find
inputs: Havana
function: FilterStr
dependencies: 0
inputs: local dialing code
7
function: Relate
dependencies: 1
inputs: capital
backward
function: FilterConcept
dependencies: 2
inputs: landform
function: QueryAttr
dependencies: 3
inputs: area
function: VerifyNum
dependencies: 4
inputs: 7600 square kilometre
>