Question: Among the visual artworks containing Batman (the one giving the basis to Batman Beyond), which one is the shortest ?
Choices:
Batman Forever
The Dark Knight
Batman Begins
Batman
Batman
The Dark Knight Rises
Pleasantville
A Prairie Home Companion
Batman Returns
Batman & Robin
Answer: Batman
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e_1 <present_in_work> ?e . ?e_1 <pred:name> "Batman" . ?e_1 <derivative_work> ?e_2 . ?e_2 <pred:name> "Batman Beyond" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Batman Beyond
function: Relate
dependencies: 0
inputs: derivative work
backward
function: Find
inputs: Batman
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: present in work
forward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: SelectAmong
dependencies: 5
inputs: duration
smallest