Question: Was the city whose postal code is T1 not founded in 1987 (the role of this statement is town)?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "T1" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1987 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <inception> ; <pred:fact_t> ?pv ] <subject_has_role> ?qpv . ?qpv <pred:value> "town" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
T1
function: FilterConcept
dependencies: 1
inputs: city
function: QueryAttrUnderCondition
dependencies: 2
inputs: inception
subject has role
town
function: VerifyYear
dependencies: 3
inputs: 1987
!=