Question: Which human is the screenwriter of Election (whose production company is Paramount Pictures) and is the director of The Descendants?
Choices:
James E. Reilly
Simon Cowell
William Henry Harrison
Sylvester Stallone
Rahul Dev Burman
Paul Simon
Jim Taylor
Alexander Payne
Max Fleischer
Richard Gere
Program:
function: Find
inputs: Paramount Pictures
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Election
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: screenwriter
forward
function: FilterConcept
dependencies: 4
inputs: human
function: Find
inputs: The Descendants
function: Relate
dependencies: 6
inputs: director
forward
function: FilterConcept
dependencies: 7
inputs: human
function: And
dependencies: 5
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <screenwriter> ?e . ?e_1 <pred:name> "Election" . ?e_1 <production_company> ?e_2 . ?e_2 <pred:name> "Paramount Pictures" .  ?e_3 <director> ?e . ?e_3 <pred:name> "The Descendants" .  }
Answer: Alexander Payne