Question: Which cost less to make, The Maltese Falcon (the one that received National Film Registry) or Drive (the one that was nominated for BAFTA Award for Best Editing)?
Choices:
The Hunchback of Notre Dame
Curse of the Golden Flower
The Towering Inferno
Drive
A Prairie Home Companion
Training Day
The Fifth Element
The Maltese Falcon
Rebecca
Talk to Her
Answer: The Maltese Falcon
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Maltese Falcon" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "National Film Registry" .   } UNION { ?e <pred:name> "Drive" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "BAFTA Award for Best Editing" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: National Film Registry
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: The Maltese Falcon
function: And
dependencies: 1
2
function: Find
inputs: BAFTA Award for Best Editing
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: Drive
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: cost
less