Question: Does the Superman set in Los Angeles or the Paris that clocks in at 67 minutes have the longer run-time?
Choices:
Pleasantville
Curse of the Golden Flower
Talk to Her
Paris
Superman
The Fifth Element
The Hunchback of Notre Dame
Training Day
A Prairie Home Companion
The Towering Inferno
Answer: Superman
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Superman" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Los Angeles" . } UNION { ?e <pred:name> "Paris" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "67"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Los Angeles
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Superman
function: And
dependencies: 1
2
function: Find
inputs: Paris
function: FilterNum
dependencies: 4
inputs: duration
67 minute
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater