Question: Which is longer, Pearl Jam that uses English or The Fall whose genre is jazz?
Choices:
Toni Braxton
Pearl Jam
Bon Jovi
Hollywood
The Fall
The B-52's
Kraftwerk
Flight of the Conchords
Luis Miguel
Roots
Answer: Pearl Jam
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pearl Jam" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" .   } UNION { ?e <pred:name> "The Fall" . ?e <genre> ?e_2 . ?e_2 <pred:name> "jazz" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Pearl Jam
function: And
dependencies: 1
2
function: Find
inputs: jazz
function: Relate
dependencies: 4
inputs: genre
backward
function: Find
inputs: The Fall
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater