Question: Is the real gross domestic product growth rate of Egypt (whose ISO 3166-1 alpha-2 code is EG) not equal to 5 percentage?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Egypt" . ?e <ISO_3166-1_alpha-2_code> ?pv_1 . ?pv_1 <pred:value> "EG" . ?e <real_gross_domestic_product_growth_rate> ?pv . ?pv <pred:unit> "percentage" . ?pv <pred:value> ?v . FILTER ( ?v != "5"^^xsd:double ) .  }
Program:
function: Find
inputs: Egypt
function: FilterStr
dependencies: 0
inputs: ISO 3166-1 alpha-2 code
EG
function: QueryAttr
dependencies: 1
inputs: real gross domestic product growth rate
function: VerifyNum
dependencies: 2
inputs: 5 percentage
!=