Question: What is the connection between Robert Klein (the one that is the citizen of France) to University of Paris?
Choices:
penalty
given name
headquarters location
father
director/manager
located on astronomical location
donated by
patron saint
educated at
member of sports team
Answer: educated at
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Robert Klein" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> "France" . ?e_2 <pred:name> "University of Paris" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: France
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Robert Klein
function: And
dependencies: 1
2
function: Find
inputs: University of Paris
function: QueryRelation
dependencies: 3
4