Question: Was the population of New Jersey county, with the capital Trenton, different from 1.2 on 1st July 2012 ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "county of New Jersey" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Trenton" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "1.2"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> "2012-07-01"^^xsd:date .  }
Program:
function: Find
inputs: Trenton
function: Relate
dependencies: 0
inputs: capital
backward
function: FilterConcept
dependencies: 1
inputs: county of New Jersey
function: QueryAttrUnderCondition
dependencies: 2
inputs: population
point in time
2012-07-01
function: VerifyNum
dependencies: 3
inputs: 1.2
!=