Question: Is the population of the county of Massachusetts named after Benjamin Franklin (who belongs to the US),  determined using demographic balance method, not equal to 7800 ?
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 Massachusetts" . ?e <named_after> ?e_1 . ?e_1 <pred:name> "Benjamin Franklin" . ?e_1 <country_for_sport> ?e_2 . ?e_2 <pred:name> "United States of America" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "7800"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv . ?qpv <pred:value> "demographic balance" .  }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country for sport
backward
function: Find
inputs: Benjamin Franklin
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: named after
backward
function: FilterConcept
dependencies: 4
inputs: county of Massachusetts
function: QueryAttrUnderCondition
dependencies: 5
inputs: population
determination method
demographic balance
function: VerifyNum
dependencies: 6
inputs: 7800
!=