Question: Was it cheaper to make Little Nicky, with Jess Harnell as a voice actor, or Casablanca, released on 1942-11-26?
Choices:
A Prairie Home Companion
Little Nicky
The Towering Inferno
Training Day
The Fifth Element
Talk to Her
The Hunchback of Notre Dame
Pleasantville
Casablanca
Rebecca
Program:
function: Find
inputs: Jess Harnell
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: Little Nicky
function: And
dependencies: 1
2
function: Find
inputs: Casablanca
function: FilterDate
dependencies: 4
inputs: publication date
1942-11-26
=
function: SelectBetween
dependencies: 3
5
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Little Nicky" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Jess Harnell" . } UNION { ?e <pred:name> "Casablanca" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1942-11-26"^^xsd:date . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Casablanca