Question: Does The Fall (that has 17 episodes) or Jane Eyre (that is 260 minutes long) have more episodes?
Choices:
Dancing with the Stars
Seinfeld
Robot Chicken
Jane Eyre
American Horror Story
Game of Thrones
Saturday Night's Main Event
Phineas and Ferb
Bleak House
The Fall
Program:
function: Find
inputs: The Fall
function: FilterNum
dependencies: 0
inputs: number of episodes
17
=
function: Find
inputs: Jane Eyre
function: FilterNum
dependencies: 2
inputs: duration
260 minute
=
function: SelectBetween
dependencies: 1
3
inputs: number of episodes
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Fall" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "17"^^xsd:double . } UNION { ?e <pred:name> "Jane Eyre" . ?e <duration> ?pv_2 . ?pv_2 <pred:unit> "minute" . ?pv_2 <pred:value> "260"^^xsd:double . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Fall