Question: Which movie is longer, Boys Don't Cry (the one that origins from United States of America) or The Three Musketeers (the one whose cost is 12000000 United States dollar)?
Choices: Pleasantville
The Towering Inferno
The Hunchback of Notre Dame
Curse of the Golden Flower
A Prairie Home Companion
Talk to Her
Rebecca
Boys Don't Cry
Training Day
The Fifth Element
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Boys Don't Cry" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United States of America" . } UNION { ?e <pred:name> "The Three Musketeers" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "12000000"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Boys Don't Cry
function: And
dependencies: 1
2
function: Find
inputs: The Three Musketeers
function: FilterNum
dependencies: 4
inputs: cost
12000000 United States dollar
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater
Answer: Boys Don't Cry