Question: Does Chuck (that has Rachel Bilson as a cast member) or Minority Report (whose Giphy username is minority-report) have fewer episodes?
Choices:
Minority Report
Robot Chicken
American Horror Story
Dancing with the Stars
Seinfeld
Game of Thrones
Saturday Night's Main Event
Bleak House
Six Feet Under
Phineas and Ferb
Answer: Minority Report
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chuck" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Rachel Bilson" . } UNION { ?e <pred:name> "Minority Report" . ?e <Giphy_username> ?pv_1 . ?pv_1 <pred:value> "minority-report" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Rachel Bilson
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Chuck
function: And
dependencies: 1
2
function: Find
inputs: Minority Report
function: FilterStr
dependencies: 4
inputs: Giphy username
minority-report
function: SelectBetween
dependencies: 3
5
inputs: number of episodes
less