Question: Which is shorter, one season of The Count of Monte Cristo or Death on the Nile with Bette Davis?
Choices:
Rebecca
Talk to Her
The Hunchback of Notre Dame
A Prairie Home Companion
Death on the Nile
Curse of the Golden Flower
Training Day
The Towering Inferno
Pleasantville
The Fifth Element
Program:
function: Find
inputs: The Count of Monte Cristo
function: FilterNum
dependencies: 0
inputs: number of seasons
1
=
function: Find
inputs: Bette Davis
function: Relate
dependencies: 2
inputs: cast member
backward
function: Find
inputs: Death on the Nile
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Count of Monte Cristo" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "1"^^xsd:double . } UNION { ?e <pred:name> "Death on the Nile" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Bette Davis" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Death on the Nile