Question: Does the United States city, whose area is equal to 796.141399 square kilometres, have a population not equal to 1400000000 (the point in time of this statement is 1850)?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "796.141399"^^xsd:double . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "1400000000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 1850 .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
796.141399 square kilometre
=
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: QueryAttrUnderCondition
dependencies: 2
inputs: population
point in time
1850
function: VerifyNum
dependencies: 3
inputs: 1400000000
!=