Question: What is the connection between Coming Home (the one that was nominated for Academy Award for Best Supporting Actor) to Paul McCartney?
Choices:
properties for this type
designated as terrorist by
commander of
creator
composer
depicted by
has immediate cause
legal form
affiliation
office contested
Answer: composer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Coming Home" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Supporting Actor" . ?e_2 <pred:name> "Paul McCartney" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Academy Award for Best Supporting Actor
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Coming Home
function: And
dependencies: 1
2
function: Find
inputs: Paul McCartney
function: QueryRelation
dependencies: 3
4