Question: Which is longer, Philadelphia starring Anna Deavere Smith or The Sound of Music originally in English?
Choices:
Pleasantville
The Sound of Music
Talk to Her
Curse of the Golden Flower
The Fifth Element
Rebecca
Training Day
Philadelphia
The Hunchback of Notre Dame
A Prairie Home Companion
Answer: The Sound of Music
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Philadelphia" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Anna Deavere Smith" .   } UNION { ?e <pred:name> "The Sound of Music" . ?e <original_language_of_film_or_TV_show> ?e_2 . ?e_2 <pred:name> "English" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Anna Deavere Smith
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Philadelphia
function: And
dependencies: 1
2
function: Find
inputs: English
function: Relate
dependencies: 4
inputs: original language of film or TV show
backward
function: Find
inputs: The Sound of Music
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater