Question: Which is longer, prison film Holes or Pirates of the Caribbean: On Stranger Tides?
Choices:
G-Force
John Carter
The Flintstones in Viva Rock Vegas
Enchanted
Holes
The Muppets
Old Dogs
The Flintstones
National Treasure: Book of Secrets
Pirates of the Caribbean: On Stranger Tides
Answer: Pirates of the Caribbean: On Stranger Tides
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Holes" . ?e <genre> ?e_1 . ?e_1 <pred:name> "prison film" .   } UNION { ?e <pred:name> "Pirates of the Caribbean: On Stranger Tides" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: prison film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Holes
function: And
dependencies: 1
2
function: Find
inputs: Pirates of the Caribbean: On Stranger Tides
function: SelectBetween
dependencies: 3
4
inputs: duration
greater