Question: Regarding a visual artworks titled Cairo, which one is the shortest ?
Choices:
Talk to Her
Pleasantville
A Prairie Home Companion
Cairo
Rebecca
Cairo
The Towering Inferno
Training Day
The Fifth Element
Curse of the Golden Flower
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Cairo
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: SelectAmong
dependencies: 2
inputs: duration
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Cairo" . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Cairo