Question: Were there less seasons in Dallas (with three seasons) or Dynasty (with Billy Dee Williams)?
Choices: Seinfeld
Phineas and Ferb
Robot Chicken
Dynasty
Dancing with the Stars
Game of Thrones
American Horror Story
Saturday Night's Main Event
Six Feet Under
Dallas
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dallas" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "3"^^xsd:double . } UNION { ?e <pred:name> "Dynasty" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Billy Dee Williams" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Dallas
function: FilterNum
dependencies: 0
inputs: number of seasons
3
=
function: Find
inputs: Billy Dee Williams
function: Relate
dependencies: 2
inputs: cast member
backward
function: Find
inputs: Dynasty
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: number of seasons
less
Answer: Dallas