Question: How is John Williams who died in Minneapolis related to American football?
Choices:
location of final assembly
sport
significant event
contains administrative territorial entity
set in period
organizer
movement
time period
director of photography
official residence
Program:
function: Find
inputs: Minneapolis
function: Relate
dependencies: 0
inputs: place of death
backward
function: Find
inputs: John Williams
function: And
dependencies: 1
2
function: Find
inputs: American football
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Williams" . ?e_1 <place_of_death> ?e_3 . ?e_3 <pred:name> "Minneapolis" . ?e_2 <pred:name> "American football" . ?e_1 ?p ?e_2 .  }
Answer: sport