Question: Does A Star Is Born (that received an Academy Award for Best Story) or Cats & Dogs have the longer running time?
Choices:
Talk to Her
Training Day
The Towering Inferno
Curse of the Golden Flower
A Prairie Home Companion
The Fifth Element
The Hunchback of Notre Dame
A Star Is Born
Cats & Dogs
Rebecca
Program:
function: Find
inputs: Academy Award for Best Story
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: A Star Is Born
function: And
dependencies: 1
2
function: Find
inputs: Cats & Dogs
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "A Star Is Born" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Story" .   } UNION { ?e <pred:name> "Cats & Dogs" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: A Star Is Born