Question: Which is longer, November that origins from the United States or A Christmas Carol starring Kelsey Grammer?
Choices:
The Challenge
A Streetcar Named Desire
The Music Man
The Goodbye Girl
The Three Musketeers
November
Shackleton
The Late Shift
Luther
A Christmas Carol
Answer: A Christmas Carol
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "November" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United States of America" .   } UNION { ?e <pred:name> "A Christmas Carol" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Kelsey Grammer" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: November
function: And
dependencies: 1
2
function: Find
inputs: Kelsey Grammer
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: A Christmas Carol
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater