Question: Is Troy (cost $175000000USD) or the neo-noir The Dark Night shorter in duration?
Choices:
Curse of the Golden Flower
A Prairie Home Companion
The Dark Knight
Talk to Her
The Hunchback of Notre Dame
The Towering Inferno
Training Day
Pleasantville
Troy
Rebecca
Program:
function: Find
inputs: Troy
function: FilterNum
dependencies: 0
inputs: cost
175000000 United States dollar
=
function: Find
inputs: neo-noir
function: Relate
dependencies: 2
inputs: genre
backward
function: Find
inputs: The Dark Knight
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Troy" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "175000000"^^xsd:double . } UNION { ?e <pred:name> "The Dark Knight" . ?e <genre> ?e_1 . ?e_1 <pred:name> "neo-noir" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Dark Knight