Question: Is the number of episodes less for Julius Caesar (the one that uses the language English) or Scarlett (the one whose end time is 1994)?
Choices:
The Three Musketeers
Julius Caesar
The Music Man
The Goodbye Girl
A Streetcar Named Desire
Shackleton
Scarlett
The Challenge
The Late Shift
A Christmas Carol
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Julius Caesar
function: And
dependencies: 1
2
function: Find
inputs: Scarlett
function: FilterYear
dependencies: 4
inputs: end time
1994
=
function: SelectBetween
dependencies: 3
5
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Julius Caesar" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" . } UNION { ?e <pred:name> "Scarlett" . ?e <end_time> ?pv_1 . ?pv_1 <pred:year> 1994 . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Julius Caesar