Question: How many theatrical genres originally aired on the American Broadcasting Company or have the title The Golden Girls?
Choices: 2
3
4
5
6
7
8
9
10
11
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> "American Broadcasting Company" .  } UNION { ?e <title> ?pv . ?pv <pred:value> "The Golden Girls" .  } }
Program:
function: Find
inputs: American Broadcasting Company
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
Answer: 2