Question: Which movie is shorter, Bolero (the one whose official website is http://www.mgm.com/view/movie/230/Bolero/) or Wonder Woman (the one whose production company is DC Comics)?
Choices: Superman
Magic Knight Rayearth
A Christmas Carol
My-HiME
Ponyo on the Cliff by the Sea
Naruto Shippuden the Movie: Bonds
Code Geass
The Polar Express
Bolero
Wonder Woman
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bolero" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.mgm.com/view/movie/230/Bolero/" . } UNION { ?e <pred:name> "Wonder Woman" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "DC Comics" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Bolero
function: FilterStr
dependencies: 0
inputs: official website
http://www.mgm.com/view/movie/230/Bolero/
function: Find
inputs: DC Comics
function: Relate
dependencies: 2
inputs: production company
backward
function: Find
inputs: Wonder Woman
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
Answer: Wonder Woman