Question: How is Gary Cooper, who is associated with baseball, related to Lynwood?
Choices:
presenter
place of birth
sidekick of
foundational text
copyright holder
notable people with this condition
creator
member of political party
symptoms
source of income
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Gary Cooper" . ?e_1 <sport> ?e_3 . ?e_3 <pred:name> "baseball" . ?e_2 <pred:name> "Lynwood" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: baseball
function: Relate
dependencies: 0
inputs: sport
backward
function: Find
inputs: Gary Cooper
function: And
dependencies: 1
2
function: Find
inputs: Lynwood
function: QueryRelation
dependencies: 3
4