Question: Which television series has less than 60 seasons and received a Primetime Emmy Award for Outstanding Lead Actress in a Comedy Series (won by Jean Stapleton)?
Choices: Dancing with the Stars
Seinfeld
Friends
Game of Thrones
Bleak House
Saturday Night's Main Event
American Horror Story
Phineas and Ferb
Robot Chicken
All in the Family
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 < "60"^^xsd:double ) . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Primetime Emmy Award for Outstanding Lead Actress in a Comedy Series" . [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <winner> ?qpv . ?qpv <pred:value> "Jean Stapleton" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of seasons
60
<
function: FilterConcept
dependencies: 1
inputs: television series
function: Find
inputs: Primetime Emmy Award for Outstanding Lead Actress in a Comedy Series
function: Relate
dependencies: 3
inputs: award received
backward
function: QFilterStr
dependencies: 4
inputs: winner
Jean Stapleton
function: FilterConcept
dependencies: 5
inputs: television series
function: And
dependencies: 2
6
function: What
dependencies: 7
Answer: All in the Family