Question: Does St. Joseph (the one whose official name is d3) have fewer than 3300000 people?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "St. Joseph" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> "d3" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "3300000"^^xsd:double ) .  }
Program:
function: Find
inputs: St. Joseph
function: FilterStr
dependencies: 0
inputs: official name
d3
function: QueryAttr
dependencies: 1
inputs: population
function: VerifyNum
dependencies: 2
inputs: 3300000
<