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