Question: What film directed by Peter Farrelly is 114 minutes long?
Choices:
The Goonies
Superbad
There's Something About Mary
Alfie
Pleasantville
A Prairie Home Companion
Murder on the Orient Express
Dumb and Dumber
The Birdcage
Rachel Getting Married
Answer: There's Something About Mary
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> "114"^^xsd:double . ?e <director> ?e_1 . ?e_1 <pred:name> "Peter Farrelly" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: duration
114 minute
=
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: Peter Farrelly
function: Relate
dependencies: 3
inputs: director
backward
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6