Question: hat is the series ordinal of Atonement (that has Sam Waterston as a cast member) as a part of Law & Order (that was nominated for a Primetime Emmy Award for Outstanding Guest Actress in a Drama Series)?
Choices:
21
7
129
26
12
73
70
64
40
95
Answer: 129
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Atonement" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Sam Waterston" . ?e_2 <pred:name> "Law & Order" . ?e_2 <nominated_for> ?e_4 . ?e_4 <pred:name> "Primetime Emmy Award for Outstanding Guest Actress in a Drama Series" . ?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: Sam Waterston
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Atonement
function: And
dependencies: 1
2
function: Find
inputs: Primetime Emmy Award for Outstanding Guest Actress in a Drama Series
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: Law & Order
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: part of the series
series ordinal