Question: When did the economist Karl Marx die?
Choices:
1903-05-08
2017-01-15
1897-08-10
1992-05-06
1971-01-05
1883-03-14
2000-04-06
1880-01-01
2018-04-01
1898-01-14
Program:
function: Find
inputs: economist
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Karl Marx
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: date of death
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Karl Marx" . ?e <occupation> ?e_1 . ?e_1 <pred:name> "economist" .  ?e <date_of_death> ?pv .  }
Answer: 1883-03-14