Question: What is the title of The Diary of Anne Frank that was distributed by NBC?
Choices:
I'm Not There
義和團運動
The Godfather Part III
Blondie
Deep Impact
Flight
Шерлок Холмс
Born on the Fourth of July
The Diary of Anne Frank
Twin Peaks
Program:
function: Find
inputs: NBC
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: The Diary of Anne Frank
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "The Diary of Anne Frank" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "NBC" .  ?e <title> ?pv .  }
Answer: The Diary of Anne Frank