Question: Does Pretty Little Liars (that is originally aired on Freeform) or Paris (whose narrative location is Los Angeles) have more seasons?
Choices:
Paris
Seinfeld
Six Feet Under
Bleak House
Phineas and Ferb
Game of Thrones
American Horror Story
Saturday Night's Main Event
Robot Chicken
Pretty Little Liars
Answer: Pretty Little Liars
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pretty Little Liars" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "Freeform" .   } UNION { ?e <pred:name> "Paris" . ?e <narrative_location> ?e_2 . ?e_2 <pred:name> "Los Angeles" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Freeform
function: Relate
dependencies: 0
inputs: original network
backward
function: Find
inputs: Pretty Little Liars
function: And
dependencies: 1
2
function: Find
inputs: Los Angeles
function: Relate
dependencies: 4
inputs: narrative location
backward
function: Find
inputs: Paris
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: number of seasons
greater