Question: Which show has fewer episodes, Dynasty (the one that is originally aired on The CW) or Sleepy Hollow (the one whose duration is 45 minute)?
Choices:
Robot Chicken
Dynasty
Game of Thrones
Sleepy Hollow
Saturday Night's Main Event
Phineas and Ferb
American Horror Story
Seinfeld
Dancing with the Stars
Six Feet Under
Program:
function: Find
inputs: The CW
function: Relate
dependencies: 0
inputs: original network
backward
function: Find
inputs: Dynasty
function: And
dependencies: 1
2
function: Find
inputs: Sleepy Hollow
function: FilterNum
dependencies: 4
inputs: duration
45 minute
=
function: SelectBetween
dependencies: 3
5
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dynasty" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "The CW" . } UNION { ?e <pred:name> "Sleepy Hollow" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "45"^^xsd:double . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Dynasty