Question: Which one is shortest among the movies with Batman, created by Bob Kane?
Choices:
Training Day
Batman
The Dark Knight
A Prairie Home Companion
Batman Begins
The Towering Inferno
Rebecca
The Dark Knight Rises
The Fifth Element
Talk to Her
Program:
function: Find
inputs: Bob Kane
function: Relate
dependencies: 0
inputs: creator
backward
function: Find
inputs: Batman
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: characters
backward
function: FilterConcept
dependencies: 4
inputs: film
function: SelectAmong
dependencies: 5
inputs: duration
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <characters> ?e_1 . ?e_1 <pred:name> "Batman" . ?e_1 <creator> ?e_2 . ?e_2 <pred:name> "Bob Kane" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Batman