Question: Which was longer, The Cassandra Crossing or The Apartment (the one that origins from United States of America)?
Choices:
The Cassandra Crossing
Rebecca
The Fifth Element
The Hunchback of Notre Dame
Curse of the Golden Flower
A Prairie Home Companion
Training Day
The Apartment
The Towering Inferno
Talk to Her
Answer: The Cassandra Crossing
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Cassandra Crossing" .  } UNION { ?e <pred:name> "The Apartment" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United States of America" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Cassandra Crossing
function: Find
inputs: United States of America
function: Relate
dependencies: 1
inputs: country of origin
backward
function: Find
inputs: The Apartment
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater