Question: Was Henry James who died in New York City born before 1928?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Program:
function: Find
inputs: New York City
function: Relate
dependencies: 0
inputs: place of death
backward
function: Find
inputs: Henry James
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: date of birth
function: VerifyYear
dependencies: 4
inputs: 1928
<
SPARQL: ASK { ?e <pred:name> "Henry James" . ?e <place_of_death> ?e_1 . ?e_1 <pred:name> "New York City" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1928 ) .  }
Answer: yes