Question: Is the run-time longer for the 3-season I Spy show or for Gulliver's Travels, which clocks in at 180 minutes?
Choices:
I Spy
The Civil War
Gulliver's Travels
Roots
The Stand
George Washington
Edge of Darkness
The Pacific
The Diary of Anne Frank
Battlestar Galactica
Program:
function: Find
inputs: I Spy
function: FilterNum
dependencies: 0
inputs: number of seasons
3
=
function: Find
inputs: Gulliver's Travels
function: FilterNum
dependencies: 2
inputs: duration
180 minute
=
function: SelectBetween
dependencies: 1
3
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "I Spy" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "3"^^xsd:double . } UNION { ?e <pred:name> "Gulliver's Travels" . ?e <duration> ?pv_2 . ?pv_2 <pred:unit> "minute" . ?pv_2 <pred:value> "180"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Gulliver's Travels