Question: Which one, Quincy (the one whose number of seasons is 8) or The Adventures of Tintin (the one that origins from Canada), has fewer number of seasons?
Choices:
South Park
The Adventures of Tintin
Phineas and Ferb
Tiny Toon Adventures
Robot Chicken
Aladdin
Batman Beyond
Quincy
The Venture Bros.
The Cleveland Show
Answer: The Adventures of Tintin
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Quincy" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "8"^^xsd:double . } UNION { ?e <pred:name> "The Adventures of Tintin" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Canada" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Quincy
function: FilterNum
dependencies: 0
inputs: number of seasons
8
=
function: Find
inputs: Canada
function: Relate
dependencies: 2
inputs: country of origin
backward
function: Find
inputs: The Adventures of Tintin
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: number of seasons
less