Question: Which visual artwork scripted by Aaron Sorkin is longest in run-time?
Choices:
A Prairie Home Companion
Pleasantville
The Social Network
A Few Good Men
The Rock
Moneyball
Rebecca
Charlie Wilson's War
Steve Jobs
The Fifth Element
Program:
function: Find
inputs: Aaron Sorkin
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: SelectAmong
dependencies: 2
inputs: duration
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> "Aaron Sorkin" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: A Few Good Men