Question: Which newscast claiming a cast member named Stephen Colbert (whose occupation is voice actor) has the shortest runtime?
Choices:
The Daily Show
Western Desert Campaign
The Colbert Report
Second Intifada
manufacturing
Good Morning America
Today
Napoleonic Wars
FreeBSD
Android
Answer: The Daily Show
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "newscast" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Stephen Colbert" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "voice actor" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: voice actor
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Stephen Colbert
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: newscast
function: SelectAmong
dependencies: 5
inputs: duration
smallest