Question: Which movie cost more to make, Tyrannosaur or Henry V (the one whose cost is 475000 pound sterling)?
Choices:
The Fifth Element
Tyrannosaur
Curse of the Golden Flower
Pleasantville
The Hunchback of Notre Dame
Henry V
The Towering Inferno
Training Day
Rebecca
A Prairie Home Companion
Program:
function: Find
inputs: Tyrannosaur
function: Find
inputs: Henry V
function: FilterNum
dependencies: 1
inputs: cost
475000 pound sterling
=
function: SelectBetween
dependencies: 0
2
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tyrannosaur" . } UNION { ?e <pred:name> "Henry V" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> "pound sterling" . ?pv_1 <pred:value> "475000"^^xsd:double . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Tyrannosaur