Question: Which movie is longer, The Wrestler (the one whose duration is 95 minute) or Marie Antoinette (the one that has Milena Canonero as a costume designer)?
Choices:
The Wrestler
Curse of the Golden Flower
A Prairie Home Companion
Rebecca
The Towering Inferno
Pleasantville
The Fifth Element
The Hunchback of Notre Dame
Training Day
Marie Antoinette
Program:
function: Find
inputs: The Wrestler
function: FilterNum
dependencies: 0
inputs: duration
95 minute
=
function: Find
inputs: Milena Canonero
function: Relate
dependencies: 2
inputs: costume designer
backward
function: Find
inputs: Marie Antoinette
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Wrestler" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "95"^^xsd:double . } UNION { ?e <pred:name> "Marie Antoinette" . ?e <costume_designer> ?e_1 . ?e_1 <pred:name> "Milena Canonero" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Marie Antoinette