Question: Which film has the longer runtime, Serpico (in the action film genre) or Gulliver's Travels (directed by Dave Fleischer)?
Choices:
A Prairie Home Companion
Curse of the Golden Flower
Serpico
Rebecca
Pleasantville
The Hunchback of Notre Dame
Training Day
The Towering Inferno
Talk to Her
Gulliver's Travels
Answer: Serpico
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Serpico" . ?e <genre> ?e_1 . ?e_1 <pred:name> "action film" .   } UNION { ?e <pred:name> "Gulliver's Travels" . ?e <director> ?e_2 . ?e_2 <pred:name> "Dave Fleischer" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: action film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Serpico
function: And
dependencies: 1
2
function: Find
inputs: Dave Fleischer
function: Relate
dependencies: 4
inputs: director
backward
function: Find
inputs: Gulliver's Travels
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater