Question: Does Mildred Pierce (the one that has Kate Winslet as a cast member) or Dynasty (the one whose start time is 2017-10-11) have the less number of episodes?
Choices:
George Washington
Battlestar Galactica
Dynasty
The Stand
The Ten Commandments
The Pacific
Edge of Darkness
Roots
The Diary of Anne Frank
Mildred Pierce
Answer: Mildred Pierce
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mildred Pierce" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Kate Winslet" . } UNION { ?e <pred:name> "Dynasty" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "2017-10-11"^^xsd:date . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Kate Winslet
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Mildred Pierce
function: And
dependencies: 1
2
function: Find
inputs: Dynasty
function: FilterDate
dependencies: 4
inputs: start time
2017-10-11
=
function: SelectBetween
dependencies: 3
5
inputs: number of episodes
less