Question: How many television genres use English as their original language or are in the same genre as General Hospital?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television genre" .  { ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "English" .  } UNION { ?e_1 <genre> ?e . ?e_1 <pred:name> "General Hospital" .  } }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: FilterConcept
dependencies: 1
inputs: television genre
function: Find
inputs: General Hospital
function: Relate
dependencies: 3
inputs: genre
forward
function: FilterConcept
dependencies: 4
inputs: television genre
function: Or
dependencies: 2
5
function: Count
dependencies: 6