Question: Is the area more than 15 hectares for the Spain province whose ISO 3166-2 code is ES-B?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "province of Spain" . ?e <ISO_3166-2_code> ?pv_1 . ?pv_1 <pred:value> "ES-B" . ?e <area> ?pv . ?pv <pred:unit> "hectare" . ?pv <pred:value> ?v . FILTER ( ?v > "15"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
ES-B
function: FilterConcept
dependencies: 1
inputs: province of Spain
function: QueryAttr
dependencies: 2
inputs: area
function: VerifyNum
dependencies: 3
inputs: 15 hectare
>