Question: Which is shortest of the news that contains Stephen Colbert (the one that presents in work The Daily Show)?
Choices:
Good Morning America
Today
manufacturing
Android
Western Desert Campaign
The Daily Show
Orange
The Colbert Report
Second Intifada
Napoleonic Wars
Answer: The Daily Show
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "news" . ?e_1 <present_in_work> ?e . ?e_1 <pred:name> "Stephen Colbert" . ?e_1 <present_in_work> ?e_2 . ?e_2 <pred:name> "The Daily Show" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Daily Show
function: Relate
dependencies: 0
inputs: present in work
backward
function: Find
inputs: Stephen Colbert
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: present in work
forward
function: FilterConcept
dependencies: 4
inputs: news
function: SelectAmong
dependencies: 5
inputs: duration
smallest