Question: Which has less duration, Porto (which has origins in France) or From Here to Eternity (whose duration is 118 minutes)?
Choices:
The Towering Inferno
Training Day
The Fifth Element
Porto
Talk to Her
Rebecca
Pleasantville
The Hunchback of Notre Dame
Curse of the Golden Flower
From Here to Eternity
Answer: Porto
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Porto" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "France" . } UNION { ?e <pred:name> "From Here to Eternity" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "118"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: France
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Porto
function: And
dependencies: 1
2
function: Find
inputs: From Here to Eternity
function: FilterNum
dependencies: 4
inputs: duration
118 minute
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less