Question: Did J. Edgar or action film Jurassic Park cost more?
Choices:
J. Edgar
A Prairie Home Companion
Curse of the Golden Flower
The Hunchback of Notre Dame
Jurassic Park
Training Day
The Fifth Element
Pleasantville
Talk to Her
The Towering Inferno
Program:
function: Find
inputs: J. Edgar
function: Find
inputs: action film
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: Jurassic Park
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "J. Edgar" .  } UNION { ?e <pred:name> "Jurassic Park" . ?e <genre> ?e_1 . ?e_1 <pred:name> "action film" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Jurassic Park