Question: What is the title of Fantastic Four: Rise of the Silver Surfer (the one that has Laurence Fishburne as a cast member)?
Choices:
Ватерлоо
The Beaver
Staten Island
Zack and Miri Make a Porno
The Elephant Man
Detroit
Hannah Arendt
Olympia
Grey Gardens
Fantastic Four: Rise of the Silver Surfer
Program:
function: Find
inputs: Laurence Fishburne
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Fantastic Four: Rise of the Silver Surfer
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Fantastic Four: Rise of the Silver Surfer" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Laurence Fishburne" .  ?e <title> ?pv .  }
Answer: Fantastic Four: Rise of the Silver Surfer