Question: Among the television series that contains Oz (a citizen of the United States of America), which has the smallest number of episodes?
Choices:
Saturday Night's Main Event
Six Feet Under
Seinfeld
Angel
Robot Chicken
American Horror Story
Phineas and Ferb
Dancing with the Stars
Bleak House
Game of Thrones
Answer: Angel
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e_1 <present_in_work> ?e . ?e_1 <pred:name> "Oz" . ?e_1 <country_of_citizenship> ?e_2 . ?e_2 <pred:name> "United States of America" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Oz
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: present in work
forward
function: FilterConcept
dependencies: 4
inputs: television series
function: SelectAmong
dependencies: 5
inputs: number of episodes
smallest