Question: Which is 3rd in the series of American Pie movies that includes American Wedding?
Choices: Training Day
Talk to Her
Rebecca
A Prairie Home Companion
American Pie
Pleasantville
American Pie 2
The Fifth Element
American Wedding
American Reunion
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <part_of_the_series> ?e_1 . ?e_1 <pred:name> "American Pie" . ?e_2 <part_of_the_series> ?e_1 . ?e_2 <pred:name> "American Wedding" .  [ <pred:fact_h> ?e ; <pred:fact_r> <part_of_the_series> ; <pred:fact_t> ?e_1 ] <series_ordinal> ?qpv . ?qpv <pred:value> "3" .  }
Program:
function: Find
inputs: American Wedding
function: Relate
dependencies: 0
inputs: part of the series
forward
function: Find
inputs: American Pie
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: part of the series
backward
function: QFilterStr
dependencies: 4
inputs: series ordinal
3
function: FilterConcept
dependencies: 5
inputs: film
function: What
dependencies: 6
Answer: American Wedding