Question: Did the Pennsylvania county named after Thomas Jefferson ( whose CANTIC-ID is a12128843) have a population not equal to 880000000 on 2015-01-01?
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 Pennsylvania" . ?e <named_after> ?e_1 . ?e_1 <pred:name> "Thomas Jefferson" . ?e_1 <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> "a12128843" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "880000000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> "2015-01-01"^^xsd:date .  }
Program:
function: Find
inputs: Thomas Jefferson
function: FilterStr
dependencies: 0
inputs: CANTIC-ID
a12128843
function: Relate
dependencies: 1
inputs: named after
backward
function: FilterConcept
dependencies: 2
inputs: county of Pennsylvania
function: QueryAttrUnderCondition
dependencies: 3
inputs: population
point in time
2015-01-01
function: VerifyNum
dependencies: 4
inputs: 880000000
!=