Question: Does I Spy (the one that uses the language English) or Charmed (the one whose start time is 1998-10-07) have lesser duration ?
Choices:
I Spy
Robot Chicken
Game of Thrones
Phineas and Ferb
Bleak House
Six Feet Under
Charmed
American Horror Story
Dancing with the Stars
Seinfeld
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: I Spy
function: And
dependencies: 1
2
function: Find
inputs: Charmed
function: FilterDate
dependencies: 4
inputs: start time
1998-10-07
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "I Spy" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" . } UNION { ?e <pred:name> "Charmed" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "1998-10-07"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Charmed