Question: Of feature films with a story set in the Paris where Henri Bergson was born, which has the shortest run-time?
Choices:
The Muppets
John Carter
G-Force
National Treasure: Book of Secrets
The Flintstones
Old Dogs
The Flintstones in Viva Rock Vegas
Alvin and the Chipmunks: Chipwrecked
Holes
The Hunchback of Notre Dame
Program:
function: Find
inputs: Henri Bergson
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Paris
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: narrative location
backward
function: FilterConcept
dependencies: 4
inputs: feature film
function: SelectAmong
dependencies: 5
inputs: duration
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "feature film" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Paris" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> "Henri Bergson" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Muppets