Question: Which one, National Treasure: Book of Secrets or The Flintstones (the one that has Kathleen Kennedy as an executive producer), has less duration?
Choices:
G-Force
Old Dogs
The Flintstones
The Muppets
The Flintstones in Viva Rock Vegas
Gulliver's Travels
Enchanted
Alvin and the Chipmunks: Chipwrecked
National Treasure: Book of Secrets
Holes
Program:
function: Find
inputs: National Treasure: Book of Secrets
function: Find
inputs: Kathleen Kennedy
function: Relate
dependencies: 1
inputs: executive producer
backward
function: Find
inputs: The Flintstones
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "National Treasure: Book of Secrets" .  } UNION { ?e <pred:name> "The Flintstones" . ?e <executive_producer> ?e_1 . ?e_1 <pred:name> "Kathleen Kennedy" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Flintstones