Question: Of TV series directed by Tim Van Patten, which has the most seasons?
Choices:
American Horror Story
Seinfeld
Bleak House
Pasadena
Rome
Game of Thrones
Saturday Night's Main Event
Dancing with the Stars
Six Feet Under
The Pacific
Program:
function: Find
inputs: Tim Van Patten
function: Relate
dependencies: 0
inputs: director
backward
function: FilterConcept
dependencies: 1
inputs: television series
function: SelectAmong
dependencies: 2
inputs: number of seasons
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <director> ?e_1 . ?e_1 <pred:name> "Tim Van Patten" .  ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Rome