Question: What movie is a predecessor of American Wedding, the part of American Pie (with the duration 786 minutes) ?
Choices: The Carpenters
2006 NCAA Men's Division I Basketball Tournament
Star Wars Episode V: The Empire Strikes Back
Taken
2005 NCAA Men's Division I Basketball Tournament
Marvin Hamlisch
Bobby Darin
Adam Sandler
2008 NCAA Men's Division I Basketball Tournament
American Pie 2
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "American Wedding" . ?e_2 <pred:name> "American Pie" . ?e_2 <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> "786"^^xsd:double . ?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 ] <follows> ?qpv .  }
Program:
function: Find
inputs: American Wedding
function: Find
inputs: American Pie
function: FilterNum
dependencies: 1
inputs: duration
786 minute
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: part of the series
follows
Answer: American Pie 2