Question: What number in the series is It's a Wonderful Life (the one whose production code is 327) with Wayne Knight as a cast member?
Choices: 11
114
35
18
45
68
119
70
73
7
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "It's a Wonderful Life" . ?e_1 <production_code> ?pv . ?pv <pred:value> "327" . ?e_2 <pred:name> "Wayne Knight" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <series_ordinal> ?qpv .  }
Program:
function: Find
inputs: It's a Wonderful Life
function: FilterStr
dependencies: 0
inputs: production code
327
function: Find
inputs: Wayne Knight
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
series ordinal
Answer: 11