Question: Does City of Angels (that has Vivica A. Fox as a cast member) or Versailles (that is filmed in Canada) have fewer seasons?
Choices:
Dancing with the Stars
City of Angels
Game of Thrones
Bleak House
Saturday Night's Main Event
Seinfeld
American Horror Story
Phineas and Ferb
Six Feet Under
Versailles
Program:
function: Find
inputs: Vivica A. Fox
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: City of Angels
function: And
dependencies: 1
2
function: Find
inputs: Canada
function: Relate
dependencies: 4
inputs: filming location
backward
function: Find
inputs: Versailles
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: number of seasons
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "City of Angels" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Vivica A. Fox" .   } UNION { ?e <pred:name> "Versailles" . ?e <filming_location> ?e_2 . ?e_2 <pred:name> "Canada" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: City of Angels