Question: What is the connection between Albert Einstein (the one whose original language is French) to German Democratic Republic?
Choices:
successful candidate
academic degree
risk factor
copyright holder
organizer
official language
cause of death
residence
sport
country of origin
Answer: country of origin
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Albert Einstein" . ?e_1 <original_language_of_film_or_TV_show> ?e_3 . ?e_3 <pred:name> "French" . ?e_2 <pred:name> "German Democratic Republic" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: French
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: Albert Einstein
function: And
dependencies: 1
2
function: Find
inputs: German Democratic Republic
function: QueryRelation
dependencies: 3
4