Question: What is the connection between The Patriot (the one whose production company is Paramount Pictures) to Academy Award for Best Picture?
Choices:
officeholder
geographic distribution
nominated for
office held by head of the organisation
inspired by
has edition
work location
airline hub
theme music
movement
Program:
function: Find
inputs: Paramount Pictures
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: The Patriot
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Picture
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Patriot" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> "Paramount Pictures" . ?e_2 <pred:name> "Academy Award for Best Picture" . ?e_1 ?p ?e_2 .  }
Answer: nominated for