Question: Does Antarctica whose genre is adventure film) or All the King's Men (whose color is black-and-white) have the longer runtime?
Choices:
The Hunchback of Notre Dame
All the King's Men
Pleasantville
The Fifth Element
Rebecca
Antarctica
Curse of the Golden Flower
The Towering Inferno
A Prairie Home Companion
Talk to Her
Program:
function: Find
inputs: adventure film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Antarctica
function: And
dependencies: 1
2
function: Find
inputs: black-and-white
function: Relate
dependencies: 4
inputs: color
backward
function: Find
inputs: All the King's Men
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Antarctica" . ?e <genre> ?e_1 . ?e_1 <pred:name> "adventure film" .   } UNION { ?e <pred:name> "All the King's Men" . ?e <color> ?e_2 . ?e_2 <pred:name> "black-and-white" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Antarctica