Question: What is the series ordinal of It's a Wonderful Life (the one whose production code is 327) which is a part of That '70s Show?
Choices:
556
77
11
73
22
16
43
24
31
10
Answer: 77
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> "That '70s Show" . ?e_1 <part_of_the_series> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <part_of_the_series> ; <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: That '70s Show
function: QueryRelationQualifier
dependencies: 1
2
inputs: part of the series
series ordinal