Question: What relationship does Cold Mountain starring Brendan Gleeson have to the BAFTA Award for Best Sound?
Choices:
relative
language of work or name
notable people with this condition
practiced by
film crew member
nominated for
software engine
diplomatic relation
rector
had as last meal
Answer: nominated for
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cold Mountain" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Brendan Gleeson" . ?e_2 <pred:name> "BAFTA Award for Best Sound" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Brendan Gleeson
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Cold Mountain
function: And
dependencies: 1
2
function: Find
inputs: BAFTA Award for Best Sound
function: QueryRelation
dependencies: 3
4