Question: Which one, Oasis (the one whose title is Oasis) or The Three Musketeers (the one whose production company is 20th Century Fox), has less duration?
Choices:
Oasis
The Fifth Element
The Three Musketeers
Pleasantville
The Hunchback of Notre Dame
Rebecca
Training Day
Curse of the Golden Flower
The Towering Inferno
Talk to Her
Answer: The Three Musketeers
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Oasis" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Oasis" . } UNION { ?e <pred:name> "The Three Musketeers" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "20th Century Fox" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Oasis
function: FilterStr
dependencies: 0
inputs: title
Oasis
function: Find
inputs: 20th Century Fox
function: Relate
dependencies: 2
inputs: production company
backward
function: Find
inputs: The Three Musketeers
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less