Question: Is the running time shorter for The Illusionist, originally in French, or Madagascar, produced at a cost of 75,000,000 USD?
Choices:
The Illusionist
Beauty and the Beast
The Rescuers
Madagascar
Shrek 2
Peter Pan
Aladdin
WALL·E
Lilo & Stitch
Winnie the Pooh
Answer: The Illusionist
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Illusionist" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "French" . } UNION { ?e <pred:name> "Madagascar" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "75000000"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: French
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: The Illusionist
function: And
dependencies: 1
2
function: Find
inputs: Madagascar
function: FilterNum
dependencies: 4
inputs: cost
75000000 United States dollar
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less