Question: Out of the derivative works of Hulk in English, which is the shortest?
Choices:
Hulk
Pleasantville
Training Day
The Hunchback of Notre Dame
Rebecca
Curse of the Golden Flower
The Incredible Hulk
The Towering Inferno
The Fifth Element
Talk to Her
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: languages spoken, written or signed
backward
function: Find
inputs: Hulk
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: derivative work
forward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: SelectAmong
dependencies: 5
inputs: duration
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> "Hulk" . ?e_1 <languages_spoken,_written_or_signed> ?e_2 . ?e_2 <pred:name> "English" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Incredible Hulk