Question: Does Drive (the one whose number of seasons is 1) or Back to the Future (the one whose duration is 25 minute) have less number of seasons ?
Choices: American Horror Story
Drive
Seinfeld
Saturday Night's Main Event
Bleak House
Game of Thrones
Robot Chicken
Back to the Future
Dancing with the Stars
Phineas and Ferb
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Drive" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "1"^^xsd:double . } UNION { ?e <pred:name> "Back to the Future" . ?e <duration> ?pv_2 . ?pv_2 <pred:unit> "minute" . ?pv_2 <pred:value> "25"^^xsd:double . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Drive
function: FilterNum
dependencies: 0
inputs: number of seasons
1
=
function: Find
inputs: Back to the Future
function: FilterNum
dependencies: 2
inputs: duration
25 minute
=
function: SelectBetween
dependencies: 1
3
inputs: number of seasons
less
Answer: Drive