Question: Which one has the smallest duration among the characteristic movie that particularly depicts pirate.
Choices:
G-Force
Pirates of the Caribbean: The Curse of the Black Pearl
The Muppets
Holes
The Flintstones in Viva Rock Vegas
Pirates of the Caribbean: Dead Man's Chest
National Treasure: Book of Secrets
John Carter
Alvin and the Chipmunks: Chipwrecked
Old Dogs
Answer: Pirates of the Caribbean: The Curse of the Black Pearl
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "feature film" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "pirate" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: pirate
function: Relate
dependencies: 0
inputs: main subject
backward
function: FilterConcept
dependencies: 1
inputs: feature film
function: SelectAmong
dependencies: 2
inputs: duration
smallest