Question: What film has Preston Sturges as a cast member and has a duration greater than 40 minutes?
Choices:
Talk to Her
Rebecca
Pleasantville
24: Redemption
A Prairie Home Companion
Primary Colors
Sullivan's Travels
American Gangster
Antwone Fisher
Cabaret
Program:
function: Find
inputs: Preston Sturges
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: film
function: FindAll
function: FilterNum
dependencies: 3
inputs: duration
40 minute
>
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 <cast_member> ?e_1 . ?e_1 <pred:name> "Preston Sturges" .  ?e <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> ?v . FILTER ( ?v > "40"^^xsd:double ) .  }
Answer: Sullivan's Travels