Question: Is the shorter work Love Story, at 88 minutes, or Pinocchio, in English?
Choices:
Rebecca
Love Story
The Hunchback of Notre Dame
Training Day
Pinocchio
Pleasantville
The Towering Inferno
Curse of the Golden Flower
A Prairie Home Companion
Talk to Her
Program:
function: Find
inputs: Love Story
function: FilterNum
dependencies: 0
inputs: duration
88 minute
=
function: Find
inputs: English
function: Relate
dependencies: 2
inputs: language of work or name
backward
function: Find
inputs: Pinocchio
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Love Story" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "88"^^xsd:double . } UNION { ?e <pred:name> "Pinocchio" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Love Story