Question: Which has more episodes, Minority Report that has 1 season or Project Runway?
Choices:
Game of Thrones
American Horror Story
Minority Report
Project Runway
Dancing with the Stars
Saturday Night's Main Event
Bleak House
Six Feet Under
Robot Chicken
Phineas and Ferb
Program:
function: Find
inputs: Minority Report
function: FilterNum
dependencies: 0
inputs: number of seasons
1
=
function: Find
inputs: Project Runway
function: SelectBetween
dependencies: 1
2
inputs: number of episodes
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Minority Report" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "1"^^xsd:double . } UNION { ?e <pred:name> "Project Runway" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Project Runway