Question: Is "The Rocketeer," featuring Jennifer Connelly, or "The Chronicles of Narnia: Prince Caspian," which was published on July 31, 2008, longer?
Choices: G-Force
National Treasure: Book of Secrets
Old Dogs
Alvin and the Chipmunks: Chipwrecked
The Chronicles of Narnia: Prince Caspian
The Rocketeer
The Muppets
John Carter
Holes
The Flintstones
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Rocketeer" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Jennifer Connelly" . } UNION { ?e <pred:name> "The Chronicles of Narnia: Prince Caspian" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2008-07-31"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Jennifer Connelly
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Rocketeer
function: And
dependencies: 1
2
function: Find
inputs: The Chronicles of Narnia: Prince Caspian
function: FilterDate
dependencies: 4
inputs: publication date
2008-07-31
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater
Answer: The Chronicles of Narnia: Prince Caspian