Question: How is the biographical film Legend related to Tom Hardy, the Los Angeles Film Critics Association winner for Best Actor?
Choices:
operating area
composer
main food source
natural product of taxon
shares border with
cast member
grants
board member
professional or sports partner
member of
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Legend" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "biographical film" . ?e_2 <pred:name> "Tom Hardy" . ?e_4 <winner> ?e_2 . ?e_4 <pred:name> "Los Angeles Film Critics Association Award for Best Actor" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: biographical film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Legend
function: And
dependencies: 1
2
function: Find
inputs: Los Angeles Film Critics Association Award for Best Actor
function: Relate
dependencies: 4
inputs: winner
forward
function: Find
inputs: Tom Hardy
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7