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
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
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 .  }
Answer: place of birth