Question: What is the connection between Tom Johnson (the one whose date of death is 1926-09-22) to Chicago (the one that is the filming location of Bridesmaids)?
Choices:
afflicts
geographic distribution
language used
place of death
home world
hair color
follows
said to be the same as
main subject
takes place in fictional universe
Program:
function: Find
inputs: Tom Johnson
function: FilterDate
dependencies: 0
inputs: date of death
1926-09-22
=
function: Find
inputs: Bridesmaids
function: Relate
dependencies: 2
inputs: filming location
forward
function: Find
inputs: Chicago
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tom Johnson" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1926-09-22"^^xsd:date . ?e_2 <pred:name> "Chicago" . ?e_3 <filming_location> ?e_2 . ?e_3 <pred:name> "Bridesmaids" . ?e_1 ?p ?e_2 .  }
Answer: place of death