Question: Is hyderabad the subreddit of the city with millions of inhabitants whose number of households is more than 230000?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "city with millions of inhabitants" . ?e <number_of_households> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > "230000"^^xsd:double ) . ?e <subreddit> ?pv . ?pv <pred:value> "hyderabad" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of households
230000
>
function: FilterConcept
dependencies: 1
inputs: city with millions of inhabitants
function: QueryAttr
dependencies: 2
inputs: subreddit
function: VerifyStr
dependencies: 3
inputs: hyderabad
Answer: yes