Question: How many episodes does the show Dallas with Jim Beaver have?
Choices:
7
122
271
656
221
15762
31
357
11136
7876
Program:
function: Find
inputs: Jim Beaver
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Dallas
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: number of episodes
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Dallas" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Jim Beaver" .  ?e <number_of_episodes> ?pv .  }
Answer: 357