Question: Which show has fewer episodes, Anger Management (the one whose start time is 2012-06-28) or Street Fighter II V?
Choices:
Anger Management
Seinfeld
Street Fighter II V
Saturday Night's Main Event
Dancing with the Stars
Bleak House
Game of Thrones
Phineas and Ferb
American Horror Story
Robot Chicken
Program:
function: Find
inputs: Anger Management
function: FilterDate
dependencies: 0
inputs: start time
2012-06-28
=
function: Find
inputs: Street Fighter II V
function: SelectBetween
dependencies: 1
2
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Anger Management" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "2012-06-28"^^xsd:date . } UNION { ?e <pred:name> "Street Fighter II V" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Street Fighter II V