Question: What is the association of Hal B. Wallis with Chicago (that is the birthplace of Hal B. Wallis)?
Choices:
notable people with this condition
place served by transport hub
librettist
studies
doctoral student
update method
main food source
inspired by
member of political party
place of birth
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hal B. Wallis" . ?e_2 <pred:name> "Chicago" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Hal B. Wallis" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Hal B. Wallis
function: Find
inputs: Hal B. Wallis
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Chicago
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4