Question: Which film has the longer runtime, American Gangster (nominated for the Broadcast Film Critics Association Award for Best Film) or Crossroads (with Justin Long as a cast member)?
Choices:
The Towering Inferno
Talk to Her
American Gangster
Pleasantville
Crossroads
Rebecca
The Hunchback of Notre Dame
A Prairie Home Companion
Training Day
The Fifth Element
Answer: American Gangster
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "American Gangster" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Broadcast Film Critics Association Award for Best Film" .   } UNION { ?e <pred:name> "Crossroads" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Justin Long" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Broadcast Film Critics Association Award for Best Film
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: American Gangster
function: And
dependencies: 1
2
function: Find
inputs: Justin Long
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Crossroads
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater