Question: Does the Chinese province which has the capital Nanjing have a population that is not 4.0?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "province of China" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Nanjing" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "4.0"^^xsd:double ) .  }
Program:
function: Find
inputs: Nanjing
function: Relate
dependencies: 0
inputs: capital
backward
function: FilterConcept
dependencies: 1
inputs: province of China
function: QueryAttr
dependencies: 2
inputs: population
function: VerifyNum
dependencies: 3
inputs: 4.0
!=