Question: Which show has more episodes, Anger Management (the one whose official website is http://www.fxnetworks.com/shows/originals/angermanagement/) or Star Trek: The Next Generation (the one that has the series spin-off Star Trek: Deep Space Nine)?
Choices:
Anger Management
American Horror Story
Bleak House
Phineas and Ferb
Saturday Night's Main Event
Star Trek: The Next Generation
Six Feet Under
Game of Thrones
Seinfeld
Dancing with the Stars
Answer: Star Trek: The Next Generation
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Anger Management" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.fxnetworks.com/shows/originals/angermanagement/" . } UNION { ?e <pred:name> "Star Trek: The Next Generation" . ?e <series_spin-off> ?e_1 . ?e_1 <pred:name> "Star Trek: Deep Space Nine" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Anger Management
function: FilterStr
dependencies: 0
inputs: official website
http://www.fxnetworks.com/shows/originals/angermanagement/
function: Find
inputs: Star Trek: Deep Space Nine
function: Relate
dependencies: 2
inputs: series spin-off
backward
function: Find
inputs: Star Trek: The Next Generation
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: number of episodes
greater