Question: Does Diamonds Are Forever (that was nominated for an Academy Award for Best Sound Mixing) or The Pink Panther (whose release date is 2006-01-01) have the shorter runtime?
Choices: The Towering Inferno
Pleasantville
Curse of the Golden Flower
Training Day
The Pink Panther
The Fifth Element
Diamonds Are Forever
A Prairie Home Companion
Rebecca
The Hunchback of Notre Dame
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Diamonds Are Forever" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Sound Mixing" . } UNION { ?e <pred:name> "The Pink Panther" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2006-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Academy Award for Best Sound Mixing
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Diamonds Are Forever
function: And
dependencies: 1
2
function: Find
inputs: The Pink Panther
function: FilterDate
dependencies: 4
inputs: publication date
2006-01-01
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
Answer: The Pink Panther