Question: What movie is called King of the Hill and its running time is under 420 minutes ?
Choices:
Little Fockers
American Wedding
Alice Doesn't Live Here Anymore
Tabu
A Prairie Home Companion
King of the Hill
Meet the Parents
Pleasantville
Talk to Her
Shutter Island
Answer: King of the Hill
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <title> ?pv . ?pv <pred:value> "King of the Hill" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> ?v . FILTER ( ?v < "420"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
King of the Hill
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: FindAll
function: FilterNum
dependencies: 3
inputs: duration
420 minute
<
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: And
dependencies: 2
5
function: What
dependencies: 6