Question: Does the state that shares a border with Austria-Hungary, have a population not equal to 22000 (the point in time of this statement is 2004)?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Austria-Hungary" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "22000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2004 .  }
Program:
function: Find
inputs: Austria-Hungary
function: Relate
dependencies: 0
inputs: shares border with
backward
function: FilterConcept
dependencies: 1
inputs: state
function: QueryAttrUnderCondition
dependencies: 2
inputs: population
point in time
2004
function: VerifyNum
dependencies: 3
inputs: 22000
!=