Question: Which movie is longer, Harry Potter and the Prisoner of Azkaban (the one whose cost is 130000000 United States dollar) or Bedknobs and Broomsticks?
Choices: Holes
John Carter
The Flintstones in Viva Rock Vegas
The Flintstones
Old Dogs
National Treasure: Book of Secrets
Alvin and the Chipmunks: Chipwrecked
G-Force
Bedknobs and Broomsticks
Harry Potter and the Prisoner of Azkaban
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Harry Potter and the Prisoner of Azkaban" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "130000000"^^xsd:double . } UNION { ?e <pred:name> "Bedknobs and Broomsticks" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Harry Potter and the Prisoner of Azkaban
function: FilterNum
dependencies: 0
inputs: cost
130000000 United States dollar
=
function: Find
inputs: Bedknobs and Broomsticks
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
Answer: Harry Potter and the Prisoner of Azkaban