Question: Is the run-time shorter for San Antonio, at 105 minutes, or American Pie, MTV Movie Award nominee for Best Movie?
Choices:
A Prairie Home Companion
Talk to Her
The Towering Inferno
Curse of the Golden Flower
Training Day
The Fifth Element
American Pie
Pleasantville
The Hunchback of Notre Dame
Rebecca
Answer: American Pie
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "San Antonio" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "105"^^xsd:double . } UNION { ?e <pred:name> "American Pie" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "MTV Movie Award for Best Movie" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: San Antonio
function: FilterNum
dependencies: 0
inputs: duration
105 minute
=
function: Find
inputs: MTV Movie Award for Best Movie
function: Relate
dependencies: 2
inputs: nominated for
backward
function: Find
inputs: American Pie
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less