Question: The James Brown who died on 1939-03-21 has what connection to London, where John Schlesinger is born?
Choices:
work location
art director
feast day
production company
taxon rank
child
award disciplines or subjects
official religion
ancestral home
member of sports team
Answer: work location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "James Brown" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1939-03-21"^^xsd:date . ?e_2 <pred:name> "London" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "John Schlesinger" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: James Brown
function: FilterDate
dependencies: 0
inputs: date of death
1939-03-21
=
function: Find
inputs: John Schlesinger
function: Relate
dependencies: 2
inputs: place of birth
forward
function: Find
inputs: London
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5