Question: What is the connection between Braveheart (the one that has Brendan Gleeson as a cast member) to 20th Century Fox?
Choices: series spin-off
has part
publisher
studied by
replaces
mouth of the watercourse
this taxon is source of
uses
production company
had as last meal
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Braveheart" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Brendan Gleeson" . ?e_2 <pred:name> "20th Century Fox" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Brendan Gleeson
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Braveheart
function: And
dependencies: 1
2
function: Find
inputs: 20th Century Fox
function: QueryRelation
dependencies: 3
4
Answer: production company