Question: Is the run-time longer on Edward Scissorhands, or on the Porto originating in France?
Choices:
The Towering Inferno
Pleasantville
Edward Scissorhands
A Prairie Home Companion
Training Day
Rebecca
The Hunchback of Notre Dame
Talk to Her
The Fifth Element
Curse of the Golden Flower
Program:
function: Find
inputs: Edward Scissorhands
function: Find
inputs: France
function: Relate
dependencies: 1
inputs: country of origin
backward
function: Find
inputs: Porto
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Edward Scissorhands" .  } UNION { ?e <pred:name> "Porto" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "France" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Edward Scissorhands