Question: What is the connection between James Buchanan (the one whose date of birth is 1791-04-23) to respiratory failure?
Choices:
contributing factor of
located on terrain feature
opposite of
relative
eye color
field of work
draft pick from school
cause of death
is a list of
religion
Program:
function: Find
inputs: James Buchanan
function: FilterDate
dependencies: 0
inputs: date of birth
1791-04-23
=
function: Find
inputs: respiratory failure
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "James Buchanan" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1791-04-23"^^xsd:date . ?e_2 <pred:name> "respiratory failure" . ?e_1 ?p ?e_2 .  }
Answer: cause of death