Question: Was the cost greater for The Devil Wears Prada, which has Meryl Streep as a cast member, or Jack and Jill?
Choices:
Pleasantville
The Fifth Element
Talk to Her
Jack and Jill
Training Day
Rebecca
The Hunchback of Notre Dame
Curse of the Golden Flower
The Devil Wears Prada
A Prairie Home Companion
Answer: Jack and Jill
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Devil Wears Prada" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Meryl Streep" .   } UNION { ?e <pred:name> "Jack and Jill" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Meryl Streep
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Devil Wears Prada
function: And
dependencies: 1
2
function: Find
inputs: Jack and Jill
function: SelectBetween
dependencies: 3
4
inputs: cost
greater