Question: Does Wilson (whose distributor is Fox Searchlight Pictures) or Clash of the Titans (whose genre is children's film) have the shorter runtime?
Choices:
The Hunchback of Notre Dame
Wilson
Talk to Her
Rebecca
The Fifth Element
Training Day
Clash of the Titans
A Prairie Home Companion
The Towering Inferno
Curse of the Golden Flower
Program:
function: Find
inputs: Fox Searchlight Pictures
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Wilson
function: And
dependencies: 1
2
function: Find
inputs: children's film
function: Relate
dependencies: 4
inputs: genre
backward
function: Find
inputs: Clash of the Titans
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wilson" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Fox Searchlight Pictures" .   } UNION { ?e <pred:name> "Clash of the Titans" . ?e <genre> ?e_2 . ?e_2 <pred:name> "children's film" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Wilson