Question: Is the population of a city, where Allen Iverson was born, different from 38000000 (determined viac census) ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "independent city" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Allen Iverson" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "38000000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv . ?qpv <pred:value> "census" .  }
Program:
function: Find
inputs: Allen Iverson
function: Relate
dependencies: 0
inputs: place of birth
forward
function: FilterConcept
dependencies: 1
inputs: independent city
function: QueryAttrUnderCondition
dependencies: 2
inputs: population
determination method
census
function: VerifyNum
dependencies: 3
inputs: 38000000
!=