Question: Out of the works that contain Batman, the notable work of Bill Finger, which is the longest?
Choices:
Batman Returns
Batman
Rebecca
Batman & Robin
Batman
Batman Begins
The Dark Knight
The Dark Knight Rises
Batman Forever
A Prairie Home Companion
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_2 <notable_work> ?e_1 . ?e_2 <pred:name> "Bill Finger" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Bill Finger
function: Relate
dependencies: 0
inputs: notable work
forward
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
largest