Question: Is the season count higher for 24, with Daniel Dae Kim as a cast member, or Jane Eyre, with 4 episodes ?
Choices:
Dancing with the Stars
Game of Thrones
Bleak House
American Horror Story
Saturday Night's Main Event
Six Feet Under
Phineas and Ferb
Jane Eyre
Seinfeld
24
Answer: 24
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "24" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Daniel Dae Kim" . } UNION { ?e <pred:name> "Jane Eyre" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "4"^^xsd:double . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Daniel Dae Kim
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: 24
function: And
dependencies: 1
2
function: Find
inputs: Jane Eyre
function: FilterNum
dependencies: 4
inputs: number of episodes
4
=
function: SelectBetween
dependencies: 3
5
inputs: number of seasons
greater