Question: Is the population of Selma (the one whose country is United States of America) greater than 100 ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Selma
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: population
function: VerifyNum
dependencies: 4
inputs: 100
>
SPARQL: ASK { ?e <pred:name> "Selma" . ?e <country> ?e_1 . ?e_1 <pred:name> "United States of America" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "100"^^xsd:double ) .  }
Answer: yes