Question: How many theatrical genres titled The Golden Girls originally aired on NBC?
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> "theatrical genre" .  { ?e <original_network> ?e_1 . ?e_1 <pred:name> "NBC" .  } UNION { ?e <title> ?pv . ?pv <pred:value> "The Golden Girls" .  } }
Program:
function: Find
inputs: NBC
function: Relate
dependencies: 0
inputs: original network
backward
function: FilterConcept
dependencies: 1
inputs: theatrical genre
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
The Golden Girls
function: FilterConcept
dependencies: 4
inputs: theatrical genre
function: Or
dependencies: 2
5
function: Count
dependencies: 6