Question: Which movie is shorter, Some Like It Hot (the one whose release region is United States of America) or Sedona (the one whose official website is http://sedonamovie.com/)?
Choices:
Curse of the Golden Flower
Some Like It Hot
The Fifth Element
Talk to Her
The Towering Inferno
The Hunchback of Notre Dame
Training Day
Pleasantville
Rebecca
Sedona
Answer: Sedona
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Some Like It Hot" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "United States of America" . } UNION { ?e <pred:name> "Sedona" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://sedonamovie.com/" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Some Like It Hot
function: And
dependencies: 1
2
function: Find
inputs: Sedona
function: FilterStr
dependencies: 4
inputs: official website
http://sedonamovie.com/
function: SelectBetween
dependencies: 3
5
inputs: duration
less