Question: Does the US city nicknamed O-Town have a population smaller than 67000000?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <nickname> ?pv_1 . ?pv_1 <pred:value> "O-Town" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "67000000"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: nickname
O-Town
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: QueryAttr
dependencies: 2
inputs: population
function: VerifyNum
dependencies: 3
inputs: 67000000
<