Question: Does Scarlett (whose start date is 1994-11-13) or The Bourne Identity (that has Richard Chamberlain as a cast member) have more episodes?
Choices:
A Streetcar Named Desire
Shackleton
The Three Musketeers
The Challenge
The Goodbye Girl
All Quiet on the Western Front
The Bourne Identity
The Music Man
A Christmas Carol
Scarlett
Answer: Scarlett
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Scarlett" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "1994-11-13"^^xsd:date . } UNION { ?e <pred:name> "The Bourne Identity" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Richard Chamberlain" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Scarlett
function: FilterDate
dependencies: 0
inputs: start time
1994-11-13
=
function: Find
inputs: Richard Chamberlain
function: Relate
dependencies: 2
inputs: cast member
backward
function: Find
inputs: The Bourne Identity
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: number of episodes
greater