Question: Which movie is shorter, Julius Caesar (the one whose duration is 170 minute) or Seabiscuit?
Choices:
Pleasantville
Julius Caesar
Seabiscuit
The Fifth Element
A Prairie Home Companion
Talk to Her
The Towering Inferno
Curse of the Golden Flower
Training Day
Rebecca
Program:
function: Find
inputs: Julius Caesar
function: FilterNum
dependencies: 0
inputs: duration
170 minute
=
function: Find
inputs: Seabiscuit
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Julius Caesar" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "170"^^xsd:double . } UNION { ?e <pred:name> "Seabiscuit" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Seabiscuit