Question: Which is shorter: The Patriot at 113 minutes or Silent Hill, focused on the supernatural?
Choices:
Talk to Her
Rebecca
The Patriot
The Hunchback of Notre Dame
A Prairie Home Companion
The Towering Inferno
The Fifth Element
Silent Hill
Pleasantville
Training Day
Answer: The Patriot
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Patriot" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "113"^^xsd:double . } UNION { ?e <pred:name> "Silent Hill" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "supernatural" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Patriot
function: FilterNum
dependencies: 0
inputs: duration
113 minute
=
function: Find
inputs: supernatural
function: Relate
dependencies: 2
inputs: main subject
backward
function: Find
inputs: Silent Hill
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less