Question: Which one has more running time between From Russia with Love and Iceland (the one whose genre is musical film)?
Choices:
The Hunchback of Notre Dame
Rebecca
A Prairie Home Companion
Training Day
Pleasantville
Curse of the Golden Flower
From Russia with Love
The Fifth Element
The Towering Inferno
Talk to Her
Program:
function: Find
inputs: From Russia with Love
function: Find
inputs: musical film
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: Iceland
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "From Russia with Love" .  } UNION { ?e <pred:name> "Iceland" . ?e <genre> ?e_1 . ?e_1 <pred:name> "musical film" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: From Russia with Love