Question: Of visual artworks that comprise Batman, published in 1989, which is the longest?
Choices:
Batman
Batman & Robin
Rebecca
Batman Returns
The Fifth Element
Batman Forever
Pleasantville
Talk to Her
A Prairie Home Companion
Training Day
Program:
function: Find
inputs: Batman
function: FilterYear
dependencies: 0
inputs: publication date
1989
=
function: Relate
dependencies: 1
inputs: has part
forward
function: FilterConcept
dependencies: 2
inputs: visual artwork
function: SelectAmong
dependencies: 3
inputs: duration
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e_1 <has_part> ?e . ?e_1 <pred:name> "Batman" . ?e_1 <publication_date> ?pv_1 . ?pv_1 <pred:year> 1989 . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Batman Returns