Question: Does the longer run-time belong to Anastasia, with Yul Brynner as a cast member, or Robin Hood, at 133 minutes?
Choices:
The Three Musketeers
All Quiet on the Western Front
The Goodbye Girl
A Christmas Carol
Anastasia
The Challenge
The Late Shift
Robin Hood
The Music Man
Shackleton
Program:
function: Find
inputs: Yul Brynner
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Anastasia
function: And
dependencies: 1
2
function: Find
inputs: Robin Hood
function: FilterNum
dependencies: 4
inputs: duration
133 minute
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Anastasia" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Yul Brynner" . } UNION { ?e <pred:name> "Robin Hood" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "133"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Robin Hood