Question: Is the area of a government, whose subreddit is dubai (English language), over 50,000 square km ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "form of government" . ?e <subreddit> ?pv_1 . ?pv_1 <pred:value> "dubai" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> "English" . ?e <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> ?v . FILTER ( ?v > "50000"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: subreddit
dubai
function: QFilterStr
dependencies: 1
inputs: language of work or name
English
function: FilterConcept
dependencies: 2
inputs: form of government
function: QueryAttr
dependencies: 3
inputs: area
function: VerifyNum
dependencies: 4
inputs: 50000 square kilometre
>