Question: What is the relationship between Cold Mountain (the one that was nominated for Academy Award for Best Actor) and Ann Roth?
Choices:
head of government
foundational text
commissioned by
filming location
drafted by
properties for this type
screenwriter
occupant
costume designer
home world
Answer: costume designer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cold Mountain" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Actor" . ?e_2 <pred:name> "Ann Roth" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Academy Award for Best Actor
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Cold Mountain
function: And
dependencies: 1
2
function: Find
inputs: Ann Roth
function: QueryRelation
dependencies: 3
4