Question: What film series that stars Bradley Cooper (who went to school at The New School) has "The Hangover" in its title?
Choices:
Rugrats
Ice Age
The Mummy
Carry On
The Fast and the Furious
The Hangover
Final Destination
Dumb and Dumber
The Smurfs
Star Wars
Program:
function: Find
inputs: The New School
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Bradley Cooper
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: film series
function: FindAll
function: FilterStr
dependencies: 6
inputs: title
The Hangover
function: FilterConcept
dependencies: 7
inputs: film series
function: And
dependencies: 5
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film series" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Bradley Cooper" . ?e_1 <educated_at> ?e_2 . ?e_2 <pred:name> "The New School" .  ?e <title> ?pv . ?pv <pred:value> "The Hangover" .  }
Answer: The Hangover