Question: Is the person who died in Colorado (whose population is 2889964) born in a year other than 1977?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <place_of_death> ?e_1 . ?e_1 <pred:name> "Colorado" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "2889964"^^xsd:double . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1977 ) .  }
Program:
function: Find
inputs: Colorado
function: FilterNum
dependencies: 0
inputs: population
2889964
=
function: Relate
dependencies: 1
inputs: place of death
backward
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: date of birth
function: VerifyYear
dependencies: 4
inputs: 1977
!=