Question: Professor Albert Einstein is the primary subject of which movie?
Choices: The Music Man
Albert Einstein
A Christmas Carol
A Streetcar Named Desire
Election 2
The Goodbye Girl
The Notebook
A Dangerous Method
The Three Musketeers
Shackleton
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "Albert Einstein" . ?e_1 <professorship> ?e_2 . ?e_2 <pred:name> "professor" .   }
Program:
function: Find
inputs: professor
function: Relate
dependencies: 0
inputs: professorship
backward
function: Find
inputs: Albert Einstein
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: main subject
backward
function: FilterConcept
dependencies: 4
inputs: film
function: What
dependencies: 5
Answer: Albert Einstein