Question: In 1977, does the large city with a shortened name of Stg have a population that differs from the figure of 5300000?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "big city" . ?e <short_name> ?pv_1 . ?pv_1 <pred:value> "Stg" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "5300000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 1977 .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: short name
Stg
function: FilterConcept
dependencies: 1
inputs: big city
function: QueryAttrUnderCondition
dependencies: 2
inputs: population
point in time
1977
function: VerifyNum
dependencies: 3
inputs: 5300000
!=
Answer: yes