Question: How many comedies are that that have a cast member named Betty White or the subreddit theGoldenGirls?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Betty White
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: comedy
function: FindAll
function: FilterStr
dependencies: 3
inputs: subreddit
theGoldenGirls
function: FilterConcept
dependencies: 4
inputs: comedy
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "comedy" .  { ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Betty White" .  } UNION { ?e <subreddit> ?pv . ?pv <pred:value> "theGoldenGirls" .  } }
Answer: 1