Question: Does the New York county that is named for James Monroe, whose native language is English, have a population which doesn't equal 6300000000, a figure determined by demographic balance?
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 York" . ?e <named_after> ?e_1 . ?e_1 <pred:name> "James Monroe" . ?e_1 <native_language> ?e_2 . ?e_2 <pred:name> "English" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "6300000000"^^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: English
function: Relate
dependencies: 0
inputs: native language
backward
function: Find
inputs: James Monroe
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: named after
backward
function: FilterConcept
dependencies: 4
inputs: county of New York
function: QueryAttrUnderCondition
dependencies: 5
inputs: population
determination method
demographic balance
function: VerifyNum
dependencies: 6
inputs: 6300000000
!=