Question: Which has fewer seasons, Working Girl whose end time is 1990-08-27 or South Park that derives South Park: Bigger, Longer & Uncut?
Choices: Phineas and Ferb
American Horror Story
Game of Thrones
Seinfeld
Working Girl
Six Feet Under
South Park
Saturday Night's Main Event
Robot Chicken
Dancing with the Stars
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Working Girl" . ?e <end_time> ?pv_1 . ?pv_1 <pred:date> "1990-08-27"^^xsd:date . } UNION { ?e <pred:name> "South Park" . ?e_1 <based_on> ?e . ?e_1 <pred:name> "South Park: Bigger, Longer & Uncut" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Working Girl
function: FilterDate
dependencies: 0
inputs: end time
1990-08-27
=
function: Find
inputs: South Park: Bigger, Longer & Uncut
function: Relate
dependencies: 2
inputs: based on
forward
function: Find
inputs: South Park
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: number of seasons
less
Answer: Working Girl