Question: What is the beginning of the work period for Primetime Emmy winner John Ritter, who won for Outstanding Comedy Series Lead Actor?
Choices:
1971
1942
1917
1967
1908
1961
1989
1958
1928
1981
Answer: 1971
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "John Ritter" . ?e_1 <winner> ?e . ?e_1 <pred:name> "Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series" .  ?e <work_period_(start)> ?pv .  }
Program:
function: Find
inputs: Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series
function: Relate
dependencies: 0
inputs: winner
forward
function: Find
inputs: John Ritter
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: work period (start)