Question: What is the connection between Lincoln (that was nominated for a BAFTA Award for Best Actor in a Leading Role) and biographical film?
Choices: member of political party
genre
film editor
honorific prefix
located in the administrative territorial entity
costume designer
occupation
twinned administrative body
followed by
work location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Lincoln" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "BAFTA Award for Best Actor in a Leading Role" . ?e_2 <pred:name> "biographical film" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: BAFTA Award for Best Actor in a Leading Role
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Lincoln
function: And
dependencies: 1
2
function: Find
inputs: biographical film
function: QueryRelation
dependencies: 3
4
Answer: genre