Question: What is the connection between John Williams (the one whose date of death is 1932-11-25) to soldier?
Choices:
head of government
kit supplier
occupation
office contested
legal form
production company
separated from
after a work by
captain
position held
Program:
function: Find
inputs: John Williams
function: FilterDate
dependencies: 0
inputs: date of death
1932-11-25
=
function: Find
inputs: soldier
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Williams" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1932-11-25"^^xsd:date . ?e_2 <pred:name> "soldier" . ?e_1 ?p ?e_2 .  }
Answer: occupation