Question: What is the relationship between Henry James, who died from natural causes, to William James, whose date of death is 1910-08-26?
Choices:
sibling
has quality
designed by
parent astronomical body
political alignment
twinned administrative body
famous people
language of work or name
culture
ethnic group
Answer: sibling
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Henry James" . ?e_1 <manner_of_death> ?e_3 . ?e_3 <pred:name> "natural causes" . ?e_2 <pred:name> "William James" . ?e_2 <date_of_death> ?pv . ?pv <pred:date> "1910-08-26"^^xsd:date . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: natural causes
function: Relate
dependencies: 0
inputs: manner of death
backward
function: Find
inputs: Henry James
function: And
dependencies: 1
2
function: Find
inputs: William James
function: FilterDate
dependencies: 4
inputs: date of death
1910-08-26
=
function: QueryRelation
dependencies: 3
5