Question: Which is the shortest among the feature films whose narrative location is London that contains Italia Conti Academy of Theatre Arts?
Choices:
Pirates of the Caribbean: On Stranger Tides
The Chronicles of Narnia: The Lion, the Witch and the Wardrobe
Bedknobs and Broomsticks
Around the World in 80 Days
Harry Potter and the Prisoner of Azkaban
Old Dogs
National Treasure: Book of Secrets
G-Force
The Parent Trap
Hook
Answer: Bedknobs and Broomsticks
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "feature film" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "London" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Italia Conti Academy of Theatre Arts" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Italia Conti Academy of Theatre Arts
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: London
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