Question: What is the relationship between Braveheart (the one whose production company is Paramount Pictures) and Ian Bannen?
Choices:
position played on team / speciality
separated from
presenter
subsidiary
cast member
capital of
famous people
next higher rank
board member
studies
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Braveheart" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> "Paramount Pictures" . ?e_2 <pred:name> "Ian Bannen" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Paramount Pictures
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Braveheart
function: And
dependencies: 1
2
function: Find
inputs: Ian Bannen
function: QueryRelation
dependencies: 3
4