Question: Tell me the film that has a duration of under 290 minutes and that has the title The Life and Death of Peter Sellers.
Choices:
The Three Musketeers
The Life and Death of Peter Sellers
Shackleton
A Christmas Carol
The Music Man
Breaking Away
New York
The Last King of Scotland
House of Flying Daggers
Christopher Columbus
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: duration
290 minute
<
function: FilterConcept
dependencies: 1
inputs: film
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
The Life and Death of Peter Sellers
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 <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> ?v . FILTER ( ?v < "290"^^xsd:double ) . ?e <title> ?pv_1 . ?pv_1 <pred:value> "The Life and Death of Peter Sellers" .  }
Answer: The Life and Death of Peter Sellers