Question: Was the person who died in Ontario (the one whose population is 14279196 1954?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <place_of_death> ?e_1 . ?e_1 <pred:name> "Ontario" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "14279196"^^xsd:double . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1954 ) .  }
Program:
function: Find
inputs: Ontario
function: FilterNum
dependencies: 0
inputs: population
14279196
=
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: 1954
<
Answer: yes