Question: What is the film starring Jaime Pressly and whose genre is buddy film?
Choices: Step Brothers
Crossroads
A Prairie Home Companion
Live Free or Die Hard
I Love You, Man
Date Night
Dumb and Dumber
Rebecca
Talk to Her
Pleasantville
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Jaime Pressly" .  ?e <genre> ?e_2 . ?e_2 <pred:name> "buddy film" .  }
Program:
function: Find
inputs: Jaime Pressly
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: buddy film
function: Relate
dependencies: 3
inputs: genre
backward
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: I Love You, Man