Question: Which movie titled On the Waterfront is longer than 70 minutes?
Choices:
Cleopatra
Talk to Her
Merry Christmas, Mr. Lawrence
A Very Long Engagement
On the Waterfront
Percy Jackson & the Olympians: The Lightning Thief
High School Musical
The Incredible Hulk
A Prairie Home Companion
Rebecca
Answer: On the Waterfront
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <title> ?pv . ?pv <pred:value> "On the Waterfront" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> ?v . FILTER ( ?v > "70"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
On the Waterfront
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: FindAll
function: FilterNum
dependencies: 3
inputs: duration
70 minute
>
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: And
dependencies: 2
5
function: What
dependencies: 6