Question: Which movie is longer, 8 Mile or Carson City (the one whose title is Carson City)?
Choices: Training Day
A Prairie Home Companion
Curse of the Golden Flower
Carson City
Pleasantville
The Fifth Element
The Hunchback of Notre Dame
8 Mile
The Towering Inferno
Talk to Her
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "8 Mile" . } UNION { ?e <pred:name> "Carson City" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Carson City" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: 8 Mile
function: Find
inputs: Carson City
function: FilterStr
dependencies: 1
inputs: title
Carson City
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
Answer: Carson City