Question: Which film is a part of American Pie (whose official website is http://www.americanpiemovie.com/) and has the predecessor American Pie 2?
Choices:
Talk to Her
American Wedding
The Fifth Element
The Towering Inferno
A Prairie Home Companion
Training Day
Rebecca
American Reunion
American Pie
Pleasantville
Program:
function: Find
inputs: American Pie
function: FilterStr
dependencies: 0
inputs: official website
http://www.americanpiemovie.com/
function: Relate
dependencies: 1
inputs: part of the series
backward
function: QFilterStr
dependencies: 2
inputs: follows
American Pie 2
function: FilterConcept
dependencies: 3
inputs: film
function: What
dependencies: 4
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_1 <official_website> ?pv . ?pv <pred:value> "http://www.americanpiemovie.com/" .  [ <pred:fact_h> ?e ; <pred:fact_r> <part_of_the_series> ; <pred:fact_t> ?e_1 ] <follows> ?qpv . ?qpv <pred:value> "American Pie 2" .  }
Answer: American Wedding