Question: What is the number of episodes for Going My Way (the one that has Gene Kelly as a cast member)?
Choices:
236
99
192
220
55
164
4000
30
203
826
Program:
function: Find
inputs: Gene Kelly
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Going My Way
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: number of episodes
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Going My Way" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Gene Kelly" .  ?e <number_of_episodes> ?pv .  }
Answer: 30