Question: Which one has less duration between Contact (the one whose cost was US$ 90000000) or The Whistleblower?
Choices:
Curse of the Golden Flower
The Fifth Element
Contact
Training Day
Rebecca
The Hunchback of Notre Dame
Pleasantville
A Prairie Home Companion
The Whistleblower
Talk to Her
Program:
function: Find
inputs: Contact
function: FilterNum
dependencies: 0
inputs: cost
90000000 United States dollar
=
function: Find
inputs: The Whistleblower
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Contact" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "90000000"^^xsd:double . } UNION { ?e <pred:name> "The Whistleblower" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Whistleblower