Question: Jeffrey Jones was cast in which series number of the costume drama Amadeus?
Choices: 4
16
556
114
171
7
33
51
90
15
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Amadeus" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "costume drama" . ?e_2 <pred:name> "Jeffrey Jones" . ?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: costume drama
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Amadeus
function: And
dependencies: 1
2
function: Find
inputs: Jeffrey Jones
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
series ordinal
Answer: 7