Question: Which is longer, the 86 minute Taxi or the silent film It?
Choices: The Hunchback of Notre Dame
Rebecca
Pleasantville
Taxi
Curse of the Golden Flower
Talk to Her
The Fifth Element
The Towering Inferno
Training Day
It
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Taxi" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "86"^^xsd:double . } UNION { ?e <pred:name> "It" . ?e <genre> ?e_1 . ?e_1 <pred:name> "silent film" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Taxi
function: FilterNum
dependencies: 0
inputs: duration
86 minute
=
function: Find
inputs: silent film
function: Relate
dependencies: 2
inputs: genre
backward
function: Find
inputs: It
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater
Answer: Taxi