Question: Does Sherlock Holmes (the one whose inception time is 2013-01-01) or South Park (the one that has Meat Loaf as a voice actor) have the lesser number of episodes?
Choices:
The Diary of Anne Frank
The Ten Commandments
Battlestar Galactica
The Stand
Sherlock Holmes
The Civil War
George Washington
South Park
Edge of Darkness
The Pacific
Program:
function: Find
inputs: Sherlock Holmes
function: FilterDate
dependencies: 0
inputs: inception
2013-01-01
=
function: Find
inputs: Meat Loaf
function: Relate
dependencies: 2
inputs: voice actor
backward
function: Find
inputs: South Park
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sherlock Holmes" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> "2013-01-01"^^xsd:date . } UNION { ?e <pred:name> "South Park" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Meat Loaf" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Sherlock Holmes