Question: Which movie received the Golden Globe Award for Best Director (the winner of this statement is James Cameron)?
Choices:
Aliens
Love Story
Talk to Her
Titanic
The People vs. Larry Flynt
Rebecca
True Lies
The Exorcist
Pleasantville
Unforgiven
Program:
function: Find
inputs: Golden Globe Award for Best Director
function: Relate
dependencies: 0
inputs: award received
backward
function: QFilterStr
dependencies: 1
inputs: winner
James Cameron
function: FilterConcept
dependencies: 2
inputs: film
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Golden Globe Award for Best Director" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <winner> ?qpv . ?qpv <pred:value> "James Cameron" .  }
Answer: Titanic