Question: Which one has less term, Happy Days (the one that is the movement Pre-Code Hollywood) or Mutiny on the Bounty (the one whose genre is adventure film)
Choices:
A Prairie Home Companion
The Fifth Element
Curse of the Golden Flower
The Towering Inferno
Mutiny on the Bounty
Pleasantville
Rebecca
Training Day
Happy Days
The Hunchback of Notre Dame
Answer: Happy Days
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Happy Days" . ?e <movement> ?e_1 . ?e_1 <pred:name> "Pre-Code Hollywood" .   } UNION { ?e <pred:name> "Mutiny on the Bounty" . ?e <genre> ?e_2 . ?e_2 <pred:name> "adventure film" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Pre-Code Hollywood
function: Relate
dependencies: 0
inputs: movement
backward
function: Find
inputs: Happy Days
function: And
dependencies: 1
2
function: Find
inputs: adventure film
function: Relate
dependencies: 4
inputs: genre
backward
function: Find
inputs: Mutiny on the Bounty
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less