Question: Is the nominal GDP per capita greater than 24500 euro for the state of Germany whose area is 18415.66 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> "state of Germany" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "18415.66"^^xsd:double . ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:unit> "euro" . ?pv <pred:value> ?v . FILTER ( ?v > "24500"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
18415.66 square kilometre
=
function: FilterConcept
dependencies: 1
inputs: state of Germany
function: QueryAttr
dependencies: 2
inputs: nominal GDP per capita
function: VerifyNum
dependencies: 3
inputs: 24500 euro
>