Question: Are there more seasons in the English version of Rome or in the 23 minute Avatar: The Last Airbender?
Choices:
Batman Beyond
Robot Chicken
The Venture Bros.
Avatar: The Last Airbender
The Cleveland Show
South Park
Tiny Toon Adventures
Phineas and Ferb
American Dad!
Rome
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Rome
function: And
dependencies: 1
2
function: Find
inputs: Avatar: The Last Airbender
function: FilterNum
dependencies: 4
inputs: duration
23 minute
=
function: SelectBetween
dependencies: 3
5
inputs: number of seasons
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rome" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" . } UNION { ?e <pred:name> "Avatar: The Last Airbender" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "23"^^xsd:double . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Avatar: The Last Airbender