Question: Which television series has a number of seasons greater than 0 and the title of City of Angels?
Choices:
City of Angels
The Surreal Life
Game of Thrones
Saturday Night's Main Event
Bleak House
American Horror Story
Late Show with David Letterman
Grey's Anatomy
Mad Men
Robot Chicken
Answer: City of Angels
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "0"^^xsd:double ) . ?e <title> ?pv_1 . ?pv_1 <pred:value> "City of Angels" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of seasons
0
>
function: FilterConcept
dependencies: 1
inputs: television series
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
City of Angels
function: FilterConcept
dependencies: 4
inputs: television series
function: And
dependencies: 2
5
function: What
dependencies: 6