Question: What film was produced and directed by Bobby Farrelly?
Choices:
Rebecca
Curse of the Golden Flower
The Hunchback of Notre Dame
A Prairie Home Companion
Training Day
Dumb and Dumber
There's Something About Mary
Pleasantville
The Fifth Element
The Towering Inferno
Program:
function: Find
inputs: Bobby Farrelly
function: Relate
dependencies: 0
inputs: producer
backward
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: Bobby Farrelly
function: Relate
dependencies: 3
inputs: director
backward
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Bobby Farrelly" .  ?e <director> ?e_2 . ?e_2 <pred:name> "Bobby Farrelly" .  }
Answer: Dumb and Dumber