Question: Which movie is longest among the newscast that contains Stephen Colbert (the one that is educated at Dartmouth College)?
Choices:
Good Morning America
manufacturing
The Colbert Report
FreeBSD
Napoleonic Wars
Western Desert Campaign
Second Intifada
Orange
Android
Today
Answer: The Colbert Report
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "newscast" . ?e_1 <present_in_work> ?e . ?e_1 <pred:name> "Stephen Colbert" . ?e_1 <educated_at> ?e_2 . ?e_2 <pred:name> "Dartmouth College" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Dartmouth College
function: Relate
dependencies: 0
inputs: educated at
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: newscast
function: SelectAmong
dependencies: 5
inputs: duration
largest