Question: What does The Lord of the Rings: The Two Towers (whose release region is Germany) have to do with the BAFTA Award for Best Makeup and Hair?
Choices:
product or material produced
studies
worshipped by
record label
nominated for
narrative role
opposite of
based on
drug used for treatment
contributing factor of
Answer: nominated for
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Lord of the Rings: The Two Towers" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Germany" . ?e_2 <pred:name> "BAFTA Award for Best Makeup and Hair" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Germany
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Lord of the Rings: The Two Towers
function: And
dependencies: 1
2
function: Find
inputs: BAFTA Award for Best Makeup and Hair
function: QueryRelation
dependencies: 3
4