Question: Which movie is shorter, Invincible (the one whose release region is United States of America) or Wallace & Gromit: The Curse of the Were-Rabbit (the one whose publication date is 2005-10-13)?
Choices:
Wallace & Gromit: The Curse of the Were-Rabbit
Invincible
The Muppets
Holes
Alvin and the Chipmunks: Chipwrecked
Old Dogs
The Flintstones in Viva Rock Vegas
National Treasure: Book of Secrets
G-Force
John Carter
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Invincible
function: And
dependencies: 1
2
function: Find
inputs: Wallace & Gromit: The Curse of the Were-Rabbit
function: FilterDate
dependencies: 4
inputs: publication date
2005-10-13
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Invincible" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "United States of America" . } UNION { ?e <pred:name> "Wallace & Gromit: The Curse of the Were-Rabbit" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2005-10-13"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Wallace & Gromit: The Curse of the Were-Rabbit