Question: What is the connection between Robert Klein (the one that has the occupation of screenwriter) to American Jews?
Choices:
hair color
production designer
musical conductor
ethnic group
professional or sports partner
distribution
home venue
symptom of
place of birth
position played on team / speciality
Program:
function: Find
inputs: screenwriter
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Robert Klein
function: And
dependencies: 1
2
function: Find
inputs: American Jews
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Robert Klein" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "screenwriter" . ?e_2 <pred:name> "American Jews" . ?e_1 ?p ?e_2 .  }
Answer: ethnic group