Question: Soap opera Peyton Place had a run of how many seasons?
Choices:
32
29
31
4
48
12
21
1
5
53
Program:
function: Find
inputs: soap opera
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Peyton Place
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: number of seasons
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Peyton Place" . ?e <genre> ?e_1 . ?e_1 <pred:name> "soap opera" .  ?e <number_of_seasons> ?pv .  }
Answer: 5