Question: How many comedies are Primetime Emmy winners for Outstanding Comedy Series or are titled The Golden Girls?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "comedy" .  { ?e <award_received> ?e_1 . ?e_1 <pred:name> "Primetime Emmy Award for Outstanding Comedy Series" .  } UNION { ?e <title> ?pv . ?pv <pred:value> "The Golden Girls" .  } }
Program:
function: Find
inputs: Primetime Emmy Award for Outstanding Comedy Series
function: Relate
dependencies: 0
inputs: award received
backward
function: FilterConcept
dependencies: 1
inputs: comedy
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
The Golden Girls
function: FilterConcept
dependencies: 4
inputs: comedy
function: Or
dependencies: 2
5
function: Count
dependencies: 6