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