Question: What is the title of Tinker Tailor Soldier Spy (that has Alec Guinness as a cast member)?
Choices:
The Wire
A Man for All Seasons
The Producers
The Ring
Cirque du Freak: The Vampire's Assistant
Tinker Tailor Soldier Spy
Mad Men
The Late Shift
Forrest Gump
Le Fantôme de l'Opéra
Program:
function: Find
inputs: Alec Guinness
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Tinker Tailor Soldier Spy
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Tinker Tailor Soldier Spy" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Alec Guinness" .  ?e <title> ?pv .  }
Answer: Tinker Tailor Soldier Spy