Question: What is the connection between Joan of Arc (the one whose genre is biographical film) to Academy Award for Best Costume Design?
Choices:
legislative body
captain
part of the series
mother
soundtrack album
copyright representative
nominated for
public holiday
works in collection
general manager
Answer: nominated for
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Joan of Arc" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "biographical film" . ?e_2 <pred:name> "Academy Award for Best Costume Design" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: biographical film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Joan of Arc
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Costume Design
function: QueryRelation
dependencies: 3
4