Question: What is the episode number for Savages (featuring cast number David Zayas) from Law & Order (starring Jeremy Sisto)?
Choices: 30
53
64
18
97
49
12
114
9
119
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Savages" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "David Zayas" . ?e_2 <pred:name> "Law & Order" . ?e_2 <cast_member> ?e_4 . ?e_4 <pred:name> "Jeremy Sisto" . ?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: David Zayas
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Savages
function: And
dependencies: 1
2
function: Find
inputs: Jeremy Sisto
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Law & Order
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: part of the series
series ordinal
Answer: 114