Question: Which film series has a number of seasons greater than 0?
Choices:
Phineas and Ferb
Alien
Law & Order: Criminal Intent
The Waltons
Law & Order: Special Victims Unit
The Firm
Dumb and Dumber
Why We Fight
From the Earth to the Moon
Looney Tunes
Answer: Looney Tunes
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film series" . ?e <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "0"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of seasons
0
>
function: FilterConcept
dependencies: 1
inputs: film series
function: What
dependencies: 2