Question: Does Greenwich (the one whose country is the United States of America), have as population less than 12000000?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Greenwich" . ?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 < "12000000"^^xsd:double ) .  }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Greenwich
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: population
function: VerifyNum
dependencies: 4
inputs: 12000000
<