Question: What is the episode count of Somerset, featuring Ted Danson as a cast member?
Choices: 197
49
55
13858
25
265
514
1710
161
4
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Somerset" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Ted Danson" .  ?e <number_of_episodes> ?pv .  }
Program:
function: Find
inputs: Ted Danson
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Somerset
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: number of episodes
Answer: 1710