Question: How many episodes does Benjamin Franklin (the one that has Melvyn Douglas as a cast member) have?
Choices:
59
4
93
178
221
555
41
153
161
7876
Program:
function: Find
inputs: Melvyn Douglas
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Benjamin Franklin
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: number of episodes
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Benjamin Franklin" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Melvyn Douglas" .  ?e <number_of_episodes> ?pv .  }
Answer: 4